|
#1
| |||
| |||
| Applescript for contents of package? Does anyone know how to list the entire contents of an app package with applescript: If I do the following: set d to entire contents of the_alias it works for folders, but not for os x app packages. Any ideas on how to do this? ![]() |
|
#2
| ||||
| ||||
| I don't know any AppleScript way that will do that but there is Pacifist.
__________________ PowerMac G5 Dual 1.8(Rev A.), , 7 Gig RAM, Pioneer DVR-110, ATI X800XT, OS X 10.4.11 & 10.5.5, 23'' HD LCD Mac Book Pro Core 2 Duo 2.16Mhz, SuperDrive, ATI X1600, 2GB RAM, OS X 10.5.5 1TB Time Capsule 5g iPod 30Gig White |
|
#3
| ||||
| ||||
| I read this earlier and did some digging. I believe that it can be done without too much scripting. However I am not a AS person, so I cannot tell you how. As far as I know, everything in the Finder is scriptable, including all menus, popups, contentuals etc. Have you tried digging around on some of the Apple Script sites such as scriptbuilders.net? Xcode is much more powerful than AS, so if it cant be done with AS, I am pretty sure it can with Xcode.
__________________ mac mini 1.42 - my baby ipod 3rd gen 20gig color - my new music baby ipod 1st gen 5gig - dead and trashed g4/466 - my server and an old friend imac 333 - sold 6100/66av - dead IIsi - paperweight mac se30 - burned and dead mac plus with radius FPD - burned and dead - mac user since 1988 |
|
#4
| ||||
| ||||
| XCode isn't going to do anything for you unless you know how to program in one of several languages (C, Objective-C, Java, C++, etc.). XCode by itself does nothing -- it's like PhotoShop without a single image to use with it.
__________________ Power Macintosh G4/500MHz "Yikes!" 10.4.11 Server • 1024MB • 3 x 120GB + 320GB • DVR-111D • 2 x Radeon 7000 PCI • 2 x 17" CRT MacBook 2.0GHz Core 2 Duo - White 10.5.5 • 2048MB • 80GB • CD-RW/DVD-ROM iPod Photo 60GB • iPod nano 1GB • AT&T DSL 6Mb/768k http://www.jeffhoppe.com |
|
#5
| ||||
| ||||
| I was under the impression that AppleScript can be easily moved to Xcode and then enhanced, so I was offering that up as a possible idea towards the end mentioned.
__________________ mac mini 1.42 - my baby ipod 3rd gen 20gig color - my new music baby ipod 1st gen 5gig - dead and trashed g4/466 - my server and an old friend imac 333 - sold 6100/66av - dead IIsi - paperweight mac se30 - burned and dead mac plus with radius FPD - burned and dead - mac user since 1988 |
|
#6
| ||||
| ||||
| Oh, hmm, never thought of it that way... although in XCode, there's really no "magic button" you can press to generate AppleScript code you couldn't normally generate on your own. I'm still under the impression that if you don't know how program outside of XCode, then XCode isn't going to make you a better programmer...
__________________ Power Macintosh G4/500MHz "Yikes!" 10.4.11 Server • 1024MB • 3 x 120GB + 320GB • DVR-111D • 2 x Radeon 7000 PCI • 2 x 17" CRT MacBook 2.0GHz Core 2 Duo - White 10.5.5 • 2048MB • 80GB • CD-RW/DVD-ROM iPod Photo 60GB • iPod nano 1GB • AT&T DSL 6Mb/768k http://www.jeffhoppe.com |