Hi Ioana,

If you want to read through a complete set of instructions on how to
save a set of posted AppleScript commands to the AppleScript Editor,
compile, and run the AppleScript, you might take a look at my post to
the mac-access list on "Speeding up podcasts on the Mac" in the
version saved at the mail archive site:
http://www.mail-archive.com/mac-access%40mac-access.net/msg08057.html

You can ignore the example that was posted, which involves downloading
QuickTime Player 7, and skip over the posted scripts to start at step
2 of the implementation, which describes how to open the AppleScript
editor to paste in your code.  The usual problem I've found when
people try to create AppleScripts from code posted on mailing lists
arises when they try to copy the code that has gone through a few
iterations of quoting through the list; at that point, what happens is
that the different mail-handling protocols for each mailer that has
processed the previous recipient's reply affect the posted code.  In
particular, line breaks can get introduced in the middle of commands
that render the code invalid, and lead to compilation errors.  Or,
there may be extra characters included at the end of the script. This
could also get aggravated if you are trying to copy text from a
different operating system, since the Mac, unix, and Windows all use
different conventions for end of line characters.  I have not had
difficulty with copying and using AppleScript code from web pages
viewed in Safari, or from my posted AppleScript codes viewed in Mail,
or from valid code posted to the Mail Archive web pages.

The difference between saving an AppleScript as an application and as
a regular AppleScript is that when you invoke the application version,
it just runs, but you also can't go in to edit/examine/revise the
code.  So save as an application only if you don't intend to make
changes or need to review the code.

You might consider just downloading and looking at the AppleScripts at
the "AppleScripts for iTunes" web site as a way of learning how to
script.

HTH.  Cheers,

Esther


On May 28, 3:17 pm, Ioana Gandrabur <[email protected]> wrote:
> HI all,
>
> I found somewhere some suggestions for script code for hiding and showing 
> files but have no idea how to get that text into a script. Incidentally they 
> recommend you save it as an app this makes it even more confusing.
>
> Thanks for outlining some steps for me. I suppose I go to script editor and 
> paste it somewhere and compile? I tried something but got compile error.
>
> THanks for your help.
>
> If I make this work I will send you the code.
>
> Best,
> Ioana
>
> Please check out my cd onwww.ioanagandrabur.comon iTunes and most online 
> stores.

-- 
You received this message because you are subscribed to the Google Groups 
"MacVisionaries" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/macvisionaries?hl=en.

Reply via email to