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: Window Pen <email@hidden>
- Date: Tue, 18 Aug 2009 22:26:16 +0700
Both Script 1 and 2 compile, but Script 1 like my original script accepts the user input before Webster application is called to open and I like that.
The problem remains that it doesn't work. No string is passed into Wesbster's. The text box remains blank. (Unless we go back to "rabbit" and that defeats the whole purpose.)
I've enclosed the description of the Webster's command.
The MWClearPaste is defined as:
MWClearPaste v : Clears and sets the supplied string in the entry field for lookup in current reference.
MWClearPaste string : String to lookup.
Script 1
set answer to text returned of (display dialog "Look up " default answer "" with title "Webster's")
tell application "Merriam-Webster"
activate
MWClearPaste answer
end tell
Script 2
tell application "Merriam-Webster"
activate
MWClearPaste text returned of (display dialog "Look up " default answer "" with title "Webster's")
end tell
_______________________________________________
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