Re: .DMG Keeps Getting Bigger After Converting?
Re: .DMG Keeps Getting Bigger After Converting?
- Subject: Re: .DMG Keeps Getting Bigger After Converting?
- From: Alastair Houghton <email@hidden>
- Date: Mon, 19 Jan 2009 15:12:30 +0000
On 17 Jan 2009, at 21:02, Markus Spoettl wrote:
Totally agreed, scripting the entire process would be wonderful.
But: How does one go about scripting a template DMG creation that
should open in a certain view mode in Finder (e.g. icon) using a
defined icon size and defined icon locations, background image, in a
new window with a certain initial window size?
You *can* use AppleScript and shell script to do what you need here.
The only problem is that you need to run the script from a window
session, which may be an issue if you have some kind of build server.
We have a rather substantial chunk of AppleScript that I wrote for
exactly this purpose, which is called from some shell scripts we use.
Of course, we have the additional problem of needing to build bootable
CDs, so our set-up is rather more complicated than it need be for most
people.
If you need more information on this topic, this probably isn't the
right list. But you might start by looking at the man pages for
"hdiutil" and "osascript" and the Finder's Application Dictionary (in
Script Editor, or better yet, Script Debugger).
Alternatively, as someone else suggested, there are some third-party
apps that you can use for this exact purpose, which will be much
easier if they support what you need.
Kind regards,
Alastair.
--
http://alastairs-place.net
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden