View Single Post
Old 07-22-2009, 11:14 PM   #6
curtw
Outside of a dog
curtw ought to be getting tired of karma fortunes by now.curtw ought to be getting tired of karma fortunes by now.curtw ought to be getting tired of karma fortunes by now.curtw ought to be getting tired of karma fortunes by now.curtw ought to be getting tired of karma fortunes by now.curtw ought to be getting tired of karma fortunes by now.curtw ought to be getting tired of karma fortunes by now.curtw ought to be getting tired of karma fortunes by now.curtw ought to be getting tired of karma fortunes by now.curtw ought to be getting tired of karma fortunes by now.curtw ought to be getting tired of karma fortunes by now.
 
curtw's Avatar
 
Posts: 863
Karma: 4457646
Join Date: Dec 2007
Location: Houston, TX
Device: Kindle Voyage
mrgiedrnkr,

Here is the AppleScript file. Moderators, please note, this file DOES NOT INCLUDE MOBIDEDRM. Just drag and drop your Mobipocket files onto this icon. You will have to tell the program where your mobidedrm.py script is located, and give it your PID, but once you've done that the first time, it won't ask again. (If you move mobidedrm or change your PID, you'll have to delete the plist, or preferences file, to make it think it's the first time you're running it again).

You can open this file in the Script Editor, and it should be pretty intuitive how to edit it for what you need for your "script1." Double-clicking on this file won't get you anywhere.

Please note that this script *should* be robust enough to handle files located within an arbitrary number of nested folders, and/or folders with spaces in the names, BUT... while the Mac OS GUI will permit you to put a slash ("/") in the name of a file or folder, once you pass that name within UNIX, the command line interpreter will think that's a directory delimiter, and the program won't work properly. In general, it's bad idea to put slashes in the names anyway.

Drop a note if you have any problems...
Attached Files
File Type: zip MobiFree.app.zip (25.0 KB, 340 views)

Last edited by curtw; 07-24-2009 at 02:50 PM.
curtw is offline   Reply With Quote