Launching apps in a package...

Hi, another question for the gurus at applescripter.net.

I have a POSIX path, set from this:

set appPath to POSIX path of (path to current application) & "Contents/Resources/wancheckd.app" as string

Which is used to set a login item.

Now, how do I launch that app using the path?

I already tried

launch appPath

But that doesn’t seem to work. It doesn’t do anything at all. Not even an error.

Once you have a valid HFS file path, just tell it to activate…

set thePath to "Macintosh HD:Applications:Chess.app:"
tell application thePath to activate

j

Thanks! That was easy!

First I got the regluar path, then made another string for the POSIX path to set the login item.