Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the '10.4: Make any folder a burn folder' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
10.4: Make any folder a burn folder
Authored by: rjbailey on Sep 25, '05 05:46:37PM

Here's the code that works in OMC:
<dict>
<key>ACTIVATION_MODE</key>
<string>act_folder</string>
<key>CATEGORIES</key>
<array>
<string>File</string>
</array>
<key>COMMAND</key>
<array>
<string>mv </string>
<string>__OBJ_PATH__</string>
<string> </string>
<string>__OBJ_PATH__</string>
<string>.fpbf</string>
</array>
<key>EXECUTION_MODE</key>
<string>exe_silent</string>
<key>NAME</key>
<string>Change folder to Burn Folder</string>
<key>NOTES</key>
<string>Simply appends .fpbf to folder name</string>
<key>SUBMENU_NAME</key>
<string>On My Command</string>
<key>VERSION</key>
<integer>1</integer>
</dict>

And the reverse that removes the extension:

<dict>
<key>ACTIVATION_MODE</key>
<string>act_folder</string>
<key>CATEGORIES</key>
<array>
<string>File</string>
</array>
<key>COMMAND</key>
<array>
<string>mv </string>
<string>__OBJ_PATH__</string>
<string> </string>
<string>__OBJ_PATH_NO_EXTENSION__</string>
</array>
<key>EXECUTION_MODE</key>
<string>exe_silent</string>
<key>NAME</key>
<string>Delete folder extension</string>
<key>NOTES</key>
<string>Removes folder extension</string>
<key>SUBMENU_NAME</key>
<string>On My Command</string>
<key>VERSION</key>
<integer>1</integer>
</dict>



[ Reply to This | # ]