Hi mallard,
Another possibility might be to hard-code, in the 'tell application ...' statement, the full pathname of the preferred copy of the "GAME" app, using the standard colon-separated pathname format -- e.g., 'tell application "MyVolume:MyFolder:MySubfolder:GAME" to ...'. However, note that this approach would be less flexible than Yuril419's above suggestion of using a unique app-name, as it may break if you ever move the preferred copy of the "GAME" app to a new location.
An alternative possibility that wouldn't require specifying a full pathname might be to keep the launcher applet in the same folder as the preferred copy of the "GAME" app. (You could then keep an alias of the applet in a more convenient location.) That way, since AppleScript is supposed to look for the app first in the "current directory", it
should always pick the applet's sibling "GAME" app. [
Update 2001/02/09:- Hmmm, according to Apple, this approach might also be problematic. Chapter 5, "Objects and References" of Apple's official
AppleScript Language Guide mentions that the "current directory" may be affected by the settings in (the 'Documents' section of) the General Controls control panel.]
Regards,
--Paul
[This message has been edited by Paul Crawford (edited 02-09-2001).]