Re: Is it possible to set the hard disk name in a path
Re: Is it possible to set the hard disk name in a path
- Subject: Re: Is it possible to set the hard disk name in a path
- From: JollyRoger <email@hidden>
- Date: Fri, 17 May 2002 07:56:12 -0500
On 5/17/2002 6:07 AM, "Bjorn Van Blanckenberg" <email@hidden> wrote:
>
tell application "Finder"
>
set Disk_name to the name of the startup disk
>
end tell
>
>
property folder1 : ("(Disk_name): folder:second folder:another folder:last
>
folder:")
To add something to a string of text, you use the & character. Also, you
don't need to use the Finder to do this:
-- begin script
property diskName : the last word of ((the path to the startup disk) as
text)
property myFolder : (diskName & ":second folder:another folder:")
log myFolder as text
-- end script
HTH
JR
_______________________________________________
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.