Jump to content

surrealroad

Member
  • Posts

    264
  • Joined

  • Last visited

  • Days Won

    14

Everything posted by surrealroad

  1. Does Alfred impose a time limit on how long a script can run? One of my scripts is now running for rather a long time (approximately 20 minutes), and though it *does* appear to complete, the next steps (copy to clipboard, send notification) do not.
  2. "radd today at 12:01pm to call Jack James" doesn't work? "r help" should show similar examples. If there's no description below each example when you do this then something's broken
  3. "noon" is not a recognized keyword, and you need to include the keyword "to" when constructing commands with specific times. try "radd today at 12pm to call Jack James" -- From your log file, it seems that you have an unsupported scripting addition (/Library/ScriptingAdditions/QXPScriptingAdditions.osax). It shouldn't affect this workflow, but it might trip something up, so you might want to delete it. It also looks like your cache file might be corrupted, I've built a new version of the workflow which will check for this and recreate the file as needed. -- I've updated to the latest GM (thanks for that) so I should be in sync with what you're seeing (for the record, they haven't fixed the osascript bug, so it'll still be slow). In addition, Alfred notifications don't seem to be working at all in this latest build of OS X Anyway, I've run into the same problem as you with the cache process completely crashing and corrupting the cache file. It seems that another bug has been introduced since the last GM (sigh), meaning it's no longer possible to create arrays/lists in plists via System Events. I've made a workaround for this which seems to work (and hopefully won't break it for everyone on other versions of OS X…), download the latest version.
  4. Several things: Most importantly: OS 10.9 is not supported right now, due to a bug in osascript (which Alfred uses to run Applescript) meaning that every Applescript request is taking 15x longer than it should. I've logged this with Apple, maybe it will get sorted maybe not. All my Macs are now 10.9 GM so I'm just as keen to get this sorted! That said, the workflow *should* still work, it'll just be very slow. The specific problem you're exhibiting sounds like an issue with a previous version of this workflow, where it would crash when requesting the list of outstanding reminders. Do you have the latest version (last updated October 9)? If you do, can you run "rtest" and send me the results? You might not see "osascript" in System Preferences > Privacy until the workflow tries to run once successfully. Even then, you might not see it at all, that might only happen when I try to debug it. EDIT: I just noticed Apple did something a bit daft and released a new GM that I can't upgrade to. Can you let me know which GM build you're using?
  5. Both: thanks for the feedback. Please download the latest version which fixes this issue.
  6. Can you check that the file at /Users/mcastelli/Library/Application Support/Alfred 2/Workflow Data/com.surrealroad.alfred-reminder/cache.plist exists? From Finder, choose Go > Go To Folder… enter /Users/mcastelli/Library/Application Support/Alfred 2/Workflow Data/com.surrealroad.alfred-reminder/ There should be a file called cache.plist there. Let me know.
  7. Great, thanks for letting me know.
  8. I've made a version that addresses the error you're seeing, please download it here and let me know if it works: https://dl.dropboxusercontent.com/u/103385/Reminders-beta.alfredworkflow
  9. Sorry… in this case I don't think I can help. Edit: on second thoughts I can probably fix the immediate problem you have, but i think the workflow might still break. let me get back to you.
  10. What is your calendar and date format in System Preferences > Language & Region?
  11. There's no way to do that with this workflow.
  12. Technically it can be done, but it looks a bit weird: "r this on 01-10-2013 to " you must include the space at the end, and you can add the title at the end
  13. Unfortunately applescript's support for date formats is pretty terrible, and I've no interest in writing a wrapper function for it. If I find a script or function where someone else has solved this problem (written in pure, self-contained applescript), I'll consider implementing it. But my desire to do this myself is very low. Edit: Ignore that. I should be able to find a way to at least get the iso format like you've mentioned.
  14. Are you using the Mac App Store version of FoldingText? That would explain the difference.
  15. type "r help", that will show you the patterns that work for me, check the small text underneath each one to check which ones set the time/dates correctly. try using spaces instead of dashes as the date separator.
  16. This is a quirk of how alfred works. If you type "r refresh", it will actually process the command before displaying your last keystroke. What that means in your case is that it could be several seconds before the "h" will register.
  17. The way you must type dates & times is dependent on your region setting. The examples provided in the original post are based on me being in the UK. Depending on where you are, you will need to format them differently. As a rule, if the small text under the highlighted action reads correctly, then the command should work.
  18. Honestly this has cropped up before and I'm still unable to nail down what trips it up. Please try this special version here: http://dl.dropbox.com/u/103385/Reminders-beta.alfredworkflow Warning: I've increased the timeout period rather significantly. It _could_ hang your machine, use at your own risk.
  19. Download the latest version! Although please let me know if it works properly, I'm in the rather unfortunate position of not being able to test it on this machine because of OS 10.9…
  20. I've had a quick look at nvalt, but there doesn't seem to be a way to get the current note via applescript…
  21. Sounds like you are running up against the limit of 10 seconds for caching the reminders list (although I would expect there to be a lot more than 30). What's the test execution time?
  22. I think there's a few places you'll need to set it (each of the "Run Script" actions, and you must match the name of the list exactly (case sensitive I think). I can't test it myself as I'm away, but the other thing to try first is using the list in the command rather than changing the default, as in: r in 2 hours laugh out loud in random thoughts list
  23. You appear to be missing an important keyword: 'r <day> at <time> to <reminder_text>' also, note that if you want to do date + time, it needs to be in the form 'r <date> <time> to <reminder_text>
×
×
  • Create New...