-
Posts
1,054 -
Joined
-
Last visited
-
Days Won
61
Content Type
Blogs
Gallery
Downloads
Events
Profiles
Forums
Articles
Media Demo
Posts posted by dfay
-
-
-
That script was by automation legend Rob Trew - he's still active on the DT forums as houthakker and on GIthub here: https://github.com/RobTrew/tree-tools and/or @complexpoint on Twitter.
But I can also take a look in the next few days at what you're trying to do - I also use BibDesk. BD & Skim & DT allow for more through automation than any other combo. of apps. I can think of, so it's well worth learning AppleScript if you're going to work with that combo. (In fact I don't use TeX at all but I use BibDesk just because of its scriptability...).
-
Updated for Big Sur / Keynote 10 at https://github.com/derickfay/keynote-to-pdf
-
Oh I see, thanks. I was hoping it would (and thinking that logically it should) be a matter of granting an app permission to access Mail but no such luck.
-
HoudahSpot has added a Mail plug-in that lets it search Mail when Mail is running - in Big Sur at least, not sure about Catalina - @Vero do you expect something similar in Alfred's future?
-
This is the most comprehensive article I’ve seen on the topic:
https://scriptingosx.com/2020/09/avoiding-applescript-security-and-privacy-requests/
-
I've had no problems on my M1 MBP.
-
You just need to find command-line utilities to call for these tasks (LAME, sox , ImageMagick, VLC, textutil, etc.) and then stick the commands into file actions. There are workflows here but they are oldish e.g.
But the approach would be the same.
-
I got my 1.0 license 9 years and a few weeks ago. Not sure how long I was in the beta before then.
-
-
I haven't touched this in years but here is how I got my TE snippets into MacOS:
https://github.com/derickfay/snipcon-OSX
You could use Hazel as I do here
but have it output the .plists and import them
-
-
Here's what your log should show:
It looks like you're passing the file name as the query - is that what you're trying to do? I had thought you were adding separate files but not using the workflow to select among them.
Here's what my script filters look like:
I've added several with unique keywords for each and different csv files in the command above.
-
You just need to move that line down to below import sys - that error is occurring because sys hasn't been loaded yet.
Everything else stays the same. (Sorry about my sloppy python!)
I tried to post the code here but got a server error so it's at https://github.com/derickfay/fuzzylist/blob/master/fuzzylist-mf.py
-
lf you have the Alfred power pack, you can download the workflow above - then you’ll need to set the keystroke to trigger it. See
-
something like this should work - basically there are two versions of the file and Alfred calls a shell script to copy one or the other into a third active file. I found that was easier than trying to parse file contents.
-
Why wouldn’t you put them all in one workflow per service? Alternately use BBEdit or the like and do a multifile search of the plists?
-
it looks like you had this issue before - have you tried rebuilding launch services so markdown files get the correct uti assigned?
-
This is already easily done with snippet triggers.
-
Yeah I subsequently tried the demo & it works for me.
Here's the output - looks fine to me.
<?xml version="1.0"?> <items><item uid="bib/Users/someusername/Library/Caches/Metadata/edu.ucsd.cs.mmccrack.bibdesk/Cannon-2010a.bdskcache" arg="/Users/someusername/Library/Caches/Metadata/edu.ucsd.cs.mmccrack.bibdesk/Cannon-2010a.bdskcache"><title>Vulnerability, resilience and development discourses in context of climate change</title><subtitle>article, 2010: Cannon, Terry; Müller-Mahn, Detlef</subtitle><icon>icon.png</icon></item><item uid="bib/Users/someusername/Library/Caches/Metadata/edu.ucsd.cs.mmccrack.bibdesk/McMullin-2016a.bdskcache" arg="/Users/someusername/Library/Caches/Metadata/edu.ucsd.cs.mmccrack.bibdesk/McMullin-2016a.bdskcache"><title>Cancer and the Comics: Graphic Narratives and Biolegitimate Lives</title><subtitle>article, 2016: McMullin, Juliet</subtitle><icon>icon.png</icon></item><item uid="bib/Users/someusername/Library/Caches/Metadata/edu.ucsd.cs.mmccrack.bibdesk/Marianne-Bertrand-2005a.bdskcache" arg="/Users/someusername/Library/Caches/Metadata/edu.ucsd.cs.mmccrack.bibdesk/Marianne-Bertrand-2005a.bdskcache"><title>Implicit Discrimination</title><subtitle>article, 2005: Marianne Bertrand, Dolly Chugh; Mullainathan, Sendhil</subtitle><icon>icon.png</icon></item><item uid="bib/Users/someusername/Library/Caches/Metadata/edu.ucsd.cs.mmccrack.bibdesk/Mcmullin-2010a.bdskcache" arg="/Users/someusername/Library/Caches/Metadata/edu.ucsd.cs.mmccrack.bibdesk/Mcmullin-2010a.bdskcache"><title>The Healthy Ancestor: Embodied Inequality and the Revitalization of Native Hawai'ian Health</title><subtitle>book, 2010: Mcmullin, Juliet</subtitle><icon>icon.png</icon></item><item uid="bib/Users/someusername/Library/Caches/Metadata/edu.ucsd.cs.mmccrack.bibdesk/McMullan-2002a.bdskcache" arg="/Users/someusername/Library/Caches/Metadata/edu.ucsd.cs.mmccrack.bibdesk/McMullan-2002a.bdskcache"><title>Lobster poaching and the ironies of law enforcement</title><subtitle>article, 2002: McMullan, J.L.; Perrier, D.C.</subtitle><icon>icon.png</icon></item><item uid="bib/Users/someusername/Library/Caches/Metadata/edu.ucsd.cs.mmccrack.bibdesk/Muller-1987a.bdskcache" arg="/Users/someusername/Library/Caches/Metadata/edu.ucsd.cs.mmccrack.bibdesk/Muller-1987a.bdskcache"><title>Transkei Livestock Census Data - by Magisterial District</title><subtitle>book, 1987: Muller, N.D.; Mpela, V.N.</subtitle><icon>icon.png</icon></item><item uid="bib/Users/someusername/Library/Caches/Metadata/edu.ucsd.cs.mmccrack.bibdesk/Muller-1987b.bdskcache" arg="/Users/someusername/Library/Caches/Metadata/edu.ucsd.cs.mmccrack.bibdesk/Muller-1987b.bdskcache"><title>The Population of Transkei - by Magisterial District</title><subtitle>book, 1987: Muller, N.D.; Mpela, V.N.</subtitle><icon>icon.png</icon></item></items> <!-- Time for searching: 0.80533909797668 sec--> <!-- Total time: 0.80955910682678 sec--> [10:16:47.624] ERROR: BibDesk Search[Script Filter] JSON error: JSON text did not start with array or object and option to allow fragments not set.
-
I have an old unsupported 3rd party script filter that outputs Alfred XML & I don't have time or knowledge to rewrite the php to output JSON. This was working fine until recently it started throwing the following error:
[10:16:47.624] ERROR: BibDesk Search[Script Filter] JSON error: JSON text did not start with array or object and option to allow fragments not set.
It seems Alfred has stopped recognizing the old deprecated XML. Is there a way to force a script filter to still use the legacy XML processor instead?
https://www.alfredapp.com/help/workflows/inputs/script-filter/xml/ for background.
-
Last I checked you could only style large type - see
-
Yes, you can use a snippet trigger. Here's an example:
& the docs here:
https://www.alfredapp.com/help/workflows/triggers/snippet/
& an easy fix for a potential issue:
-
how AppleScript interfaces with Alfred?
in Workflow Help & Questions
Posted
Look at the AS dictionary for Alfred
https://macscripter.net/viewtopic.php?id=24777