I'm trying to write a script that opens a movie that is packaged within the contents of the app on more than one computer. I can easily drag in the path to the movie on my computer but on another computer it wont work and if the app is placed in a folder or something of that sort it will break yet again because the path will change. How do I open the movie contained within the app regardless of where the app is?
Heres my code so far:
tell application "Finder" to set theMovie to "Users:MyName
esktop:Bat Signal.app:Contents:Resources:Bat Signal MOV1.mp4"
tell application "QuickTime Player"
activate
open theMovie
play
end tell
any help would be greatly appreciated
Heres my code so far:
tell application "Finder" to set theMovie to "Users:MyName
tell application "QuickTime Player"
activate
open theMovie
play
end tell
any help would be greatly appreciated