View Single Post
Old 06-06-2009, 04:41 AM   #6
Gideon
Wearer of Pants
Gideon knows the square root of minus one.Gideon knows the square root of minus one.Gideon knows the square root of minus one.Gideon knows the square root of minus one.Gideon knows the square root of minus one.Gideon knows the square root of minus one.Gideon knows the square root of minus one.Gideon knows the square root of minus one.Gideon knows the square root of minus one.Gideon knows the square root of minus one.Gideon knows the square root of minus one.
 
Gideon's Avatar
 
Posts: 1,050
Karma: 7634
Join Date: Jan 2008
Location: Norman, OK
Device: Amazon Kindle DX / iPhone
I've used different files, changed the names between prc and mobi.. same results over and over again. It's the EXACT same script that has been working for me, so my guess is it is something with Python. Something isn't set right, etc...

Looking at the event log in the script editor, it quits running at this point:
Code:
tell application "Finder"
	get every file of folder (alias "Mono:Users:gideon:Desktop:") whose name extension = "prc" or name extension = "mobi" or name extension = "azw"
		{}
	get every folder of folder (alias "Mono:Users:gideon:Desktop:")
		{}
end tell

Last edited by Gideon; 06-06-2009 at 04:50 AM.
Gideon is offline   Reply With Quote