On 8/25/04 8:22 PM, "Scott Morrow" <[EMAIL PROTECTED]> wrote:

> What I would like to do is store an OS X package (osax scripting
> addition) as a custom property in my application so that I can install
> it later onto the user's machine if they require it.  In order to load
> the package I've tried the usual:
> 
> on mouseUp
>    answer file "Select a file:"
>    if it is empty then exit to top
>    put it into tFile
>    put URL("binfile:"&tFile) into tData
>    put compress(tData) into tData
>    set the uOSAX of stack "tester" to tData
> end mouseUp
> 
> the result of trying to read the package is: < error reading file >

Did you try storing the OSAX as a custom property but not compressed? I seem
to remember some issues with compression and custom properties...

Ken Ray
Sons of Thunder Software
Web site: http://www.sonsothunder.com/
Email: [EMAIL PROTECTED]


_______________________________________________
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to