Re: Dialog command
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