shortcut problems

Mark Schonewille m.schonewille at
Mon Oct 16 06:06:37 EDT 2006

Beste Henk,

You can force the standalone to look into its own folder:

on mouseUp
   set the itemDel to slash
   set the defaultfolder to (item 1 to -2 of the effective filename  
of this stack)
   go stack "Your Stack"
end mouseUp

On Mac OS X you might need to set the defaultfolder to item 1 to -5  
of the effective filename of this stack, depending on where the other  
stacks are located.

You could also change the properties of the shortcuts. Change the  
path called "Start in..." to the path to the standalone. I do not  
completely trust that this works correctly in Revolution though and I  
would recommend setting the defaultFolder.




Consultancy and Software Engineering

Get your store on-line within minutes with Salery Web Store software.  
Download at

Op 16-okt-2006, om 11:47 heeft Henk van der Velden het volgende  

> Good day all,
> One of our apps is installed on a school's local network. The sys  
> admin has created shortcuts to the program on the desktops of all  
> the computers. Double clicking the shortcut will start the program,  
> but the program can't find other stacks it should open.
> The program consists of a stand alone application, which is  
> actually a splash screen with options for the user to select. Each  
> option will open another stack. These other stacks are located in  
> the same folder as the stand alone application.
> We did some testing. It turns out that the program sometimes thinks  
> the defaultURL is the URL of the desktop where the shortcut is  
> located (C:/Documents and Settings/carels/Bureaublad) instead of  
> the folder where the program is located (//Bellefleur/M-schijf/ 
> Leerlingen/de dijk/hardinxveld.exe). How can this be? What can be  
> done about it?
> Kind regards,
> Henk

More information about the use-livecode mailing list