Hiding a nonRev file in a Windows Standalone

Phil Davis revdev at pdslabs.net
Mon Mar 26 14:39:15 EDT 2007


Hi Bob, Charles,

Rather than putting an RTF file into a field, I would put it into a custom 
property. That way you don't have any risk of it being changed to conform to any 
requirements the field might place on it to make it displayable (even though the 
field is hidden).

If it's stored in a custom prop, your app can then write it to disk when needed.

Some years ago I did this with an application needed by my Metacard app. My app 
retrieved the other app from a custom property, wrote it to disk, used it, then 
deleted it when done. Worked great. That was on Unix but it shouldn't make any 
diff what platform. (Famous last words!)

FWIW -
Phil Davis



Bob Warren wrote:
> Charles Szasz wrote:
> 
>> How do you hide a nonRev file in a Windows Standalone?  I have a RTF  
> template that I want to hide so it won't be corrupted by the user.
> 
> ------------------------------------------
> Hi Charles,
> 
> Why not just put it into a hidden field in your stack? You can then do 
> what you like with it.
> 
> Bob



More information about the use-livecode mailing list