Re: Show Package Contents
Re: Show Package Contents
- Subject: Re: Show Package Contents
- From: Philip Aker <email@hidden>
- Date: Tue, 21 Oct 2008 09:20:03 -0700
On Oct 21, 2008, at 8:45 AM, KOENIG Yvan wrote:
As the package was an rtfd document, I found a workaround:
set p2d to path to desktop as text
set paquet to p2d & "azaz.rtfd:"
tell application "Finder"
set paquet to paquet as alias
set oldName to name of paquet
set dossier to (container of paquet) as text
set ext to name extension of paquet
set newName to text 1 thru -(2 + (count of ext)) of oldName
set name of paquet to newName
open folder (dossier & newName)
set name of alias (dossier & newName) to oldName
end tell
Good trick, I'll remember it in case I need it sometime.
Philip Aker
echo email@hidden@nl | tr a-z@. p-za-o.@
Democracy: Two wolves and a sheep voting on lunch.
_______________________________________________
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