home.social

#automator — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #automator, aggregated by home.social.

fetched live
  1. Ah, it seems my Google-foo is strong. I think I found a modified #Automator #ShellScript to not add the line feed.

  2. Ah, it seems my Google-foo is strong. I think I found a modified #Automator #ShellScript to not add the line feed.

  3. Any #Automator #ShellScript experts care to help?

    I created the following script to copy the first 6 characters of a selected filename to the clipboard. But the clipboard item ends up with a hard return after the characters. Is there a way to put a stop to that?

  4. Any #Automator #ShellScript experts care to help?

    I created the following script to copy the first 6 characters of a selected filename to the clipboard. But the clipboard item ends up with a hard return after the characters. Is there a way to put a stop to that?

  5. For the second time in my life I thought of something macOS Automator might be able to do for me, and for the second time in my life that’s been an hour wasted and, no, Automator can’t do anything for me.

    #apple #macos #automator

  6. For the second time in my life I thought of something macOS Automator might be able to do for me, and for the second time in my life that’s been an hour wasted and, no, Automator can’t do anything for me.

    #apple #macos #automator

  7. I'm trying to reuse an old iPad 2 as a photo frame and I just found out it doesn't even know about any photos before 1970. What's significant about that year? 1970-01-01 is the unix epoch. I'd laugh if this wasn't so pathetic.

    I loaded over 6,000 photos on the iPad but it seems that half are blank squares. I used Automator's Pixelmator Pro scaler to downsize the photo's to the iPad native resolution. I should know better than to trust Apple software.

    #Apple #iPad #Automator #PixelmatorPro

  8. #Apple folks, what is the best way to monitor a folder under #macOS and invoke a shell script/command when new files are added?

    I want to have a PDF-inbox, which gets OCRt whenever I add a new file. Currently my NAS does this via cronjob and I need a better solution.

    #Automator ? #FSWatch ?

  9. Vamos combinar que o robozinho perdeu o seu charme no ícone do #Automator criado para o #macOSTahoe26, não é mesmo? 🤖 [via @BasicAppleGuy] instagram.com/p/DN6zFW2gbHA/

  10. Vamos combinar que o robozinho perdeu o seu charme no ícone do #Automator criado para o #macOSTahoe26, não é mesmo? 🤖 [via @BasicAppleGuy] instagram.com/p/DN6zFW2gbHA/

  11. TIL and PSA at the same time:

    Today I learned that there is an `automator` command line too in macOS to manage workflows. More details on usage can be found with `man automator`.

    As I have a couple for workflows that can create things in Jira, Jama, or Confluence, I can actually now use them from the command line like this:

    ```bash
    echo "text to search " | automator -i - ~/Library/Services/search-in-alma-reqs.workflow
    ```

    In fact, I could write a small function like this:

    ```bash
    function jama_search {
    automator -i "$*" ~/Library/Services/search-in-alma-reqs.workflow
    }
    ```

    And then to something like `jama_search Sys-Req-100` to find all occurences of Sys-Req-100 in the project from the command line — including opening the righ URL in the default browser.

    #TIL #PSA #Automator #CLI #macOS

  12. Vielleicht kann wer mir helfen. Ich habe auf meinem #Macbook ein #Automator "Skript" erstellt, welches die durch mein Banking-Programm automatisch heruntergeladenen Kontoauszüge in mein DropIn Verzeichnis für mein PaperlessNGX verschieben soll.
    Allerdings wird es nicht automatisiert ausgeführt. Habt Ihr ne Idee, wie ich dieses Verschieben automatisieren kann, so dass ich nicht dran denken muss? Der @marco79cgn vielleicht?
    #mac #macos #followerpower

  13. Vielleicht kann wer mir helfen. Ich habe auf meinem #Macbook ein #Automator "Skript" erstellt, welches die durch mein Banking-Programm automatisch heruntergeladenen Kontoauszüge in mein DropIn Verzeichnis für mein PaperlessNGX verschieben soll.
    Allerdings wird es nicht automatisiert ausgeführt. Habt Ihr ne Idee, wie ich dieses Verschieben automatisieren kann, so dass ich nicht dran denken muss? Der @marco79cgn vielleicht?
    #mac #macos #followerpower

  14. Где звук? Автоматизируем аудиовыход на Mac одним нажатием

    Как я настроил переключение звука на macOS нажатием одной кнопки, ничего не зная об AppleScript и Automator.

    habr.com/ru/articles/854192/

    #macos #звук #автоматизация #макропад #aplle_script #automator

  15. En cualquier gran proyecto es de la máxima importancia mantener los requerimientos de los usuarios, requerimientos técnicos, y requerimientos de los distintos subsistemas, y cómo se derivan de (y relacionan con) otros.

    Para ello, se utilizan herramientas de gestión de requerimientos (Requirements Management). Tanto en el Square Kilometre Array Observatory (SKAO) como en el Joint ALMA Observatory (JAO), o incluso el Cherenkov Telescope Array Observatory (CTAO) utilizamos un software como servicio llamado Jama Connect.

    Una de las herramientas básicas en estos sistemas es la necesidad de poder encontrar información, y sus relaciones. Y afortunadamente Jama Connect es una aplicación web en las que hay enlaces permanentes para prácticamente todos los elementos — al final es una base de datos configurable por el usuario para la tarea de gestión de requerimientos —, así que hay un enlace que se puede utilizar para esa búsqueda.

    Pantallazo del workflow “Search in ALMA Jama” con una entrada adicional que sirve para prueba (ver paso 4 más abajo)

    Si tu instalación de Jama Connect vive en https://myconnect.jamacloud.com/, entonces tu URL de búsqueda es https://myconnect.jamacloud.com/perspective.req#/search?term=search_term&scope=GLOBAL, con search_term representando una versión procesada del término de búsqueda en la que se reemplazan caracteres no imprimibles por códigos de tipo %20 para un espacio, por ejemplo.

    Si tenemos un proyecto concreto en el que buscar con identificador de proyecto project_id, podemos utilizar https://myconnect.jamacloud.com/perspective.req#/search?term=search_term&scope=PROJECT&project=project_id para restringir la búsqueda a ese proyecto.

    Podemos crear entonces nuestro servicio de Automator con los siguientes pasos:

    1. Crear un nuevo workflow de Automator del tipo Quick Action. Indicar que queremos que procese texto de cualquier aplicación.
    2. Añadir una acción Run shell script, escogiendo /usr/local/bin/python3 como el shell, y copiando el contenido del gist de GitHub jama_search.py (reproducido tras esta lista).
    3. Cambiar el valor de jama_search_base_url para que apunte a nuestra instalación de Jama.
    4. (Opcional) Podemos probar nuestro workflow añadiendo otra acción Run shell script, con el contenido único echo "mi término de búsqueda", de forma que quede antes de la acción del paso uno. Pulsando el botón de ejecutar el workflow, se abrirá una pestaña en la que se buscará en Jama el término incluido. Recordemos que ese paso tiene que eliminarse para el uso normal del workflow.

    https://gist.github.com/juandesant/81f2f3bd2b1b5e6752f62809262a3ab8

    A partir de ese momento, nuestro menú Servicios incluirá una entrada que nos permitirá buscar una o más líneas de texto en nuestra instancia de Jama.

    https://santander-vela.net/2024/09/30/haciendo-consultas-en-jama-connect-desde-cualquier-parte-en-macos/

    #Automator #gestiónDeRequerimientos #JamaConnect #Python #workflow

  16. This is CogDogBlogged: "Make An MacOS App to Run Command Line Stuff"

    There are little things one can still do without AC (Asking ChatGPT). But first, a word about blogging!

    It was quite wonderful that after writing my post on installing the Photini app that I quickly got a comment from its developer, Jim Easterbrook. How does that happen? I’d guess he has a google alert for Photini. I just have to say that publishing a blog post, where it has a real honest […]

    https://cogdogblog.com/2024/09/make-macos-app-run-command/

    #cogdogblog #automator

  17. I just wrote an automator script to quickly correct grammar and spelling, or summarize with Ollama. It works very well and took me perhaps only a few minutes to figure it out.

    Here is the Workflow. Easy to be adapted for your needs.
    droplr.obrhoff.de/f/NAkZtL

    #macos #ollama #chatgpt #genai #automator

  18. Went a little while back and now that my Devooper Keycap set comes tomorrow, spent some time tinkering with . is definitely a better option than for Mac right now but it’s not that great either.

    Tracked down and old Stack issue suggesting , and holy hat does it work well for setting up key combinations to perform very specific actions, including other key combos. (1/2)

  19. Went #mechanical a little while back and now that my Devooper Keycap set comes tomorrow, spent some time tinkering with #Macros. #Automator is definitely a better option than #Shortcuts for Mac right now but it’s not that great either.

    Tracked down and old Stack issue suggesting #BetterTouchTool, and holy hat does it work well for setting up key combinations to perform very specific actions, including other key combos. (1/2)

  20. Any #Automator experts here? I was following steps to try recording a macro to automatically click a series of buttons I regularly have to do with InDesign. When I begin recording, the buttons in the print dialog box are momentarily frozen. Eventually the Automator recording indicator disappears and I'm left with an empty "Watch Me Do” element that has nothing recorded. Attached video shows what steps starting with the InDesign print box I want to record/automate.

  21. I listen - not quite exclusively - to #lbc(on #mac) but their ads are annoying.

    I need to start timing their #ad breaks then do something in #automator that will, upon keypress, mute the speakers and after X seconds, unmute.

    The right way is to first create the script/actions … which I shall do later after I have fixed the broken cupboard door.

  22. While #Shortcuts on #Mac falls way short of #Automator for a non-programmer, it does do some nifty things on #iOS - quick access to switching audio output between stereo and mono, as well as toggling between audio output options.

    tutorial I used: jasonmurray.org/posts/2021/aud

  23. #macOS #Automator

    I’m a noob with this, so perhaps there's a better way, but I created a Quick Action to organize Zoom Cloud recording files for #FCP Multicam editing. Here's how it works.

    I got tired of repeating these steps manually.

  24. I am pleased with myself.
    Yesterday, I created a small #automation on my work #macbook I currently work in a customer's project using a remote Citrix Workspace desktop. Everytime I had to click on the downloaded *.ica file to opem the remote desktop. My Downloads folder was cluttered with those files.
    Now there is a little robot working for me ;-)
    #macOS #Automator

  25. I am pleased with myself.
    Yesterday, I created a small #automation on my work #macbook I currently work in a customer's project using a remote Citrix Workspace desktop. Everytime I had to click on the downloaded *.ica file to opem the remote desktop. My Downloads folder was cluttered with those files.
    Now there is a little robot working for me ;-)
    #macOS #Automator

  26. Does anyone here use #macOS #Automator? I'm doing my monthly backup and noticed that the `Date-Time Modified` shows the last time I updated the file or folder, not the time of the backup. Is there a way to modify this so that it corresponds to the date and time of backup instead?

  27. Does anyone here use #macOS #Automator? I'm doing my monthly backup and noticed that the `Date-Time Modified` shows the last time I updated the file or folder, not the time of the backup. Is there a way to modify this so that it corresponds to the date and time of backup instead?

  28. Hab ich #Automator-erfahrene #Mac Nutzer in meiner Timeline? Ich hätte gerne eine Automation die ich ausführe, bevor ich mein #MacBookAir vom #Dock trenne. Dabei soll zuerst Dropbox beendet, anschließend 2 Festplatten ausgeworfen werden.
    Das manuell zu machen oder den Mac jedesmal erst runterfahren ist doch eher nervig.

  29. Hab ich #Automator-erfahrene #Mac Nutzer in meiner Timeline? Ich hätte gerne eine Automation die ich ausführe, bevor ich mein #MacBookAir vom #Dock trenne. Dabei soll zuerst Dropbox beendet, anschließend 2 Festplatten ausgeworfen werden.
    Das manuell zu machen oder den Mac jedesmal erst runterfahren ist doch eher nervig.

  30. I keep forgetting that #Automator exists.
    Then I remember and get excited.
    Then I try to actually use it for something.
    Then I get sad or frustrated and forget about it for years and years.

    #macOS #workflow #scripting #AppleScript

  31. I keep forgetting that #Automator exists.
    Then I remember and get excited.
    Then I try to actually use it for something.
    Then I get sad or frustrated and forget about it for years and years.

    #macOS #workflow #scripting #AppleScript

  32. #macOS #Automator can be programmed to #launch XYZ app. Does anyone know how to program it to open a #PrinterQueue?

  33. #macOS #Automator can be programmed to #launch XYZ app. Does anyone know how to program it to open a #PrinterQueue?

  34. @gruber When #Shortcuts was released on the #Mac I opened piles of Feedback — I think every single one is still open.

    From Shortcuts not accepting dragging of files, the file picker missing options from #Automator, confirmation dialogs being a step backward... the list goes on and on.

  35. @gruber When #Shortcuts was released on the #Mac I opened piles of Feedback — I think every single one is still open.

    From Shortcuts not accepting dragging of files, the file picker missing options from #Automator, confirmation dialogs being a step backward... the list goes on and on.

  36. @johnlogic So, uh, use #Gnome then. People run #MacOS because they like it. I could not possibly hate keyboard shorftcuts more because in order for then to be useful you have to memorize them, and I've never been good at memorizing stuff.

    Now if what you mean is you want an app that pops up a list of the keyboard shortcuts you use, then you could probably create that yourself using #AppleScript or #Automator, or maybe someone else has done that. You could even create a note in the Notes app (or a third-party app such as Joplin if you don't like Apple's Notes app).

    I guess it just bugs me when people try to push their preference for using the keyboard on us point-and-click people. I get that maybe that's not your intent, but as I say a lot of people actually like the MacOS interface just the way it is, so if you don't, please consider that maybe MacOS is not for you. There are MANY things I don't like about MacOS but their interface isn't one of them.

  37. @johnlogic So, uh, use #Gnome then. People run #MacOS because they like it. I could not possibly hate keyboard shorftcuts more because in order for then to be useful you have to memorize them, and I've never been good at memorizing stuff.

    Now if what you mean is you want an app that pops up a list of the keyboard shortcuts you use, then you could probably create that yourself using #AppleScript or #Automator, or maybe someone else has done that. You could even create a note in the Notes app (or a third-party app such as Joplin if you don't like Apple's Notes app).

    I guess it just bugs me when people try to push their preference for using the keyboard on us point-and-click people. I get that maybe that's not your intent, but as I say a lot of people actually like the MacOS interface just the way it is, so if you don't, please consider that maybe MacOS is not for you. There are MANY things I don't like about MacOS but their interface isn't one of them.

  38. Wrote an #Automator Quick Action to rename the photos I’m copying from my camera memory card into a nice date format so they’re easier to sort - very easy since now I know you can use #zsh scripts with a file list as arguments!

  39. Wrote an #Automator Quick Action to rename the photos I’m copying from my camera memory card into a nice date format so they’re easier to sort - very easy since now I know you can use #zsh scripts with a file list as arguments!

  40. Gibt es eine einfache Möglichkeit in Safari/iOS die Verwendung von Cookies ein/auszuschalten ohne jedesmal in die Einstellungen gehen zu müssen? #ios #automator

  41. Gibt es eine einfache Möglichkeit in Safari/iOS die Verwendung von Cookies ein/auszuschalten ohne jedesmal in die Einstellungen gehen zu müssen? #ios #automator

  42. @djohngo #MacOS has tools called #Automator and/or #AppleScript that could probably do the job. Maybe take the contents of the clipboard and pass it through the unix #sed command to remove anything that is not a number, or maybe something that uses a #regex (regular expression). I'm not a programmer so I can't give you an exact answer but there has to be a way to do it.

  43. The inability to just drag files into #Shortcuts like you can in #Automator still annoys me when making bespoke workflows. #macOS

  44. Wow!

    My son wants to edit a Wiki page about some squid and one of his sources is in German. It is a PDF with images from the 1909 original. I wrote an Automator workflow to break the PDF into individual pages and then a Shortcuts script to open the files, extract the text and then translate it.

    Mind boggling. It borders on magic.

    #Shortcuts #Automator #MacOS

  45. I had never messed with Automator before, but this was somewhat easy (with Googling).

    Convert HEiC to JPG (an app I use doesn't understand heic).

    #mac #automator #heic

  46. Simpler languages like #HyperTalk don't have this problem. They scan a source file for lines beginning with `on methodName` or `function methodName` and build your navigation from that, even when swaths of invalid code lie between them.

    Similarly, properties are either built in, or part of the image, so there is an explicit creation/deletion step that doesn't allow for any temporarily invalid syntax.

    Languages with a graphical editor like #Scratch or #Automator don't have that problem either.