From: lisulya on
Hello everyone!

I have several large AW files with LOTS of audio in them. I am trying to
automate the process of extracting text for audio script and I need to extract
the "file" property (which are always relative links to SWA files) from the
sound icons. However, so far, I only managed to successfully get the "filename"
property. This helps, but unfortunately, the filename of the soundicon does not
always correspond with the filename that it is linked to.

Bottom line, is it possible to extract that relative path from the "file"
property of the sound icon?

Thanks for you help!!!

--Irina

From: Erik **AdobeCommunityExpert** on
GetIconProperty may do this, which is what I suspect you're using. The
Authorware Help Pages (from Authorware's Help menu option) list all
supported properties under the SetIconProperty function....but a quick
look indicates they're to be used with Authorware's JS script? I'm not
too sure this method would work, but something to try.
Otherwise, GetIconContents may do it?
Erik

lisulya wrote:
> Hello everyone!
>
> I have several large AW files with LOTS of audio in them. I am trying to
> automate the process of extracting text for audio script and I need to extract
> the "file" property (which are always relative links to SWA files) from the
> sound icons.

--
Erik Lord
http://www.capemedia.net
Adobe Community Expert - Authorware
http://www.adobe.com/communities/experts/
------------------------------------------------------------------------
http://www.awaretips.net - samples, tips, products, faqs, and links!
*Search the A'ware newsgroup archives*
http://groups.google.com/group/macromedia.authorware
From: Steve Howard on

> GetIconProperty may do this, which is what I suspect you're using. The
> Authorware Help Pages (from Authorware's Help menu option) list all
> supported properties under the SetIconProperty function....but a quick
> look indicates they're to be used with Authorware's JS script?

Nope - works with AW script too.

Steve


--
Adobe Community Expert: Authorware, Flash Mobile and Devices
http://www.magnoliamultimedia.com

You need to go to MAX - http://adobemax2007.com/na/
From: lisulya on
thanks guys.. yes, i tried both GetIconProperty and GetIconContents.
GetIconProperty seems to only retun #filename... Under supported properties,
for sound icons, the very importat #file seems to be missing! Very
frustrating... I thought maybe there's a workaround of some sort....

From: Mike Baker **Adobe Community Expert** on
Is your file assigned by literal value or from a variable? If the value is
assigned by a variable then it's figured out at runtime. There's no way for
GetIconContents or GetIconProperty to know what that value will be.
Post the return from GetIconContents or GetIconProperty here.

Mike
====================
Mike Baker
Adobe Community Expert
mike-baker(a)cox.net

"lisulya" <webforumsuser(a)macromedia.com> wrote in message
news:feitv3$a0e$1(a)forums.macromedia.com...
> thanks guys.. yes, i tried both GetIconProperty and GetIconContents.
> GetIconProperty seems to only retun #filename... Under supported
properties,
> for sound icons, the very importat #file seems to be missing! Very
> frustrating... I thought maybe there's a workaround of some sort....
>