Hi Brett - one other question if you don't mind.. and I'm not even sure how it happened because it was working fine for a while... but now when I run the expand dates script through TaskPaper, it pops up the AppleScript Editor. I click "Run" and it runs through and expands the date. But I'm not sure why it's popping open. One thing I did notice was in the "replies" section after running it I'm getting the following error:
do shell script "\"/Users/adamr/Library/Application Support/TaskPaper/Scripts/Expand Dates.scptd/Contents/Resources/Scripts/tp_chronify.rb\" \"monday\""
--> error number -10004
Any ideas?
Hm. I've had that happen to scripts before, and I can't remember what was causing it. You could try compiling the script as an app bundle instead of a script bundle… but that error is going to be problematic. Do you know if you've upgraded your Ruby installation lately?
Not that I know of but I did just get a new MBP. I used the OSX migration tool to bring my stuff over. Would that explain anything?
Could actually be a permissions issue. Easiest thing would be to remove the scripts and reinstall them from the archive here. I'm not absolutely sure there's not something in my script that could be different (like not calling a shell script within a tell block, maybe), but I'm not having any issues like that. The 10004 error is a "privileges error," which I think could be caused by a change in ACL or permissions on the file or directory. I could be wrong… I'll look into it on my end, but let me know if any of that helps.
load more (2 remarks)