veganism.social is one of the many independent Mastodon servers you can use to participate in the fediverse.
Veganism Social is a welcoming space on the internet for vegans to connect and engage with the broader decentralized social media community.

Administered by:

Server stats:

293
active users

#AppleScript

5 posts2 participants0 posts today
matthiou<p><span class="h-card" translate="no"><a href="https://bne.social/@simon" class="u-url mention" rel="nofollow noopener" target="_blank">@<span>simon</span></a></span> Mail &gt; Settings &gt; Rules can run AppleScripts when specific conditions are met ( From contains "Simon"&nbsp;). <a href="https://mastodon.social/tags/AppleScript" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>AppleScript</span></a> can identify attachments and process them, such as renaming and saving them to a specific location</p>
Giovanni Lanzani<p>I’ve written about automating away some boring part of parenthood with LLMs and AppleScript</p><p><a href="https://xebia.com/blog/automate-the-boring-parts-of-parenthood-with-llms/" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">xebia.com/blog/automate-the-bo</span><span class="invisible">ring-parts-of-parenthood-with-llms/</span></a></p><p><a href="https://mastodon.social/tags/apple" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>apple</span></a> <a href="https://mastodon.social/tags/gemini" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>gemini</span></a> <a href="https://mastodon.social/tags/applescript" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>applescript</span></a></p>
Shane Celis<p>New script: record-window, records a window excluding title bar of a macOS application.</p><p>If I never write another line of AppleScript, it'll be too soon.</p><p><a href="https://gist.github.com/shanecelis/33d50e4ec0b4dae389ef70ddd2b1c879" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">gist.github.com/shanecelis/33d</span><span class="invisible">50e4ec0b4dae389ef70ddd2b1c879</span></a> <a href="https://mastodon.gamedev.place/tags/macos" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>macos</span></a> <a href="https://mastodon.gamedev.place/tags/applescript" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>applescript</span></a> <a href="https://mastodon.gamedev.place/tags/bash" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>bash</span></a></p>
paulrickards<p>The way it works is this:</p><p>1. A print is initiated from a device to the CUPS-PDF driver on my <a href="https://mastodon.social/tags/netatalk" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>netatalk</span></a> Raspberry Pi.<br>2. The resulting PDF is placed in the AFP share of netatalk/afpd.<br>3. An emulated PPC Mac 9.2.2 running the <a href="https://mastodon.social/tags/AppleScript" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>AppleScript</span></a> below is watching for new files in that folder and will print them using Acrobat Reader to the <a href="https://mastodon.social/tags/ImageWriterII" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>ImageWriterII</span></a> via <a href="https://mastodon.social/tags/LocalTalk" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>LocalTalk</span></a> using the MacPalette II driver.</p><p>It works, but crashes with dialog that I can't auto-dismiss.</p><p><a href="https://mastodon.social/tags/RetroComputing" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>RetroComputing</span></a> <a href="https://mastodon.social/tags/VintageApple" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>VintageApple</span></a> <a href="https://mastodon.social/tags/VintageMac" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>VintageMac</span></a></p>
paulrickards<p>Ok, I've abandoned Folder Actions as it just doesn't seem to work. I've now gone with an always-running <a href="https://mastodon.social/tags/AppleScript" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>AppleScript</span></a> to scan the folder.</p><p>And.. it works! Almost? It seems that MacPalette II crashes (and takes Acrobat Reader with it) after it completes a print and there's a finder dialog that's proving difficult to dismiss in AppleScript.</p><p><a href="https://mastodon.social/tags/RetroComputing" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>RetroComputing</span></a> <a href="https://mastodon.social/tags/VintageApple" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>VintageApple</span></a> <a href="https://mastodon.social/tags/VintageMac" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>VintageMac</span></a></p>
paulrickards<p>So I have a new MacOS 9.2.2 <a href="https://mastodon.social/tags/AppleScript" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>AppleScript</span></a> Folder Action attached to a network share via netatalk. It works only if these conditions are met:</p><p>1. The folder is open already in the Finder. If it’s closed, it never triggers.<br>2. The new item is added to the folder from the current machine. Items added remotely to the network share do not “refresh” therefore never trigger the action.</p><p>Is this expected?</p><p><a href="https://mastodon.social/tags/RetroComputing" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>RetroComputing</span></a> <a href="https://mastodon.social/tags/VintageApple" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>VintageApple</span></a> <a href="https://mastodon.social/tags/VintageMac" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>VintageMac</span></a></p>
paulrickards<p>Ok <a href="https://mastodon.social/tags/AppleScript" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>AppleScript</span></a> folks: how do you make MacOS 9.2 automatically print a PDF that appears in a specific folder?</p><p><a href="https://mastodon.social/tags/VintageApple" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>VintageApple</span></a> <a href="https://mastodon.social/tags/VintageMac" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>VintageMac</span></a> <a href="https://mastodon.social/tags/RetroComputing" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>RetroComputing</span></a></p>
Andrew RossIntroduction