Here is a script I use for a project I am working on... I commented out the part that sets the registry so that the progam runs automatically upon computer startup. Even still, you would probably need to tweak it a bit to work for your program.
On Mouseup put the filename of this stack into thisapp put the filename of this stack into thisfilespath replace "/" with "\" in thisapp --get setregistry("HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersio n\Run\Newsautoload", thisapp) --put "Autoload" into field "Registry Status" --send savesettings to this stack create alias (specialfolderpath("start") & "/" & "CDC News Autoload.lnk") to file (thisfilespath) create alias (specialfolderpath("desktop") & "/" & "CDC News Autoload.lnk") to file (thisfilespath) get setRegistry("HKEY_CLASSES_ROOT\.cna\","Autoload daily newsletter") get setRegistry("HKEY_CLASSES_ROOT\Autoload daily newsletter\DefaultIcon\",thisfilespath) get setRegistry("HKEY_CLASSES_ROOT\Autoload daily newsletter\shell\open\command\",thisfilespath) end mouseup -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Paul Salyers Sent: Friday, January 21, 2005 2:06 PM To: How to use Revolution Subject: SpecialFolderPath the specialFolderPath of folderIdentifier specialFolderPath(folderIdentifier) specialFolderPath("Preferences") set the defaultFolder to specialFolderPath("documents") put specialFolderPath("asup") into appSupportFolder -- special constant I need help one last time. :) I found the above code on Rev doc-help section by searching for "Special" but as usually no coding help! can some1 help me with a small stack that will place an icon on the desk top to run the program from the current location. Thank you Paul Salyers PS1 - Senior Rep. [EMAIL PROTECTED] Http://ps1.SoftSeven.org _______________________________________________ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution _______________________________________________ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution