Re: files in toast window
Re: files in toast window
- Subject: Re: files in toast window
- From: Steven Majewski <email@hidden>
- Date: Tue, 18 Nov 2003 17:49:58 -0500
On Tuesday, November 18, 2003, at 04:28 PM, email@hidden wrote:
Can someone please tell me the syntax to get the files displayed in a
Toast
window. Something like:
tell application "Toast"
set x to the contents of the front window
end tell.
Of course that does not work neither do a few other of my efforts.
Any help would be much apprecitate.
Look at the Toast dictionary -- Windows aren't a class in the Toast
Suite, but disc's are.
Try something like:
tell application "Toast 6 Titanium"
get {media info, current disc, description of current disc, name of
current disc}
end tell
'description of current disc' seems to give you info that's about the
contents of the Toast
window rather that the disc that's physically in the drive.
Rather than parse that text, you can ask for more specific info about
the current disc,
depending on it's type. See the dictionary.
-- Steve Majewski
_______________________________________________
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.