Re: Unable to send user input string to Webster Dictionary Application using variable
Re: Unable to send user input string to Webster Dictionary Application using variable
- Subject: Re: Unable to send user input string to Webster Dictionary Application using variable
- From: Geoff Graham <email@hidden>
- Date: Wed, 19 Aug 2009 17:52:27 -0400
Well, here is something that should work and even upgrade (untested of
course):
text returned of (display dialog "Look up " default answer "" with
title "Webster's")
set (the clipboard) to the result
Tell app "Finder" to open file "YourDiskName:Applications:Merriam-
Webster"
tell application "System events"
tell (get first process whose frontmost is true)
keystroke "a" using command down
delay 0.2 -- may not need this
keystroke "v" using command down
delay 0.2 -- may not need this
keystroke enter
end tell
end tell
forgive me,
Geoff
_______________________________________________
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