Jump to content

JolinM

Member
  • Content Count

    47
  • Joined

  • Last visited

  • Days Won

    1

Everything posted by JolinM

  1. Spot on, thanks a lot @vitor! (love PinPlus btw!)
  2. Hi there, I played a bit with some of the workflow here, and they didn’t really did it for me. I created this one, inspired by this Envatotuts. The workflow creates predetermined folders. https://www.dropbox.com/s/q3l16bwzac02fcm/Create folders 0.5.alfredworkflow?dl=0 In this case, it will creates: _archives _ressources Links Export > _archives My issue is that the script will fail if my source folder has spaces in it’s name. Here’s the code: myPath=$(osascript -e 'try' -e 'tell application "Finder"' -e 'set this_folder to (the
  3. New version (1.5), with correction for selected text (if software supported by Antidote) or entered query.
  4. Yessss, that works! Here’s the final AppleScript related to the clipboard. set the clipboard to "{query}" tell app "System Events" to keystroke "v" using command down tell app "System Events" to keystroke "k" using command down Thanks for the support @deanishe, appreciate it!
  5. That helps; I’m progressing! I now have a paste that keeps the formatting, found here. It works in my workflow (action clic) Only thing is, I don't know how to chain them. Any help would be appreciated! Here’s my current workflow
  6. Thanks @deanishe or the quick answer. I now have this, but encounter the same problem… 😕 set the clipboard to "{query}" tell application "Antidote 10" activate new document tell application "System Events" to keystroke (the clipboard) end tell tell app "System Events" to keystroke "k" using command down
  7. Hi, I am trying to paste the query in a text document (Antidote 10) to be corrected. The problem I encounter is that the diacritics aren't preserved. Imput is: pourquoi les éléphants ne fonctionnent pas à côté Output is: pourquoi les ealeaphants ne fonctionnent pas aa coatea Current AppleScript goes like this: tell application "Antidote 10" activate new document tell application "System Events" to keystroke ("{query}") end tell tell app "System Events" to keystroke "k" using command down T hanks!
  8. Oh, both solutions are brilliant, thanks a lot for the insight!
  9. I thought "." was a wildcard in GREP 🤔. I actually want to filter based on the presence of absence of a query. My keyword has «Argument optional».
  10. I right now use a Condition if {query} is less than «.», but it somehow seams wrong. Isn’t there some more elegant way to do it? Best,
  11. Updated version, with antonyms and combinations. https://www.packal.org/workflow/antidote-10
  12. Great, that helps! Was able to fix my workflow with the last info, thanks a lot! Can be found here
  13. That helps a lot, thanks. I also found the answer to my original question! Needs to be "{query}" between brackets and with ". Here’s my final script: tell application "AgentAntidoteConnect" launch module dictionaries resource definitions word "{query}" end tell
  14. Hi @AntidoteConnect, thanks for the answer. Still not really sure how to make it work. Is it an issue of writing it in French vs English? tell application "AgentAntidoteConnect" lance module ‌dictionaries word q end tell The new error I have is the following « given », « in », « of », expression, « with », « without », autre nom de paramètre, etc. prévu(s) mais jeton inconnu trouvé(s). And after that, I still have to plug it in Alfred, which I don’t know how to do 😞.
  15. Hi, total N00b here. I’m trying to fix this workflow. Right now, I have this (running it as /usr/bin/osasciprt (AS) with imputes as {query} running instances Sequentially tell application "AgentAntidoteConnect" lance module dictionnaire mot q end tell The error message I receive is the following [14:29:52.840] ERROR: Antidote 10[Run Script] 56:68: execution error: La variable dictionnaire n’est pas définie. (-2753) But running it in Script editor does work… any clues?
  16. Okay, I’m now at tell application "AgentAntidoteConnect" lance module dictionnaire mot q end tell The error message I receive is the following [14:29:52.840] ERROR: Antidote 10[Run Script] 56:68: execution error: La variable dictionnaire n’est pas définie. (-2753) But running it in Script editor does work… any clues?
  17. Working on an update right now! ––– Actually, I need a bit of help with this one 😔 I have an updated Applescript that works well tell application "AgentAntidoteConnect" lance module dictionnaires mot "bougie" end tell But I don’t know how to translate it with the {query} so it can run in Alfred (/user/bin/osascript (AppleScript)). So far, I have this, but it doesn’t work. on run set theQuery to "{query}" tell application "AgentAntidoteConnect" lance module dictionnaire mottheQuery end tell end run
  18. @dood, you could try that https://cl.ly/b92edbcafa20 Basically, just changing the first line of the script to tell application "Brave Browser" Can’t test it, as I don’t use Instapaper anymore ¯\_(ツ)_/¯
  19. And here’s an updated version for Antidote 10.
  20. And when that is correct, it works! Thanks for your kind support, it really is appreciated. I packaged this part alone, if it’s of any help to someone else: download.
  21. Tried with another shortcut, and a keyword, but something ain’t right. I’ll try to do it like a pro ? – The modified workflow – Alfred 3.6.1 – MacOS 10.13.5 Starting debug for 'Safari Assistant' [2018-06-18 13:57:32][ERROR: action.script] ? 13:57:32 workflow.go:614: ------- Safari Assistant/0.5 (AwGo/0.13.2) ------- 13:57:32 tabs.go:131: &{2 1 Debugger Utility - Alfred Help and Support https://www.alfredapp.com/help/workflows/utilities/debug/ false} 13:57:32 update.go:171: 19h29m since last check for update 13:57:32 workflow.go:790: --------------------- 0.1
  22. Oups! You indeed just did, the post before mine… I feel a bit ashamed about not spotting it, sorry! Thanks for your quick answer; I can’t manage to make it work, thought… any clues
  23. Indeed, fantastic tool to help move around between browsers. I would second bk161124 suggestion, if ever
  24. Hi Carlos-Sz, this looks so great. Unfortunately, the download link is down Love your work!
  25. I have been looking for a long time for a way to simulate a keypad to be used for InDesign. So here is a script that can do just that. opt + 1 will give you opt + keypad 1 Here’s the download link.
×
×
  • Create New...