Making a command-line-called app come to the foreground
Making a command-line-called app come to the foreground
- Subject: Making a command-line-called app come to the foreground
- From: Geoff Canyon <email@hidden>
- Date: Wed, 15 Dec 2004 08:04:30 -0800
Does anyone know how to make an application called from the command
line come to the foreground? I have an application that I'm calling
through a shell command. The application opens in the background. At
that point, this applescript does nothing:
tell application "foo" to activate
Likewise this:
tell application "finder" to set the frontmost of application process
"foo" to true
Either of these scripts will work if I simply double-click the app.
It's only if I call it from the command line that it won't budge. I can
even click on the app's window and drag it around, and it still won't
come to the front.
regards,
Geoff Canyon
email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden