Jump to content

dfay

Member
  • Content Count

    909
  • Joined

  • Last visited

  • Days Won

    50

Everything posted by dfay

  1. TE import is discussed here: http://www.alfredforum.com/topic/8883-import-textexpander-snippets-into-alfred-v3/ and available as a web app here: http://alfred.danieldiekmeier.de
  2. You should use a Run Script object instead of Terminal Command. Alternatively you can do this without a workflow at all using a snippet with dynamic placeholders - see https://www.alfredapp.com/help/features/clipboard/dynamic-placeholders/
  3. That should be really easy. Follow the directions here to get the OS X .plist with the substitutions https://support.apple.com/en-us/HT204006, then convert the .plist from XML to Alfred JSON format.
  4. Hi strajk This should do what you want: https://github.com/derickfay/import-alfred-snippets I've only tested it with the sample text you provided above (with the spaces outside the quotes removed) and it worked fine.
  5. Thanks Vero and Frozen - great point Frozen re: the unfortunate state of iOS keyboards, too. I think for now a wait-and-see approach is prob. best, too.
  6. This forum has seen a lot of posts recently (including my own) which are basically geared towards allowing Alfred to replace TextExpander in the wake of the Smile pricing/sync kerfuffle -- ideas like allowing tabs/form filling, input within snippet expansion, snippets triggering workflows/scripts, case sensitivity in snippets, etc. Thinking about what it would take for me to be able to replace the 250+ snippets I have in TE with Alfred snippets, there are two killer features....1) is snippets to trigger scripts (mostly for date math)....I suspect this is in the works....2) is the ability t
  7. You can create multiple keywords for workflows already. Just add an additional keyword object and link it to the same outputs as the existing keyword. Keywords in Alfred's window aren't case sensitive. But you're right, snippets only allow a single case-sensitive keyword as it stands now. Re: conflicts with existing words, I'd recommend pursuing an approach that uses punctuation or double letters to avoid that possibility. The approach I've been using for the last couple years is the dot notation described here: https://medium.com/@zholmquist/textexpander-abbreviations-b8e09452
  8. It would be great to be able to hold a modifier key when opening an app from Alfred, and have it open in the background without stealing focus. This can be done from the command line with open -g path/to/app and I could create workflows for each of my commonly used apps to allow this....but it would be great as a built-in feature.
  9. Yep, working now, thanks! Doing the Boolean searches from Caleb's original request is going to be more of a challenge....
  10. details and sample workflow that shows the problem here: http://www.alfredforum.com/topic/8868-alfred-v3-dynamic-filters/
  11. If I read your intention correctly, you can create a new workflow trigger that does nothing but post a notification, then call that via Applescript instead of using "display notification" It'll look something like tell application "Alfred 3" to run trigger "xxxxx" in workflow "xx.x.x.x.x" with argument xxxx ​but the workflow trigger object will give you the exact code
  12. What I did was to look for the block of html in the source that had the advanced search form, which was here: <!-- CONTENT ELEMENT, uid:61050/text [begin] --> <div id="c61050" class="csc-default"> <!-- Text: [begin] --> <p class="bodytext"><a href="https://search.ebscohost.com/login.aspx?direct=true&authtype=ip,guest&custid=s8336272&setup=1&groupid=main&profile=eds"title="Ouvre un lien externe dans une nouvelle fenêtre" target="_blank">Recherche avancée</a></p> <!-- Text: [end] --> </div> <!
  13. After a bit of poking around in the source, I believe this should work: https://search.ebscohost.com/login.aspx?direct=true&authtype=ip,guest&custid=s8336272&setup=1&groupid=main&profile=eds&bquery={query} or for author https://search.ebscohost.com/login.aspx?direct=true&authtype=ip,guest&custid=s8336272&setup=1&groupid=main&profile=eds&bquery=AU+{query} or for title https://search.ebscohost.com/login.aspx?direct=true&authtype=ip,guest&custid=s8336272&setup=1&groupid=main&profile=eds&bquery=TI+{query} I've been assum
  14. The easiest way to figure out a search URL is to do a search, then dissect the URL that displays the search result. So if I search for Bourdieu , that library produces a URL with a lot of cruft: https://eds.a.ebscohost.com/eds/results?sid=a907e052-7b42-4396-af76-278c2c68a208%40sessionmgr4001&vid=0&hid=4203&bquery=Bourdieu&bdata=JmNsaTA9RlQxJmNsdjA9WSZsYW5nPWZyJnR5cGU9MCZzaXRlPWVkcy1saXZl So the next step is to try stripping out everything but the query. unfortunately the simplest form https://eds.a.ebscohost.com/eds/results?bquery=Bourdieu results in an Internal Server Er
  15. I put my workflows in Categories and filter the view as needed. https://www.alfredapp.com/help/workflows/organising-workflows/ An advantage here is that the category is stored with the workflow metadata, so it can be read without needing to find a way to query Alfred's UI to get the enclosing folder, and/or automatically change a folder field when the user drags stuff around in the UI.
  16. Just updated this with a new version for Alfred 3.
  17. grep -rl "tell application \"Alfred 2\"" * | uniq will give a list of files with the hardcoded tells. I have 22. user.workflow.1358A7BF-26C3-4312-BA23-D4E87BA625B6/info.plist user.workflow.1E4D4384-542C-406A-B5B2-35E4B7AB3C35/info.plist user.workflow.23A2D552-B4DB-4773-A336-ED82109C352D/info.plist user.workflow.2DED841C-F5F8-48A7-A695-383B1FCD3BE5/bundle/ruby/1.8/gems/alfred-workflow-1.8.0/lib/alfred.rb user.workflow.34B64201-8299-4E7C-85A1-F7736E15E97E/info.plist user.workflow.38BEA6E3-5C51-490A-86AF-48D9C0A181C5/fav_recent.scpt user.workflow.5194A7D5-853C-43D5-8184-0D211A70DBA6/info.plis
  18. To see which workflows might break, you can run the following bash command in your workflows directory: grep -r "tell application \"Alfred 2\"" * It produced 161 matches when I ran it in my workflows directory (with 151 workflows in the directory). So potentially there's a lot that can break. I deleted the DJPedro workflow which I never use, and that got it down to 64 matches right away, but it still looks like there are 20+ individual workflows that may break.
  19. I'm thinking still about using Alfred to replace TextExpander. TE allows snippets to run scripts. Alfred has snippets....and Alfred workflows can run scripts. So how about allowing Alfred snippets to be workflow triggers? And to go with this -- add a "Type Text" workflow output (with the option of replacing the incoming snippet). It seems like these would open up a whole lot of automation options, by linking up two existing features, and sticking with the paradigm that folks are used to in building Alfred workflows. D
  20. If I call up Alfred's input panel, then type a snippet, it doesn't auto-expand. The same snippet works fine in other text fields. And my TextExpander snippets work fine within Alfred's input panel. But I'd like to ditch TextExpander in the long run.
  21. Hi Caleb you can search a specific type of file with a File Filter by setting its file types then under the Advanced tab adding a metadata field for kMDItemTextContent -- this is the Spotlight metadata key for file contents (the default on a File Filter is to search filenames and Finder comments -- you may also want to delete these). In theory (moving on to the dream workflow...) you should be able save file type and tags to a variables, then use a JSON Config to pre-populate the File Filter's type and the search terms for kMDItemUserTags but in practice this doesn't seem to work. Her
×
×
  • Create New...