Re: Bad script, good script
Re: Bad script, good script
- Subject: Re: Bad script, good script
- From: Luther Fuller <email@hidden>
- Date: Mon, 03 Sep 2012 15:08:47 -0500
On Sep 3, 2012, at 2:53 PM, R. Nelson Byrne wrote: I'm trying to use AppleScript to move a file named "man1" from a folder "source" to a folder "sink".
When using System Events, you have to use "disk item" in exactly the right place. I got this to work ...
property sourceAlias : alias "unused:folder_1:Apple Docs.sparsebundle" property destinationAlias : alias "unused:folder_2"
on run tell application "System Events" move disk item (sourceAlias as text) to (destinationAlias as text) end tell end run
And you could use the Finder instead of System Events.
|
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden