Launch Application full-screen
Launch Application full-screen
- Subject: Launch Application full-screen
- From: jscriven <email@hidden>
- Date: Thu, 23 Jul 2009 17:59:27 -0400
- Acceptlanguage: en-US
- Thread-topic: Launch Application full-screen
I have an educational App (Kidworks) that normally launches full screen when you double-click on it. I need to create an applescript to mount a shared network volume, and then launch the application. So far, I can mount the drive, but my attempts to launch the app have failed.
1st Attempt...
try
set MountString to "afp://myserver.blah.org/Kidworks"
mount volume MountString as user name "ElemStudent" with password "blahblah"
on error
-- ...
end try
tell application "Finder"
open application file "Kid Works Deluxe.app" of folder "Kid Works Deluxe" of folder "Applications" of startup disk
end tell
The first try worked on the local administrator account, but refused to run on a non-admin account (just flashes)
2nd Attempt...
try
set MountString to "afp://myserver.blah.org/Kidworks"
mount volume MountString as user name "ElemStudent" with password "blahblah"
on error
-- ...
end try
tell application "/Applications/Kid Works Deluxe/Kid Works Deluxe.app"
activate
end tell
The second try launched the application in the background, and didn't come up fullscreen. I didn't even try it on the non-admin account.
Any help would be greatly appreciated. Thanks, Julie
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden