Lynch, Jonathan BNZ2 at CDC.GOV
Fri Jan 21 14:21:47 EST 2005

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
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
  get setRegistry("HKEY_CLASSES_ROOT\Autoload daily

end mouseup

-----Original Message-----
From: use-revolution-bounces at lists.runrev.com
[mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of Paul
Sent: Friday, January 21, 2005 2:06 PM
To: How to use Revolution
Subject: SpecialFolderPath

the specialFolderPath of folderIdentifier

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
but as usually no coding help!

can some1 help me with a small stack that will place an icon  on the
top to run the program from the current location.

Thank you

Paul Salyers
PS1 - Senior Rep.
PS1 at softseven.org

use-revolution mailing list
use-revolution at lists.runrev.com

More information about the Use-livecode mailing list