home.social

#applescript — Public Fediverse posts

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

  1. The Scripting & Automation guide is now up faq.pockity.app/scripting/ #macOS #AppleScript

    If you spot any mistakes, please let me know!

  2. A new beta (v2026.4) is now available for Pockity for #macOS which brings #AppleScript support to the app enabling powerful automations.

    Here's a video demo of what this looks like.

    All ledgers, entries, accounts, and categories are queryable.

  3. Modern LLMs are incredible. Yesterday in the course of 2-3 hours I was able to have it code a simple Numbers App MCP server based on the #Apple #AppleScript .sdef definition file and enable #claude to interact with #numbers documents directly!

  4. I alluded to automating my screenshot creation for Octavo's website and App Store page. I finally got round to writing a blog post about how I did it!

    amyworrall.com/blog/automating

    It's a combination of #XCUITest automation, #AppleScript for setting up the Mac, and a bit of scripting to run the tests and post-process the images.

    #BuildInPublic #MacDev

  5. @BasementDweller3000 Not worth it IMO. With #ShortcutsApp on #macOS you can run shell scripts, which gives access to as many programming languages as you want.

    Can the #JavaScript version do the same as #AppleScript? Yes in theory, but the lack of documentation makes it impractical. And there are less and less AppleScript-supporting apps.

    Nowadays if I need AppleScript is for some tiny detail and I just ask an LLM for it.

  6. Is AppleScript still worth learning in 2026? Shortcuts.app on the Mac I'm finding to be rather limited. I know Shortcuts can be augmented with AppleScript, but it can also run JavaScript too. Can JavaScript in this context do everything AppleScript can do? #Apple #Shortcuts #ShortcutsApp #AppleScript #mac

  7. I have just uploaded a new powerful #AppleScript to the #NeoFinder for #macOS Users Guide.

    It uses the XMP Location field, the XMP Location, and the EXIF Capture Date to generate a nice new Caption with that information, in a nicely formatted way.

    This is based on a script I wrote for a client that was used in preparation of a photographic exhibition.

    AppleScript really is crazy powerful!

    cdfinder.de/guide/9/9.7/power_

    #Lightroom #PhotoOrganizer
    #IndieDev

  8. We have just uploaded a new powerful #AppleScript to the #NeoFinder for #macOS Users Guide.

    It uses the XMP Location field, the XMP Location, and the EXIF Capture Date to generate a nice new Caption with that information, in a formatted way.

    Based on a script we wrote for a client that was used for an exhibition.

    cdfinder.de/guide/9/9.7/power_

    #PhotoArchive #Olympus #Canon #Nikon #Fuji #Sony #Hasselblad #MediaAssetManager #Photography #Lightroom #PhotoOrganizer #PhotoLibrary #IndieDev #Aperture

  9. Today, using Script Debugger and #ChatGPT, I wrote and debugged an #AppleScript for use as part of a #Hazel rule. I hooked the script to the AI chat for future reference. Another huge use case for #hookmark.

    Unfortunately, Hazel is not [link-friendly](hookproductivity.com/help/inte) so I couldn't hook these two resources to the Hazel rule.

  10. Mystified. How can an AppleScript that works perfectly from Script Editor be broken when called by Keyboard Maestro?

    (Putting off hunting for an actual answer to next week.)

    #AppleScript #KeyboardMaestro

  11. The integrated Audio Converter in #NeoFinder 8.9 for #macOS can now be invoked using the powerful #AppleScript automation tools!

    You can even set up the conversion parameters per script, as you need them.

    That makes it a lot easier to integrate the converter into complex workflows of any kind.

    neofinder.de/forum/phpBB3/view

    #Catalog #music #mp3 #AAC #AIFF #FLAC #MediaAssetManager #MusicProduction #AudioProducer #MusicStudio #Apple #IndieDev #DiskTracker #audio #MusicTech #PostProduction #iTunes

  12. I just improved my Things 3 evening tasks automation to preserve reminders on recurring tasks! If you use Things and want your evening tasks to actually remind you (and keep their deadlines), check out my updated AppleScript:

    themikeburke.com/automating-th

    #Things3 #Automation #macOS #AppleScript

  13. Today I learned how to create a Finder alias using AppleScript and the command line:

    ```bash
    $ osascript -e 'tell application "Finder" to make alias file to posix file "/opt/homebrew/opt/emacs-plus@29/Emacs.app" at posix file "/Applications" with properties {name:"Emacs.app"}'

    alias file Emacs.app of folder Applications of startup disk
    ```

    This is for the particular case of creating an Emacs.app named alias at the Applications folder for the Homebrew version of the `emacs-plus` package, but changing the paths above will allow you to create arbitrary Finder aliases from the command line.

    #TIL #TodayILearned #AppleScript #Finder #alias #CLI #CommandLineInterface #osascript

  14. Today I learned how to create a Finder alias using AppleScript and the command line:

    ```bash
    $ osascript -e 'tell application "Finder" to make alias file to posix file "/opt/homebrew/opt/emacs-plus@29/Emacs.app" at posix file "/Applications" with properties {name:"Emacs.app"}'

    alias file Emacs.app of folder Applications of startup disk
    ```

    This is for the particular case of creating an Emacs.app named alias at the Applications folder for the Homebrew version of the `emacs-plus` package, but changing the paths above will allow you to create arbitrary Finder aliases from the command line.

    #TIL #TodayILearned #AppleScript #Finder #alias #CLI #CommandLineInterface #osascript

  15. Today I learned how to create a Finder alias using AppleScript and the command line:

    ```bash
    $ osascript -e 'tell application "Finder" to make alias file to posix file "/opt/homebrew/opt/emacs-plus@29/Emacs.app" at posix file "/Applications" with properties {name:"Emacs.app"}'

    alias file Emacs.app of folder Applications of startup disk
    ```

    This is for the particular case of creating an Emacs.app named alias at the Applications folder for the Homebrew version of the `emacs-plus` package, but changing the paths above will allow you to create arbitrary Finder aliases from the command line.

    #TIL #TodayILearned #AppleScript #Finder #alias #CLI #CommandLineInterface #osascript

  16. Today I learned how to create a Finder alias using AppleScript and the command line:

    ```bash
    $ osascript -e 'tell application "Finder" to make alias file to posix file "/opt/homebrew/opt/emacs-plus@29/Emacs.app" at posix file "/Applications" with properties {name:"Emacs.app"}'

    alias file Emacs.app of folder Applications of startup disk
    ```

    This is for the particular case of creating an Emacs.app named alias at the Applications folder for the Homebrew version of the `emacs-plus` package, but changing the paths above will allow you to create arbitrary Finder aliases from the command line.

    #TIL #TodayILearned #AppleScript #Finder #alias #CLI #CommandLineInterface #osascript

  17. Today I learned how to create a Finder alias using AppleScript and the command line:

    ```bash
    $ osascript -e 'tell application "Finder" to make alias file to posix file "/opt/homebrew/opt/emacs-plus@29/Emacs.app" at posix file "/Applications" with properties {name:"Emacs.app"}'

    alias file Emacs.app of folder Applications of startup disk
    ```

    This is for the particular case of creating an Emacs.app named alias at the Applications folder for the Homebrew version of the `emacs-plus` package, but changing the paths above will allow you to create arbitrary Finder aliases from the command line.

    #TIL #TodayILearned #AppleScript #Finder #alias #CLI #CommandLineInterface #osascript

  18. This feels just right :blobcatcooljazz:
    "Stereo" face for @panic #Audion as remote for #AppleMusic playing the new #InExtremo release #Wolkenschieber

    i plan to clean up my little mod to the original modifications by zydeco (github.com/zydeco/audion). aaaand i also added experimental cog (github.com/losnoco/Cog) support but it lacks for example the current timestamp at the moment b/c of missing #AppleScript suite properties...

    #music #metal #retro #mp3player #macOS #skeumorphic

  19. This one was tricky. There are a few reasons for that. 1) Trying to make it work across apps. 2) In order to look good you need a pixel between windows. 3) And finally … I only realized that after releasing 1.0 … not everybody autohides the dock like I do.
    It works. But there are still some glitches with Safari at times that make no sense to me. It works fine with Swish. So it is either #AppleScript or the method I am using. #WindowManagement #Automation
    hessen.social/@ptujec/10995487

  20. In macOS 12 alias Monterey hat Apple interne Verbesserungen vorgenommen, die Skripte signifikant schneller machen – besonders auf M1-Maschinen.
    Apple beschleunigt AppleScript-Ausführung
  21. DIY doings: components, cables and code

    I’ve been playing with gadgets ever since my dad let me and my brother take apart an old calculator for fun, but until last week I had never wielded a soldering iron to connect electronic components.

    My chance to remedy that oversight came at the end of a tour of a redone Radio Shack store across the street from the Verizon Center Phone Booth in downtown D.C.

    After getting the company pitch about its screen-repair services, inspecting some Kodak camera modules made to clip onto phones, and playing with a littleBits synthesizer kit, I was invited to assemble a tiny LED flashlight by soldering the required parts to a small circuit board.

    Dripping the molten flux onto the right contacts revealed itself to be a painstakingly precise, hold-your-breath task. I needed coaching from the rep manning that station, after which he had to redo some of my work–making me think this whole project was perhaps more like when our toddler puts together some arts-and-crafts project “with help.” But a few minutes later, I did have my own tiny, battery-powered flashlight.

    I had also completed my first hardware tinkering in a while.

    The last time I’d cracked a computer’s case was two years ago, when I doubled the memory in my iMac (Apple has since made that at-home upgrade impossible on newer models) and then swapped out my ThinkPad’s hard drive for a solid state drive. Either chore involved less work and anxiety than the multiple transplants I performed on my old Power Computing Mac clone in the ’90s, including two processor upgrades and a cooling fan replacement.

    While we’re keeping score, I last seriously messed with wiring when I strung some Ethernet cable from the basement to an outlet behind our TV to prepare for our Fios install in 2010. Going to that trouble, including terminating the bulk cable and attaching plugs myself, allowed me to use my choice of routers on our Internet-only setup.

    The crimping tool I used for that task hasn’t seen much use since, but I’d like to think I’m still capable of moving a phone, power, or coax cable outlet. Especially if given a spare length of cable on which to practice first.

    My DIY credentials are weakest when it comes to code. I learned entry-level BASIC in grade school but now recall little of the syntax beyond IF/THEN and GOTO. I used to lean on AppleScript to ease my Mac workflow, but now Automator lets me create shortcuts without having to remember the precise phrasing required after AppleScript statements like “tell application ‘Finder’.” My HTML skills now stretch little further than writing out the “<a href=” hypertext link.

    I do, however, still grasp such important basics as the importance of valid input and proper syntax, how easy errors can crop up and how much time it can take to step through functions to figure out what threw the error. For anything more complicated, the usual reporting technique comes into play: Ask as many dumb questions as needed to get a little smarter on the subject.

    #AppleScript #BASIC #coding #crimpingTool #DIY #EthernetCable #hardwareUpgrade #solderingIron #SSDUpgrade

  22. DIY doings: components, cables and code

    I’ve been playing with gadgets ever since my dad let me and my brother take apart an old calculator for fun, but until last week I had never wielded a soldering iron to connect electronic components.

    My chance to remedy that oversight came at the end of a tour of a redone Radio Shack store across the street from the Verizon Center Phone Booth in downtown D.C.

    After getting the company pitch about its screen-repair services, inspecting some Kodak camera modules made to clip onto phones, and playing with a littleBits synthesizer kit, I was invited to assemble a tiny LED flashlight by soldering the required parts to a small circuit board.

    Dripping the molten flux onto the right contacts revealed itself to be a painstakingly precise, hold-your-breath task. I needed coaching from the rep manning that station, after which he had to redo some of my work–making me think this whole project was perhaps more like when our toddler puts together some arts-and-crafts project “with help.” But a few minutes later, I did have my own tiny, battery-powered flashlight.

    I had also completed my first hardware tinkering in a while.

    The last time I’d cracked a computer’s case was two years ago, when I doubled the memory in my iMac (Apple has since made that at-home upgrade impossible on newer models) and then swapped out my ThinkPad’s hard drive for a solid state drive. Either chore involved less work and anxiety than the multiple transplants I performed on my old Power Computing Mac clone in the ’90s, including two processor upgrades and a cooling fan replacement.

    While we’re keeping score, I last seriously messed with wiring when I strung some Ethernet cable from the basement to an outlet behind our TV to prepare for our Fios install in 2010. Going to that trouble, including terminating the bulk cable and attaching plugs myself, allowed me to use my choice of routers on our Internet-only setup.

    The crimping tool I used for that task hasn’t seen much use since, but I’d like to think I’m still capable of moving a phone, power, or coax cable outlet. Especially if given a spare length of cable on which to practice first.

    My DIY credentials are weakest when it comes to code. I learned entry-level BASIC in grade school but now recall little of the syntax beyond IF/THEN and GOTO. I used to lean on AppleScript to ease my Mac workflow, but now Automator lets me create shortcuts without having to remember the precise phrasing required after AppleScript statements like “tell application ‘Finder’.” My HTML skills now stretch little further than writing out the “<a href=” hypertext link.

    I do, however, still grasp such important basics as the importance of valid input and proper syntax, how easy errors can crop up and how much time it can take to step through functions to figure out what threw the error. For anything more complicated, the usual reporting technique comes into play: Ask as many dumb questions as needed to get a little smarter on the subject.

    #AppleScript #BASIC #coding #crimpingTool #DIY #EthernetCable #hardwareUpgrade #solderingIron #SSDUpgrade

  23. DIY doings: components, cables and code

    I’ve been playing with gadgets ever since my dad let me and my brother take apart an old calculator for fun, but until last week I had never wielded a soldering iron to connect electronic components.

    My chance to remedy that oversight came at the end of a tour of a redone Radio Shack store across the street from the Verizon Center Phone Booth in downtown D.C.

    After getting the company pitch about its screen-repair services, inspecting some Kodak camera modules made to clip onto phones, and playing with a littleBits synthesizer kit, I was invited to assemble a tiny LED flashlight by soldering the required parts to a small circuit board.

    Dripping the molten flux onto the right contacts revealed itself to be a painstakingly precise, hold-your-breath task. I needed coaching from the rep manning that station, after which he had to redo some of my work–making me think this whole project was perhaps more like when our toddler puts together some arts-and-crafts project “with help.” But a few minutes later, I did have my own tiny, battery-powered flashlight.

    I had also completed my first hardware tinkering in a while.

    The last time I’d cracked a computer’s case was two years ago, when I doubled the memory in my iMac (Apple has since made that at-home upgrade impossible on newer models) and then swapped out my ThinkPad’s hard drive for a solid state drive. Either chore involved less work and anxiety than the multiple transplants I performed on my old Power Computing Mac clone in the ’90s, including two processor upgrades and a cooling fan replacement.

    While we’re keeping score, I last seriously messed with wiring when I strung some Ethernet cable from the basement to an outlet behind our TV to prepare for our Fios install in 2010. Going to that trouble, including terminating the bulk cable and attaching plugs myself, allowed me to use my choice of routers on our Internet-only setup.

    The crimping tool I used for that task hasn’t seen much use since, but I’d like to think I’m still capable of moving a phone, power, or coax cable outlet. Especially if given a spare length of cable on which to practice first.

    My DIY credentials are weakest when it comes to code. I learned entry-level BASIC in grade school but now recall little of the syntax beyond IF/THEN and GOTO. I used to lean on AppleScript to ease my Mac workflow, but now Automator lets me create shortcuts without having to remember the precise phrasing required after AppleScript statements like “tell application ‘Finder’.” My HTML skills now stretch little further than writing out the “<a href=” hypertext link.

    I do, however, still grasp such important basics as the importance of valid input and proper syntax, how easy errors can crop up and how much time it can take to step through functions to figure out what threw the error. For anything more complicated, the usual reporting technique comes into play: Ask as many dumb questions as needed to get a little smarter on the subject.

    #AppleScript #BASIC #coding #crimpingTool #DIY #EthernetCable #hardwareUpgrade #solderingIron #SSDUpgrade

  24. DIY doings: components, cables and code

    I’ve been playing with gadgets ever since my dad let me and my brother take apart an old calculator for fun, but until last week I had never wielded a soldering iron to connect electronic components.

    My chance to remedy that oversight came at the end of a tour of a redone Radio Shack store across the street from the Verizon Center Phone Booth in downtown D.C.

    After getting the company pitch about its screen-repair services, inspecting some Kodak camera modules made to clip onto phones, and playing with a littleBits synthesizer kit, I was invited to assemble a tiny LED flashlight by soldering the required parts to a small circuit board.

    Dripping the molten flux onto the right contacts revealed itself to be a painstakingly precise, hold-your-breath task. I needed coaching from the rep manning that station, after which he had to redo some of my work–making me think this whole project was perhaps more like when our toddler puts together some arts-and-crafts project “with help.” But a few minutes later, I did have my own tiny, battery-powered flashlight.

    I had also completed my first hardware tinkering in a while.

    The last time I’d cracked a computer’s case was two years ago, when I doubled the memory in my iMac (Apple has since made that at-home upgrade impossible on newer models) and then swapped out my ThinkPad’s hard drive for a solid state drive. Either chore involved less work and anxiety than the multiple transplants I performed on my old Power Computing Mac clone in the ’90s, including two processor upgrades and a cooling fan replacement.

    While we’re keeping score, I last seriously messed with wiring when I strung some Ethernet cable from the basement to an outlet behind our TV to prepare for our Fios install in 2010. Going to that trouble, including terminating the bulk cable and attaching plugs myself, allowed me to use my choice of routers on our Internet-only setup.

    The crimping tool I used for that task hasn’t seen much use since, but I’d like to think I’m still capable of moving a phone, power, or coax cable outlet. Especially if given a spare length of cable on which to practice first.

    My DIY credentials are weakest when it comes to code. I learned entry-level BASIC in grade school but now recall little of the syntax beyond IF/THEN and GOTO. I used to lean on AppleScript to ease my Mac workflow, but now Automator lets me create shortcuts without having to remember the precise phrasing required after AppleScript statements like “tell application ‘Finder’.” My HTML skills now stretch little further than writing out the “<a href=” hypertext link.

    I do, however, still grasp such important basics as the importance of valid input and proper syntax, how easy errors can crop up and how much time it can take to step through functions to figure out what threw the error. For anything more complicated, the usual reporting technique comes into play: Ask as many dumb questions as needed to get a little smarter on the subject.

    #AppleScript #BASIC #coding #crimpingTool #DIY #EthernetCable #hardwareUpgrade #solderingIron #SSDUpgrade

  25. DIY doings: components, cables and code

    I’ve been playing with gadgets ever since my dad let me and my brother take apart an old calculator for fun, but until last week I had never wielded a soldering iron to connect electronic components.

    My chance to remedy that oversight came at the end of a tour of a redone Radio Shack store across the street from the Verizon Center Phone Booth in downtown D.C.

    After getting the company pitch about its screen-repair services, inspecting some Kodak camera modules made to clip onto phones, and playing with a littleBits synthesizer kit, I was invited to assemble a tiny LED flashlight by soldering the required parts to a small circuit board.

    Dripping the molten flux onto the right contacts revealed itself to be a painstakingly precise, hold-your-breath task. I needed coaching from the rep manning that station, after which he had to redo some of my work–making me think this whole project was perhaps more like when our toddler puts together some arts-and-crafts project “with help.” But a few minutes later, I did have my own tiny, battery-powered flashlight.

    I had also completed my first hardware tinkering in a while.

    The last time I’d cracked a computer’s case was two years ago, when I doubled the memory in my iMac (Apple has since made that at-home upgrade impossible on newer models) and then swapped out my ThinkPad’s hard drive for a solid state drive. Either chore involved less work and anxiety than the multiple transplants I performed on my old Power Computing Mac clone in the ’90s, including two processor upgrades and a cooling fan replacement.

    While we’re keeping score, I last seriously messed with wiring when I strung some Ethernet cable from the basement to an outlet behind our TV to prepare for our Fios install in 2010. Going to that trouble, including terminating the bulk cable and attaching plugs myself, allowed me to use my choice of routers on our Internet-only setup.

    The crimping tool I used for that task hasn’t seen much use since, but I’d like to think I’m still capable of moving a phone, power, or coax cable outlet. Especially if given a spare length of cable on which to practice first.

    My DIY credentials are weakest when it comes to code. I learned entry-level BASIC in grade school but now recall little of the syntax beyond IF/THEN and GOTO. I used to lean on AppleScript to ease my Mac workflow, but now Automator lets me create shortcuts without having to remember the precise phrasing required after AppleScript statements like “tell application ‘Finder’.” My HTML skills now stretch little further than writing out the “<a href=” hypertext link.

    I do, however, still grasp such important basics as the importance of valid input and proper syntax, how easy errors can crop up and how much time it can take to step through functions to figure out what threw the error. For anything more complicated, the usual reporting technique comes into play: Ask as many dumb questions as needed to get a little smarter on the subject.

    #AppleScript #BASIC #coding #crimpingTool #DIY #EthernetCable #hardwareUpgrade #solderingIron #SSDUpgrade