Page 1 of 1

Is it possible...

Posted: Mon Mar 19, 2007 12:52 pm
by BIX
I don't know how to explain this... Is it possible to put some file in a stack? Like in installers.

Posted: Mon Mar 19, 2007 1:01 pm
by Klaus
Hi BIX,

YES!


Best

Klaus Major


P.S.
Just in case you'd like to know how to... ;-)

1. Use Custom Properties to store these (binary) files inside of your stack(s).

2. Use this syntax to read a file into a customproperty (a jpeg file in this case):
...
set the my_stored_file of stack "XYZ" to url("binfile:" & "path_to_your_file.jpg")
...

3. To write it back onto the HD:
...
put the my_stored_file of stack "XYZ" into url("binfile:" & "new_path_to_your_file.jpg")
...

Posted: Mon Mar 19, 2007 1:04 pm
by BIX
Thanks man. :lol:

Posted: Mon Mar 19, 2007 2:14 pm
by Klaus
YO! ;-)