Re: Try these
Re: Try these
- Subject: Re: Try these
- From: JollyRoger <email@hidden>
- Date: Sun, 17 Mar 2002 19:10:52 -0600
On 3/17/2002 5:22 PM, "Michelle Steiner" <email@hidden> wrote:
>
display dialog "your text goes here" buttons {integer}
>
display dialog "your text goes here" buttons {real}
>
display dialog "your text goes here" buttons {string}
>
display dialog "your text goes here" buttons {boolean}
>
display dialog "your text goes here" buttons {alias}
>
display dialog "your text goes here" buttons {folder}
>
display dialog "your text goes here" buttons {class}
>
display dialog "your text goes here" buttons {property}
>
>
I think those are enough for the time being, but try them all.
Yep, neat. AppleScript is displaying the four-character codes corresponding
to the data types you specified.
For example, the Macintosh API defines "alias" in AEDataModel.h as:
typeAlias = FOUR_CHAR_CODE('alis')
And "string" is defined as:
typeChar = FOUR_CHAR_CODE('TEXT')
Programmers use these constants (typeAlias, typeChar, etc.) in scriptable
apps & scripting additions to refer to these data types.
JR
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.
References: | |
| >Try these (From: Michelle Steiner <email@hidden>) |