The difference between these two
The difference between these two
- Subject: The difference between these two
- From: Jim Brandt <email@hidden>
- Date: Fri, 28 Mar 2008 09:02:49 -0500
Can someone tell me what the difference between these two scripts is?
1)
tell application "Finder" activate set _today to "HD1:Today:" move contents of folder _today to trash empty trash end tell
2)
tell application "Finder" activate set _today to "HD1:Today:" select every item of folder _today move selection to trash empty trash end tell
When I ran these, the first script deleted both the contents of the folder AND the folder itself.
The second one only deleted the contents, which is what I intended.
Is this a known bug?
Jim Brandt
|
_______________________________________________
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