• 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: Dialog command
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Dialog command


  • Subject: Re: Dialog command
  • From: "Stockly, Ed" <email@hidden>
  • Date: Mon, 08 Sep 2008 18:13:37 -0700
  • Thread-topic: Dialog command

  
> In order to solve the problem, i modified my Hypercard application.
> Now, my Hypertalk script sends applescripts to the "Script Editor" running in
> OSX.
The result of an appleScript dialog is a record. In your case it would look
like this:

{button returned: "Hit"}

A HyperCard field can only hold text and won't automatically convert a
record to text, so you have to do that in your script.


 set background field r to the button returned of the result


In this case that would set field r to "Hit".

(Also, omm I needed to refer to the field as a background field)


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

  • Prev by Date: Re: Automating certain actions in Firefox
  • Next by Date: Re: Automating certain actions in Firefox
  • Previous by thread: Re: Dialog command
  • Next by thread: Accented characters
  • Index(es):
    • Date
    • Thread