Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Create a keyboard-shortcut for Show Package Contents' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Create a keyboard-shortcut for Show Package Contents
Authored by: redsweater on Jul 25, '06 08:30:08AM
Here is an AppleScript that works on most types of packages (e.g. Apps) and is very, very fast. No UI Scripting required:

tell application "Finder"
	try
		set selectedItems to selection
		set selectedItem to item 1 of selectedItems as alias
		open folder ((selectedItem as string) & "Contents:")
	on error
		display dialog "You must select a package before running this script."
	end try
end tell

---
--
Daniel Jalkut
http://www.red-sweater.com/

[ Reply to This | # ]

Create a keyboard-shortcut for Show Package Contents
Authored by: bfad on Jul 25, '06 09:22:55AM

As you said, your AppleScript works great for Applications, but what about things like iWeb documents or Pages documents? Your AppleScript doesn't help if I want to see their contents.



[ Reply to This | # ]