Re: Simple question
Re: Simple question
- Subject: Re: Simple question
- From: Gnarlodious <email@hidden>
- Date: Sat, 25 Jan 2003 14:28:46 -0700
Entity GrantSymon spoke thus:
>
the command required to have the Finder
>
open a file, without having it's exact path written in the script.
It depend on where the item is.
For example:
copy alias ((path to current user folder) & "somefile" as string) to desktop
Means you don't have to specify where the user folder is.
This line leads you to the applications folder regardless of the startup
disk's name:
tell application "Finder" to open folder "Applications" of the startup disk
Each of your partitions has a "Disk number" in their order on the hard
drive, so:
tell application "Finder" to delete alias ((disk 2 as alias) & somepath as
string)
Appends "somepath" to the name of partition number 2, where "Disk 1" is the
outside partition.
There are some example scripts for OSX in a folder called "Navigation
Scripts", they include some good examples for you.
Hope that makes sense . . .
-- Rachel
http://www.Spectrumology.com
AIM Gnarlodious
_______________________________________________
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.