Re: Simply deleting a fil
Re: Simply deleting a fil
- Subject: Re: Simply deleting a fil
- From: Yvan KOENIG <email@hidden>
- Date: Sat, 18 Apr 2009 17:26:30 +0200
Le 17 avr. 2009 à 23:08, Christopher Nebel a écrit :
Kind of. The issue is who owns the object specifier -- in other
words, what application is it "of"? Commands don't necessarily go
to the "tell" target; they actually go to the application that owns
the direct parameter. In the first case, you're constructing the
specifier inside a System Events "tell" block, so it goes to System
Events. In the second case, the specifier ("foo") came from
Finder, so when you tell it "delete", it's Finder that handles it,
not System Events, therefore it goes in the trash. Watching the
event log is a good way to figure out where commands are going.
Glad to read you.
May you give us an explanation of the odd behavior described about
MacOs X 10.5.6 and iWork's UTI ?
Yvan KOENIG (from FRANCE samedi 18 avril 2009 17:26:28) _______________________________________________
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