Revision of Mac Services from Fri, 03/29/2013 - 23:19
Creator:
Iritscen
Version:
1.0
Install method:
Mod type:
Platform:
Here are some scripts I created to save time when working with Oni files. Unzip and place these Automator workflows in ~/Library/Services to have them show up in your contextual menu. Note that some need to be edited before they are useable on your computer.
- Compress (Windows-friendly) creates a .zip of a folder next to the original folder, similar to OS X's built-in Compress option, but without those .DS_Store files that annoy Windows users; it also omits any invisible version control files from Subversion and Git. This service will not show up in the menu when you right-click a file because it is not needed in that situation.
- Convert oni to XML creates an XML file from a .oni file using OniSplit. User edit required: You must open this workflow in Automator, go to the Run Shell Script stage of the script, and change OS_PATH, the path to OniSplit, to reflect its location on your own hard drive.
- Find changes to oni file takes the selected, modded .oni file of your choice and tells you what was changed from the original version of that resource. User edits required: You must open this workflow in Automator, go to the Run Shell Script stage of the script, and change OS_PATH, the path to OniSplit, to reflect its location on your own hard drive. Also, if you don't have the Developer Tools installed, you probably will not have FileMerge, so you need to change USE_FILEMERGE to 0.
- Compress (Windows-friendly) creates a .zip of a folder next to the original folder, similar to OS X's built-in Compress option, but without those .DS_Store files that annoy Windows users; it also omits any invisible version control files from Subversion and Git. This service will not show up in the menu when you right-click a file because it is not needed in that situation.
- Convert oni to XML creates an XML file from a .oni file using OniSplit. User edit required: You must open this workflow in Automator, go to the Run Shell Script stage of the script, and change OS_PATH, the path to OniSplit, to reflect its location on your own hard drive.
- Find changes to oni file takes the selected, modded .oni file of your choice and tells you what was changed from the original version of that resource. User edits required: You must open this workflow in Automator, go to the Run Shell Script stage of the script, and change OS_PATH, the path to OniSplit, to reflect its location on your own hard drive. Also, if you don't have the Developer Tools installed, you probably will not have FileMerge, so you need to change USE_FILEMERGE to 0.
Attachment | Size |
---|---|
Compress (Windows-friendly).zip | 57.87 KB |
Convert oni to XML.zip | 117.78 KB |
Find changes to oni file.zip | 114.89 KB |
- Log in to post comments
- 3272 reads