Re: script in startup folder
Re: script in startup folder
- Subject: Re: script in startup folder
- From: Peter Sass <email@hidden>
- Date: Fri, 18 Jul 2003 13:34:34 +0200
Thank you Gary and Kai for your answers. It was of great help to me.
16/07/03 Gary wrote:
>
I think you've probably unchecked that box, thereby getting the
>
dialog with Quit and Run buttons.
- this did the trick.
>
Best of luck with AppleScript. I hope you enjoy exploring its
>
amazing potential. Recording in the Finder is good place to
>
begin to reduce your mouseload.
Thank you. I also feel it will be the easiest way to learn, most fun and
useful. If I can add som loops and such to recorded scripts I feel I am on my
way.
16/07/03 Kai wrote:
>
that would make my suggestions read as follows (each still
>
one line):
>
>
-------------------------
>
tell application "Finder" to open file "Quickstart" of folder
>
"Controlpanels" of folder "Systemfolder" of folder "Teknik" of startup disk
>
-------------------------
>
tell application "Finder" to open file "Macintosh
>
HD:Teknik:Systemfolder:Controlpanels:Quickstart"
>
-------------------------
>
tell application "Finder" to open file (((path to "ctrl") as string)
>
& "Quickstart")
>
-------------------------
Thank you for those examples. I think too that a filepath is easier to read
than the 'of folder ... of folder' form. And terse is beatyful. Your examples
>
tell application "Finder" to open file (((path to "ctrl") as string)
>
& "Quickstart")
and
>
tell application "Finder" to open file (((path to "root") as string)
>
& "Teknik:Systemfolder:Controlpanels:Quickstart")
uses a method of writing pathnames that I can't find in my book (Benny Goodman:
The applescript handbook, second edition). Are there any other words than
"root" and "ctrl" that can be used in this way?
regards,
Peter
_________________________________________________________________
email@hidden Skreplanet 30
Telefon: 44 31 24 44 3500 Vfrlxse
Mobil: 26 74 22 30
_______________________________________________
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.