setRegistry...

MisterX b.xavier at internet.lu
Sun Dec 19 23:23:50 EST 2004


 if you want the quotes you have to include them in the string

like this:

 setRegistry( 
 "HKEY_CLASSES_ROOT\BioArchimed\shell\open\command\", 
quote & "C:\Ba\Ba.exe" & quote && quote & "-E"& quote && quote & "%1"&quote
)
 

> -----Original Message-----
> From: use-revolution-bounces at lists.runrev.com 
> [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of thierry
> Sent: Sunday, December 19, 2004 17:34
> To: How to use Revolution
> Subject: setRegistry...
> 
> Hi,
> 
> need to write this value :
>           "C:\Ba\Ba.exe" "-E" "%1"    in the Registry.
> 
> the function below almost works except for the Quotes !!!
> this is important so -E is in $1 and %1 in $2...
> 
> 
> setRegistry( 
> "HKEY_CLASSES_ROOT\BioArchimed\shell\open\command\", 
> "C:\Ba\Ba.exe -E %1" )
> 
> Any clue
> 
> Best regards, thierry
> 
> 
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> http://lists.runrev.com/mailman/listinfo/use-revolution
> 



More information about the use-livecode mailing list