HI
In my Xcode project i have all the normal stuff plus 3 apps (TOM Update.app,NEXT-TRACK.app & BACK-TRACK.app)
When my application gets launched all the applications correctly get put in the Resources folder.
I use this code from my application to launch them:
try
set hotKey1 to (path to me as text) & "Contents:Resources:NEXT-TRACK.app"
set hotKey2 to (path to me as text) & "Contents:Resources:BACK-TRACK.app"
set updater to (path to me as text) & "Contents:Resources:TOM Update.app"
tell application "System Events"
open hotKey1
open hotKey2
open updater
end tell
on error
display alert "Tune-O-Matic Launch Failed" message "Tune-O-Matic failed to launch becuase the HOTKEY/UPDATE application wasn't found"
end try
this works well on my computer only (no, it’s not on debug build)
On any other computer the applications simply are not launched with no error message!
The only way to fix it is to go into the Resources folder and open then quit the apps
On the next launch everything works
I think the system is no recognizing the apps until they are opened manually, is there a way i can overcome this?
thanks.