Re: Requesting assistance with rtfd and attachments
Re: Requesting assistance with rtfd and attachments
- Subject: Re: Requesting assistance with rtfd and attachments
- From: Nigel Garvey <email@hidden>
- Date: Thu, 27 Sep 2012 13:00:11 +0100
Brian Christmas wrote on Thu, 27 Sep 2012 18:55:35 +1000:
>tell application "TextEdit"
> activate
> tell document frontmost
That's fun! 'frontmost' is of course an application property, nothing to
do with document specifiers. But you can use 0 or 1, a boolean, or
anything which returns a boolean, and TextEdit will take it as the index
of the front document:
tell application "TextEdit"
activate
tell document (my name is "Brian")
display dialog (get its name)
end tell
end tell
NG
_______________________________________________
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