Re: deeply frustrating: how to copy/move a file from one place to another
Re: deeply frustrating: how to copy/move a file from one place to another
- Subject: Re: deeply frustrating: how to copy/move a file from one place to another
- From: Doug McNutt <email@hidden>
- Date: Mon, 2 Feb 2004 12:53:04 -0700
At 18:45 +0000 2/2/04, Charles Arthur wrote:
>
move thefile to "~/Sites/LB/"
Probably not all you need but the "~" shortcut is specific to certain shells (AS insists on bash). The environment variable $HOME is defined at AppleScript time provided the script is executed by a user and not by some cron job.
MvMac or CpMac "POSIX path to source" $HOME/Sites/LB/
with appropriate quoted form magic might work but it requires developer tools.
move file to (folder LB of folder Sites of my home directory)
is something else one might guess but I'm not very good at that .
--
Applescript syntax is like English spelling:
Roughly, but not thoroughly, thought through.
_______________________________________________
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.