I've never heard of doing that, and I would guess it's not possible to find out the name of the shortcut that launched a program (although I could be wrong). One way to do something similar, though is to use the commandLine. For the application path in your shortcut, put any arguments you want to pass to your app after the executable's name, like "C:\my directory\my app.exe myArg1" (or you may have to put them in a separate pair of quotation marks, I'm not sure which), then once your app launches, you can read those arguments by accessing "the commandLine".

Tom van Gemert wrote:

Hi,

I have a director movie, somewhere on the users system, that is a projector. To start this projector I created
a desktop shortcut (windows). Now my question is, does somebody know if it is posible to read the name ('somefile.lnk')
of the shortcut when the projector is opened (so that it is a lingo variable)? By doing this I could set a variable based on the
shortcut's name, which I would like to use to customize the presentation which is started by the projector.


any clues on how to do this??
Thanks.


--

Charlie Fiskeaux II
Media Designer
Cre8tive Group
cre8tivegroup.com
859/858-9054x29
cell: 859/608-9194



[To remove yourself from this list, or to change to digest mode, go to http://www.penworks.com/lingo-l.cgi To post messages to the list, email [EMAIL PROTECTED] (Problems, email [EMAIL PROTECTED]). Lingo-L is for learning and helping with programming Lingo. Thanks!]

Reply via email to