Re: Finder Info to get real audio media source URL
Re: Finder Info to get real audio media source URL
- Subject: Re: Finder Info to get real audio media source URL
- From: "Gary (Lists)" <email@hidden>
- Date: Sun, 07 Aug 2005 15:13:34 -0400
"Laine Lee" wrote:
> I have a real media file (".ram") and the source URL appears to be listed in
That's a Real Media file, for clarity's sake, then. ;)
QuickTime is quite real, even if not very quick.
> the Where from section of More info section of the window I can see by using
> the following script.
>
> Tell application "Finder"
> information window of item "MyStartupDisk:Users:justme:Desktop:listen.ram"
> to General Information panel"
> end tell
What is this, Laine? Did something get dropped in a cut-and-paste?
That's not a script, as is.
It looks like you mean to set the current panel of the information window to
the General Information panel.
I don't have (or see) a Where From entry in the Get Info window, but I'm not
looking at a Real Media document either.
Also, I'm using X.3.9. (Or missing your specific point or context.)
If you are referring to the Comments box, where some applications insert the
URL of a file (like when downloading, for example), then you can get that
easily.
> How can I get that source URL with Applescript?
>
> OK, shoot me for not being better with documentation. Please give me chapter
> and verse. Thanks.
Let's examine the Scripture. ;)
Pray with me...
Book >> Finder X.3.9 scripting dictionary (drop the Finder of your script
editor of choice)
Section >> Finder items : Commands used with file system items, and basic
item definition
Chapter >> Class item : An item
Verses >>
Verse 1: comment Unicode text -- the comment of the item, displayed in the
³Get Info² window
Verse 2: information window reference [r/o] -- the information window for
the item
Cf ::
Section >> Window classes : Classes representing windows
Chapter >> Class information window : (inherits from window) An inspector
window (opened by "Show Info") [See previous Verse.]
A Short Hymn
===============
[Sung to the tune of "Yellow Rose of Texas"]
set myFileChoice to choose file
-- a fine choice it will be!
-- (Chorus)
tell app "Finder" to set thisUniString to the comment of myFileChoice
--
Gary
Hey, do you think we really could write short scripts which could be sung to
the tune of well-known songs?
I only managed the first 2 lines here...sorry Emily Emily Emily Emily D.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden