 |
 |
OMCEdit Help
|
 |
|
 |
|
Mac Elite
Join Date: May 2002
Status:
Offline
|
|
Hi I'm trying to create a command to take the selected folder and create a compressed DiskImage of it using OMCEdit.
I tried this with no luck:
hdiutil create -srcfolder __OBJ_PATH__ __OBJ_NAME__.dmg
Any ideas?
an encrypted version too?
|
|
|
| |
|
|
|
 |
|
 |
|
Fresh-Faced Recruit
Join Date: Jun 2002
Location: Paris, FR
Status:
Offline
|
|
hello,
I use the perl script buildDmg
http://www.objectpark.org/buildDMG.html
and the command for OMC
/.../path_to_buildDMG -buildDir __OBJ_COMMON_PARENT_PATH__ -compressionLevel 8 -dmgName __OBJ_NAME_NO_EXTENSION__.dmg __OBJ_PATH__
Mathias
|
|
|
| |
|
|
|
 |
|
 |
|
Mac Elite
Join Date: May 2002
Status:
Offline
|
|
Hey, thanks for replying to my plea for help Mathias. I usually get no replies to my OMC questions.
It turns out that my original command was working, but it seems to place the resulting file at the root level.
hdiutil create -srcfolder __OBJ_PATH__ __OBJ_NAME_NO_EXTENSION__.dmg
Any idea on how to get it to place the file in the same path as the original?
I also think I'm missing a command to specify the level of compression ... any idea how to do that?
|
|
|
| |
|
|
|
 |
|
 |
|
Fresh-Faced Recruit
Join Date: Jun 2002
Location: Paris, FR
Status:
Offline
|
|
To have it in the same path, I'd try to add before your command
cd __OBJ_COMMON_PARENT_PATH__;
I'm not sure that you can create the disk image and compress in the same command.
to compress I have this one :
hdiutil convert __OBJ_PATH__ -format UDZO -imagekey zlib-level=9 -o __OBJ_PATH_NO_EXTENSION__-compr
with buildDmg script, you could make all with 1 command, instead of 3 commands.
|
|
|
| |
|
|
|
 |
|
 |
|
Mac Elite
Join Date: May 2002
Status:
Offline
|
|
Thanks Mathias. Are you up for another OMC question?
I emailed the author of OMCEdit for help on this and he thought it might be my app that's the problem...
Question:
I was also wondering how to get a command to act upon multiple items in a selection.
Example:
open -a "/Applications/Adobe Photoshop 7/Adobe Photoshop 7.0" __OBJ_PATH__
I have this set to open certain files in Photoshop, but it will only act upon the first selected file. How do I get it to open several
selected files in Photoshop?
|
|
|
| |
|
|
|
 |
|
 |
|
Fresh-Faced Recruit
Join Date: Jun 2002
Location: Paris, FR
Status:
Offline
|
|
maybe try to change something in the tab 'Objects', field 'Process Multiple Objects'.
Not sure, I have never used it to open several files :-)
|
|
|
| |
|
|
|
 |
 |
|
 |
|
|
|
|
|

|
|
 |
Forum Rules
|
 |
 |
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
|
HTML code is Off
|
|
|
|
|
|
 |
 |
 |
 |
|
 |