Jump to content

JolinM

Member
  • Content Count

    47
  • Joined

  • Last visited

  • Days Won

    1

JolinM last won the day on March 7 2014

JolinM had the most liked content!

About JolinM

  • Rank
    Member

Recent Profile Visitors

699 profile views
  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?
×
×
  • Create New...