• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Unable to send user input string to Webster Dictionary Application using variable
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: Unable to send user input string to Webster Dictionary Application using variable
      • From: Geoff Graham <email@hidden>
References: 
 >Unable to send user input string to Webster Dictionary Application using variable (From: Window Pen <email@hidden>)

  • Prev by Date: Value of insertion point in Quark 8
  • Next by Date: printing with Pages
  • Previous by thread: Re: Unable to send user input string to Webster Dictionary Application using variable
  • Next by thread: Re: Unable to send user input string to Webster Dictionary Application using variable
  • Index(es):
    • Date
    • Thread