Re: How do I get the Finder window layout correct?
Re: How do I get the Finder window layout correct?
- Subject: Re: How do I get the Finder window layout correct?
- From: Mike Fischer <email@hidden>
- Date: Wed, 14 Jun 2006 19:57:13 +0200
Thanks Greg!
Am 14.06.2006 um 17:10 schrieb Greg Morgan:
Mike,
I found this tutorial on the web that explains what you need to do to
accomplish this. Although done in a pedantic style, the information
is good.
I hope this is what you were looking for.
http://decaffeinated.org/archives/2003/10/24/dmg
This seems to be very similar to what I described doing in response
to Waynes reply. The major difference is that I'm using hdiutil
directly from a shell script instead of manually using Disk
Utility.app and I'm setting the Finder attributes using an AppleScript.
I'll verify that the manual approach yields the same partially faulty
result, just to be sure...
...yep, seems to produce the same result as my script base solution.
If your dmg is for download or a CD and you want the dmg to auto
mount after
it's downloaded or the CD inserted, use this utility before you do
the final
'New Image from Volume or Folder’ step:
http://autoopen.nibfile.com/
Thanks! I'll take a look at it. This is not my primary concern at the
moment though.
A bit of searching on the internet did produce the bless tool as the
main trick to get the window to open with its saved settings. I'm
still working on the window size problem, though Wayne has given me a
workaround.
bless -folder "/Volumes/$PKGNAME" -openfolder "/Volumes/$PKGNAME"
Sorry if this is an off topic reply.
Perfectly on topic to my question which might not be on topic for
this list though ;-)
Thanks!
Mike
--
Mike Fischer Softwareentwicklung, EDV-Beratung
Schulung, Vertrieb
Address: Bundesstrasse 9, D-20146 Hamburg, Germany
Phone: +49 (0)40/45038886, Fax: +49 (0)40/45038887
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Installer-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden