Jump to content

dfay

Member
  • Posts

    1,054
  • Joined

  • Last visited

  • Days Won

    62

Posts posted by dfay

  1. Yep.  Tried it on my laptop that I haven't used in 10 days or so and it worked perfectly.  Let me see if it works on the desktop tomorrow - maybe Alfred cached the old version or something.

     

    [edited]

     

    9 hours later & it works on my home desktop after a (unrelated) reboot.

  2. Thanks for following up.

     

    I checked the plist and it does have some devices without the Tabs key.  I tried the new version and had the same result - Alfred reverts back to a regular search for "tabs".

     

    But if I run the new script from Terminal, it runs without an error & produces what looks to me like properly-formed XML output.  And the output validates when pasted here: http://www.w3schools.com/xml/xml_validator.asp .  I'm not sure what would cause Alfred to stop the script when it runs fine in Terminal.  Any thoughts?

  3. This immediately reverts to a regular Alfred search for "tabs" for me.  When I copied the script into a file and ran it in terminal it throws up the following error:

     

     

    Traceback (most recent call last):
      File "./tabs.py", line 44, in <module>
        devicetabs.append([x['value']['DeviceName'], x['value']['Tabs']])
    KeyError: 'Tabs'
     
    I have three devices with iCloud tabs visible from Safari & can open them from Safari without problems.
  4. I think I have made some progress figuring out what is up.  When I tried the search, that wasn't working in Alfred, in Terminal, I got the result 

     

    Warning: SimpleXMLElement::addChild(): unterminated entity reference

    above the XML output.

     

    Other searches work.  

     

    The problem search had "\&" in the Title field of one of the publications.  When I replaced that with the word "and" , Alfred went back to finding the results successfully, and the search didn't give the warning when running search.php directly in Terminal.

  5. Hi

    This has stopped working for me for some reason.  I type bib & get the Search in Bibdesk library... prompt in Alfred, select it and start typing, then Alfred immediately bumps me to the default Google search for "bib " & whatever I typed.

     

    If I manually run search.php in Terminal, it outputs the correct results, XML formatted.  

     

    Any ideas?

    thanks

    Derick

  6. This is a great workflow.  I'm wondering if it could be easily edited to show only reminders coming up in a given period.

     

    e.g. 

     

    r month - reminders in the next month & overdue

    r week - reminders in the next week & overdue

    r soon - reminders in next __ user defined period

     

    I have a lot of reminders set up for recurring tasks that happen every 3-6 months, or once a year, and would like an easy way to suppress them.

  7. I set this up with "Keyword to Script to Notification" and it runs perfectly fine as far as I can tell - echoed the output to the notification as expected.  I edited the case statement to change elemC to a fixed string, as a way of testing that the for loop definitely ran, and it worked that way as well.

     

    What makes you think it isn't working?

  8. I've looked quickly at some options using Perl and Python (as well as bash tr , the existing approach) & none of them have worked for me....I'm not an expert in either though.

     

    http://ubuntuforums.org/showthread.php?t=1054470

     

    http://bioinfo2.ugr.es/documentation/Perl_Cookbook/ch01_10.htm

     

    Both of these work for unaccented characters, but not for accented.

     

    If you can find a script that works, hooking it into the workflow should be trivial.

  9. I just tried David's script.  It doesn't work for me either, but I get the following message in system.log : 

     

    Jun 26 10:52:05 mycomputernamehere.local osascript[7485]: Performance: Please update this scripting addition to supply a value for ThreadSafe for each event handler: "/Library/ScriptingAdditions/Satimage.osax"

     

    Then I updated satimage (here : http://www.satimage.fr/software/en/downloads/downloads_companion_osaxen.html )

     

    and now it still fails, but without any message in the log.

  10. Title pretty much says it all.  I have a workflow which is syncing via Dropbox, & which I use on three different machines, but which requires a hard-coded path that varies on each of the machines.  Is there a quick and easy system variable or something I can use to identify which machine I'm running on?  Applescript or bash-based preferably....

     

    I realize this isn't really an Alfred Q. but hopefully someone can help.

    thanks

    Derick

     

  11. I think you could add an if...then to only execute the click statement if the checkbox is checked.

     

    Some guidance on how to do so is here: http://stackoverflow.com/questions/9690129/tick-a-checkbox-only-if-its-not-selected

     

    & here: http://stackoverflow.com/questions/13021798/verify-a-checkbox-before-clicking-with-applescript

     

    Your code is the post above would need to begin

    tell application "Finder" (i.e. with the app name quoted).

×
×
  • Create New...