Jump to content

JolinM

Member
  • Posts

    65
  • Joined

  • Last visited

  • Days Won

    2

Everything posted by JolinM

  1. Good idea; done! Thanks again for all the support. Hope the swim was nice 🙃
  2. Version 1.1 now with a Configuration, requirement and introduction. imageprep is needed for the workflow to work.
  3. Amazing! Did exactly that, and it works! I updated my post here. Let me know if you have any suggestion to improve it 🙃
  4. Working by examples and reverse engineering existing workflows is really great, help's a lot! In this case, your workflow seems to be a File Action. As mine start with a Keyword + Finder section, I'm struggling to connect the right thing. Here's where I'm at. Really appreciate the help btw!
  5. Almost there! I now have a configuration page + requirement. Only thing I still can't figure is how to loop my script for each selected file. Should that be done with a Split Arg Utility? My current selection from the Finder is formatted like this: "/Users/jolinmasson/Desktop/photo 1.jpg", "/Users/jolinmasson/Desktop/photo 2.jpg", "/Users/jolinmasson/Desktop/photo 3.jpg"
  6. Well, that is a standby; still have some refinement to do on the Worklow so it can be configured for everybody.
  7. HI @Stephen_C, didn't think of that, but it is all good recommendation. Will go back to refining it a bit. Stay tuned.
  8. I finally finished this quite simple workflow. Thanks for the guidance @Stephen_C. Here's the final product.
  9. You sir are a life saver! Here's the working 1.0 version of the workflow if it helps anyone! thanks again, couldn't have done it without you. Here's the final product.
  10. Convert selected image files to TIF 300 dpi and save then on the desktop. Author @JolinM GitHub page
  11. Hi @vitor, thanks for the help. I tried with Selection in Finder, but it doesn't seams to work. Here's my workflow so far. Any clues?
  12. Hi, I really feel like a dumb dumb, but I can't get my thing to run. I've been exploring the Getting Started workflows, the Documentation, but I think what I'm asking is too basic to be found there… I have a script that works. It currently uses a specific file: imageprep -s /Users/jolinmasson/Desktop/SOURCE.jpeg -d /Users/jolinmasson/Desktop/ -r 300 -f tif I want to run it with the Selection in Finder Automation action. How do I connect the two to make that happen? Thanks!
  13. Hi @Stephen_C, thanks for the help, I can definatelly build on this! That being said, I still don't know how to run my imagepre shell script with success in Alfred (or Shortcut or Illustrator). Best,
  14. Hi all, I tried building an Automator or Shortcut or Alfred workflow and failed each time 😞. My goal: 1. convert images to TIFF 2. change the resolution of the TIF to 300 DPI (either with sips or imageprep [?]) 3. move source file in a subfolder called Archive. I'm able to do step 1/2 with this shell script imageprep -r 300 -f tif But I don’t know how to do the rest… and / or get the selected files in the folder. I also tried building a workflow with Alfred Automations… I think I'm turning in circle in my living room now. Any insight would be appreciated! 😅
  15. Bonjour @TheThunderChimp, Mon script est un simple AppleScript qui va comme suit: My script is a simple Applescript that goes like this: on alfred_script(q) tell application "Antidote 9" lance dictionnaire mot q end tell end alfred_script Autant que je sache, c’est la limite d’interaction qu’Antidote 9 possède. @AntidoteConnect aurait peut-être plus d’éclaircissement? As for as I know, it’s a limit that Antidote 9 has. Maybe AntidoteConnect will be able to show us some light.
  16. So basically, you just need to uncheck the Check process identity box in Little Snitch for Alfred 4.
  17. Hey @shampoo, the different error messages comes from Connectix. They way I bypass it is to use the function cor and then paste my texte in Alfred.
  18. Spot on, thanks a lot @vitor! (love PinPlus btw!)
  19. 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 target of the front window) as alias' -e 'set this_folder to POSIX path of this_folder' -e 'return this_folder' -e 'end tell' -e 'end try' -e 'set this_folder to POSIX path of (path to desktop)' -e 'return this_folder') cd $myPath mkdir _archives mkdir _ressources mkdir Links mkdir Export cd Export mkdir _archives Any thoughts?
  20. New version (1.5), with correction for selected text (if software supported by Antidote) or entered query.
  21. 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!
  22. 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
  23. 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
  24. 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!
×
×
  • Create New...