protecting images in standalone?

Eric Chatonet eric.chatonet at sosmartsoftware.com
Fri May 11 03:14:52 EDT 2007


Hi Robert,

Le 11 mai 07 à 04:22, Robert Mann a écrit :

>  Sounds Like I should try and put the pictures into customproperties I
> created a customproperty for the stack
> ctgfork1
> now how to I put the picture into it, if I open the property  
> inspector I
> only can add text to it? I have looked at the manual for  
> customproperties it
> shows some code to add the picture to the property but can not get  
> it to
> work
> tried this
>
> set the itemdelimiter to slash
>     put the effective filename of this stack into dbPath
>     delete the last item of dbPath
>     put "/ctgfork01.PNG" after dbPath	#
>     set the ctgfork1 of stack "specs" to URL "binfile:dbPath"

set the ctgfork1 of stack "specs" to URL("binfile:" & dbPath)
'binfile' is a text string and 'dbPath' is a variable: they must be  
concatenated :-)

Best regards from Paris,
Eric Chatonet.
----------------------------------------------------------------
http://www.sosmartsoftware.com/
eric.chatonet at sosmartsoftware.com/
----------------------------------------------------------------





More information about the use-livecode mailing list