-
Posts
1,054 -
Joined
-
Last visited
-
Days Won
62
Content Type
Blogs
Gallery
Downloads
Events
Profiles
Forums
Articles
Media Demo
Everything posted by dfay
-
If you use TaskPaper, you may want to substitute the Applescript in this workflow with the one here: http://www.hogbaysoftware.com/wiki/ParseClipboardInFantastical , which converts a TaskPaper @due(YYYY-MM-DD) tag to the text due YYYY-MM-DD which Fantastical will parse as a Reminder. Updated 2015-03-25: Change Fantastical to Fantastical 2 & it works perfectly with F2.
-
Case Converter (including Title Case) - now working on MacOS 12.3
dfay replied to dfay's topic in Share your Workflows
Updated February 5, 2014 to handle Sentence Case and to add a second keyword to paste after conversion. On accented characters, see my post of 7/1/2013. Cheers Derick -
+1 for fncll's request for volume conversions. The code is pretty clear so I may try to add this myself -- perhaps the original dev. could put it on github?
-
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.
-
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?
-
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.
-
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.
-
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
-
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.
-
PinUnread — Open and manage your Pinboard “toread” bookmarks
dfay replied to vitor's topic in Share your Workflows
That is one crazy curl command, by the way! -
PinUnread — Open and manage your Pinboard “toread” bookmarks
dfay replied to vitor's topic in Share your Workflows
Cool, thanks. I just need it once. -
PinUnread — Open and manage your Pinboard “toread” bookmarks
dfay replied to vitor's topic in Share your Workflows
Cool. Unfortunately from del.icio.us days I have been in the habit of tagging stuff toread rather than using pinboard's built-in functionality. Would it be easy to have this also search for the tag toread? or do you have a script that could easily mark everything tagged toread as toread in Pinboard? -
Downer: Tag, Label, Delete, and Open Downloads
dfay replied to phyllisstein's topic in Share your Workflows
DL link is throwing up 404s.- 18 replies
-
- downloads
- file management
-
(and 2 more)
Tagged with:
-
/bin/bash "For" loop statement not working?
dfay replied to Tazintosh's topic in Workflow Help & Questions
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? -
Case Converter (including Title Case) - now working on MacOS 12.3
dfay replied to dfay's topic in Share your Workflows
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. -
This can all be done with workflows, like this one: http://www.alfredforum.com/topic/2180-case-converter-including-title-case/
-
Trouble getting started with workflows using applescript
dfay replied to Beeber's topic in Workflow Help & Questions
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. -
Thanks. This is a great time-saver. I copied the icon from the actual Library folder and replaced the icons that come with the workflow - the workflow icons had a white background, whereas the actual Library folder icon has a transparent bkgd. & looks much nicer with colored backgrounds in Alfred.
-
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
-
See the first pinned topic in this forum: http://www.alfredforum.com/topic/1283-how-to-script-filters-reusing-a-single-script-filter-or-chaining-multiple-together/
-
[Request] Workflow to enable/disable Internet Sharing
dfay replied to tyler_zyco's topic in Workflow Help & Questions
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). -
[Request] Workflow to enable/disable Internet Sharing
dfay replied to tyler_zyco's topic in Workflow Help & Questions
Create a workflow that calls this Applescript: http://lifehacker.com/5745770/toggle-sharing-preferences-in-os-x-with-a-one-click-applescript -
This is an extremely useful feature that I've somehow missed for months! Thanks.