Re: Simply deleting a fil
Re: Simply deleting a fil
- Subject: Re: Simply deleting a fil
- From: Luther Fuller <email@hidden>
- Date: Fri, 17 Apr 2009 12:04:50 -0500
On Apr 17, 2009, at 11:35 AM, Yvan KOENIG wrote:
It's because you are not working with the correct syntax and correct
items.
So I experimented more. It seems that the correct syntax is ...
tell application "System Events" to delete disk item (itemAlias as
text)
In other words, 'disk item' needs to be specified as a text path.
But when I looked at the System Events dictionary, it's not clear that
this is required.
_______________________________________________
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