Used to work
Used to work
- Subject: Used to work
- From: Irwin Poché <email@hidden>
- Date: Sat, 26 Mar 2011 09:42:03 -0500
I haven't used this piece of code in quite a while and it no longer works. It did a paste in the frontmost application. The FrontmostApp() call does correctly return the name of whatever is in front.
-Irwin
set theProcess to FrontmostApp()
tell application theProcess activate tell application "System Events" tell application theProcess keystroke "v" using command down delay 1 --give it time to update end tell end tell end tell
on FrontmostApp() tell application "System Events" to return displayed name of (path to «constant afdregfp») end FrontmostApp |
_______________________________________________
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