Re: gui scripting - paste script not working
Re: gui scripting - paste script not working
- Subject: Re: gui scripting - paste script not working
- From: Ed Stockly <email@hidden>
- Date: Sun, 8 Jun 2008 11:38:08 -0700
From: email@hidden
Subject: Re: gui scripting - paste script not working
Date: June 8, 2008 9:51:15 AM PDT
To: email@hidden
Vince , you think that it does not paste. It tries but it can't
Your app, the script saved as an app is the frontmost application.
you try to paste, but there is no where to write to.
You want to past it in what app?
Set that App to the front process and it will very likely work.
Here's a couple commands that may help you trouble shoot...
set frontApp to getfrontmostappname()
tell application "System Events"
tell process frontApp
display dialog frontApp
end tell
set myApps to name of every process
choose from list myApps
end tell
Rather than save this script as an app, try saving it as a compiled
script. You can then run it from the script menu and it should work
as you inteded.
HTH,
ES
_______________________________________________
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