File names in Toast window
File names in Toast window
- Subject: File names in Toast window
- From: email@hidden
- Date: Wed, 19 Nov 2003 00:19:27 GMT
Ahh, the old dictionary. It can tell you the meaning of a word but not how to
write a novel.
Short of taking a course in mind reading I find app dictionaries almost useless.
I have harped on this subject before. Maybe not for you script wizards out there
but to us lesser mortals they remain incomprehensible.
As mentioned in my original post the example I gave will not work, of course,
neither do commands using "disc" or anything else that I have tried. Neither
does the example generously provided below. I was hoping that someone who has
actually done some scripting with Toast will be able to let me know how to find,
or parse as a string, the files in the current Toast window. Seems like a simple
thing to do.
Any help from someone who knows would be much appreciated.
Kelvin.
Steven Majewski wrote:
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.
>
>
>
>
> 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.
_______________________________________________
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.