Jump to content

surrealroad

Member
  • Posts

    264
  • Joined

  • Last visited

  • Days Won

    14

Posts posted by surrealroad

  1. This is great! Can you add support for the WebKit Nightly <http://nightly.webkit.org> for `r this`? It should be identical to Safari.

     

    If the source is up somewhere I can look into making whatever changes are necessary. I didn't see any links to the source though.

     

    Added support for webkit nightly, grab the latest version.

     

    In terms of access to the source, everything should be readily available inside the workflow's bundle (once it's installed). The only other thing that I could do is provide the applescript in text format, but this would be a bit of a headache for me as I'd have to remember to save two copies of everything. The compiled applescript files that are included (*.scpt) *should* be editable by users, do let me know if that's not the case.

     

    One thing I haven't done, which perhaps I could, is to include some rudimentary documentation for the inner workings. I don't know if enough people would be digging around in this to make it worth my time though?

  2. dear jack james,

     

    as a passionate procrastinator, something like this would come in really handy for me :

     

    r tomorrow 11:00 milk the goat
     
     

    The latest version will allow you to do "r tomorrow at 11:00 to milk the goat".

     

    Tip: due to supporting both 12 and 24 hour clocks, you will get more predictable results when using "11am" instead of  "11:00"

  3. Awesome idea with set reminder in number of minutes or days. I think it would be more awesome if use both parameters at same time. Like this:

     

    r in 2 days 5 hours to Call Lucy

    or

    r in 2d5h to Call Lucy

     

    What do you think?

     

     

    Now that the bugs are gone I feel ok about adding new stuff.

     

    Added "r in x days y hours" and "r in x hours y minutes" patterns to the latest version.

  4. Hi Jack How are you doing the Check for Updates I haven't seen anyone else have a system to check yet I hope Alfred gets a official workflow update system soon we have needed one since V1 

     

    You can dig around with the code if you like, it runs "cache-update.scpt" in the workflow folder with the bundle id as a parameter.

     

    But basically it pings a webpage (once every 4 days by default) with the bundle id, which replies with the latest version. If a new version is available, I simply add an action to alfred to download it.

     

    My implementation is a little more complex than that, mostly because I have a shared codebase between all my workflows.

  5. Yeah, tested it with Chrome and Mail.Really nice! 

    Vienna (RSS Reader) doesn´t work.

     

    I would love such a workflow for Wunderlist!

     

    Domenic

     

    edit: Yes, just wanted to edit my post that I´ve seen Wunderlist is not scriptable.Thank you for the fast answer! I seriously consider to change to Reminders...This workflow is gold :)

    Added support for Vienna. See the latest version.

  6. Yes, that works and took about 1 1/2 minutes to close - all the time at 99% CPU though. To be honest I am not fussed about the 'r all' command, having so many it would be of no use. So I would personally be OK if it did time out after 100.

     

    You'd still need the cache to run successfully even just to be able to search for any existing reminders. The way it works now is that the cache will run every time you update any reminders using the workflow, or manually using the "r refresh", or otherwise if it hasn't been run for 2 hours. There's not much I can do to stop the CPU peaking, that's just how applescript works.

     

    EDIT: The latest version reduces the timeout to 10 seconds or so.

  7. EDIT: It's possible there's another cause for this. Can you try the new version I just uploaded?

     

     

     

    EDIT: It's possible there's another cause for this. Can you try the new version I just uploaded?

     

    Based on your test log, it looks like Reminders is crashing.

     

    This is probably due to the high number (~500?) of incomplete reminders you seem to have, not having a test size that large to work with it's hard to know for sure.

    If you think it would be useful to you, I can modify the workflow so that you should at least be able to just use "radd" without it crashing.

     

    Yes, that latest version seems to have fixed it! Takes about 20 seconds for reminders to close, but it does close. I tried just 'r' and 'r in 5 mintes...' and both were fine. Thanks so much for sorting it.

    Unfortunately that hasn't quite fixed it yet; you'll find that the process simply timed out after loading 100 reminders, so "r all" will not actually show all the reminders.

     

    However, now I know that it should work I can tweak the parameters a little. Can you try the latest version? This one should allow up to 10,000 or so reminders to be processed, assuming it doesn't crash, of course-- reminders should stay open for no longer than 2 minutes.

  8. Hi,

     

    I am still getting Reminders staying open and being at 99% CPU. I ran radd something and rshow all and they both worked, but reminders stayed open. radd something was actually a lot faster at creating the event then just 'r' - that normally takes 5 or 10 seconds. So I ran the test, and reminders opened and nothing happened. After a while I quit reminders, and the test finished at the point. As you can see that was after about 3 minutes!

     

    I did it again, and again it didn;t complete until I quit reminders. HEre are the results, and as you can see there is an error in there.

     

    EDIT: It's possible there's another cause for this. Can you try the new version I just uploaded?

     

    Based on your test log, it looks like Reminders is crashing.

     

    This is probably due to the high number (~500?) of incomplete reminders you seem to have, not having a test size that large to work with it's hard to know for sure.

    If you think it would be useful to you, I can modify the workflow so that you should at least be able to just use "radd" without it crashing.

  9. radd works! rshow works (if i enter a keyword)! r just sits there at "Processing request..." and never does anything. rtest results PMed to not clutter up thread. Thanks for checking into it.

     

    Thanks for that. I've updated the workflow with one additional test, if you get a chance can you download and do it again?

  10. This workflow has unfortunately always been very buggy for me. Anytime I install it, it seems to only work about 1/10th of the time. For example, when I put in help, I do see the list of help commands, but when I put in anything else nothing shows up and "add reminder" is not clickable. Sometimes nothing shows up at all, just my default searches. All other workflows currently working fine...

     

    http://cl.ly/image/0E3z03330D2y

     

    http://cl.ly/image/363p1Z1H0d1c

     

    http://cl.ly/image/2p0w2L0G242E

     

     

    Same here. Doesn't work for me :/

     

     

    The same here, I cannot click / select items. It seems *not* to be related to the "valid" property. I checked that but any other debugging I did not do so far. 

     

    EDIT: Looks like this is now fixed, everyone grab the latest version.

     

     

     

    Well clearly something is wrong :(

     

    Sorry everyone who is having this issue. I can't make it happen on either of my systems, so I need to gather more data from people who are having this problem. So if that's you, can you download today's version, which has two extra keywords, "rshow" and "radd" (will show existing, or add new reminders respectively). Try it with both of those, and let me know if one or the other works.

     

    I'll do my best to get a version out which can run some tests to see what exactly is breaking, I'll edit this post when it's ready (for those of you on the west coast, should be ready by breakfast ;) )

     

    Everyone having issues please now download and install the latest version, try "radd something" and "rshow all" and see if either of those work. Let me know if they do.

     

    Next run "rtest".

     

    It will take a few seconds to run, you'll get a notification that it's complete, with the results on your clipboard.

     

    Please post here with the results, or PM them to me. In the event that this doesn't flag anything up, I'll add a bunch more tests.

    Test results:
    OS version: 10.8.3
    Current date: Tuesday, 9 April 2013 13:56:31
    Initialize workflow path: /Users/jack/Dropbox/Alfred/Alfred.alfredpreferences/workflows/user.workflow.74D66E93-4C95-40CE-B93F-E89237A4CFAB
    Initialize alfred-library: OK
    Initialize wf-library: OK
    Reminders.app state: Running
    Fetch reminder count: 19
    Fetch reminder info: OK
    Fetch reminder list count: 1
    Fetch reminder list info: OK
    Run cache process: OK
    Fetch cache timestamp: Tuesday, 9 April 2013 13:56:39
    Fetch cached reminder count: 19
    Test basic query: OK
    Test today query: OK
    Test tomorrow query: OK
    Test in n minutes query: OK
    Test in n hours query: OK
    Test in n days query: OK
    Test at time query: OK
    Test in x list query: OK
    Subtitle generation: OK
    Test basic reminder filtering: OK
    Test remind today reminder filtering: OK
    Test due tomorrow reminder filtering: OK
    Test reminder list filtering: OK
    Current unix time: 1.365512199E+9
    Test execution time: 8 seconds
    
  11. @Jack James, a tiny bug I've seen since the beginning but never bugged me enough. When specifying the time for the reminder, you need to keep the minutes, hours, days string in plural, else the app wont get it right. For example, if I want a reminder in 1 hour, I need to type: r in 1 hours do something. Not a big deal, but counterintuitive. :)

    Certainly can't have that!

     

    See the latest version.

  12. Sorry for the delay, but haven;t been able to get the forums to open for some reason. Anyway, this is happening whether I type "r do something" or r"in 5 minutes do something". The first one opens Reminder as soon as I start typing after the R, the second opens it after finishing. On both, Reminders doesn't close, and in fact cycles at 100% CPU until I close it. If I just open normally, it is fine.

     

    Hmm. It may be that the latest version fixed a related bug, try that first. Otherwise can you let me know your OS version.

  13. I believe that you have to have computers saved within "All Computers" in remote desktop.

     

    The current version of this workflow is quite rudimentary, it literally just (via applescript) asks remote desktop for a list of computers and then displays them.

     

    That said I've just updated the workflow which addresses some minor issues, maybe the new version will work better for you.

  14. holly crap! this workflow is getting really amazing!

    One feature request: in the r all list, can you add an option to delete (not complete) the selected reminder?

     

     

    I know I didn't ask but it sounds pretty sweet to me, plus it's not that hard to change the modifier. Even those not so savvy among us like myself can do that!

     

    See the latest version.

  15. holly crap! this workflow is getting really amazing!

    One feature request: in the r all list, can you add an option to delete (not complete) the selected reminder?

     

    I would think so-- how does holding ctrl down to make this happen sound?

  16. Ahh! "r this" is awesome! Thank you for implementing it !!

     

    If I had to make a request for another app to integrate with I would have to say browser wise, Chromium. Although I could probably change the Google Chrome to Chromium which I haven't tried yet...

     

    Other app wise, Finder... write posix path or linking directly would be really cool.

     

    Weird things, probably due to my own requests for new additions... :

     

    When pressing "alt/option" to Show in Reminders.app it marks it as completed... I guess because Enter is to complete a reminder and alt is is to show so when you combine the two you get a reminder shown that's now marked as completed. Might be the default behavior and if it is, how can I just view it in reminders without marking as complete (of course besides going into reminders outside of the workflow!)

     

    Oh yeah one last thing. For some reason when I enter a task with no due date and no list to go in just something simple like "r wow this is crazy" - the workflow is cutting off the y from crazy. Sometimes it does it, sometimes not... can't really pin it. 

     

    Sorry for being a pain in the ass! Always appreciated and love the new features...

     

    Added support for Chromium, fixed the "option marks the reminder as complete" bug. See the latest version.

    In terms of the last letter getting cut off, I can't reproduce that. The only thing could be that you're a really fast typist… Whatever the cause, Alfred should catch up as long as you don't hit enter before the full query appears in the description.

  17. Stunning stuff this! Thank you. 

     

    Reminders is however staying open for me after creating the reminder - I have just downloaded, so presume I have the latest version.

     

    Is there any particular keyword you're using where this happens? It seems to be working ok for me. Alternatively it could just be the case the very first time you run the workflow.

  18. It seems a note with "&" prevents a note from being created -- text under search bar turns to "Fetching notes..." ("&" is present in some hyperlinks that I like to add to notes). Can you try to fix that? Maybe just happened with latest update since first time using notes since update and it happened (but could also be just first time I used an "&").

    Thanks!

     

    Fixed. See the latest version.

  19. Is there a reason why you don't use Aleyoop for easy updating?

     

    From the top of the Alleyoop post:

    Note from Andrew: While this is a convenient method for updating workflows, I cannot endorse the use of it unless you are fully aware of the security implications of blanket updating all of your workflows. I'm currently working on a built in workflow auto-updater, for a future Alfred 2 release, that performs the standard verification checks that Alfred currently does on manual import, along with migrating your hotkey/keyword settings on upgrading. I'll also be adding 3rd party workflow developer signatures to keep you safe.

     

    I believe my own implementation of auto-update works fine. It checks once every 4 days (configurable) and just prompts as an action. If you action the the update, it merely downloads the new extension, you can then decide to install it (or not), and it will go through Alfred's standard update process. You can also disable the update checking functionality altogether, and just update manually when you like.

  20. This is my favorite - and most used - workflow. And just looking at my list of reminders I see that most are to remind me to do something with someone - someone who is most likely in my Contacts. So an "r this" that pulls from the OSX Contacts app would suit me. Maybe others too?

     

    See the latest version.

  21. It seems to be a very fantastic workflow. But for whatever reason it didn't work for me.  :(

    i.e. tried "r in 3 days pick stuff"

    Bildschirmfoto%202013-04-06%20um%2010.08

     

    But when I confirm the reminder nothing happened. No reminder was set.

    Is it because of my system and so the reminder app is in german?

     

    The only command that is working is "r this".

     

    Thanks in advance for your help.

     

    Sorry! That's my fault. I accidentally disabled all the other keywords in that release. Please download the updated version.

     

    (This is what happens when I write code late at night :/)

  22. This is my favorite - and most used - workflow. And just looking at my list of reminders I see that most are to remind me to do something with someone - someone who is most likely in my Contacts. So an "r this" that pulls from the OSX Contacts app would suit me. Maybe others too?

     

    Funnily enough, that's the app I was thinking of too. I'll let you know.

×
×
  • Create New...