<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Autoload jpg to media bin from watched folder (Applescript)]]></title><description><![CDATA[<p dir="auto">Am using an applescript to load media when a new file is added to a watched folder. Fine.<br />
I think this question is mainly for Mark, since I would need ot know how Isadora internally handles Applescript indexes...<br />
But due to some limitations of the process I am working with, I use a shellscript bash to delete the current file in a watched folder, then wait a second and copy a new file there with the same name.<br />
But Isadora fails to autoupload it...(although sometimes it does)....</p>
<p dir="auto">Question... is this because the file has the same name, that it is being buggy? <br />
By default it should add it to the list, so if there are already 2 files, it would become the thrid file, despite all files having the same name.</p>
<p dir="auto">Jamie</p>
]]></description><link>https://community.troikatronix.com/topic/2039/autoload-jpg-to-media-bin-from-watched-folder-applescript</link><generator>RSS for Node</generator><lastBuildDate>Fri, 09 Oct 2026 23:25:16 GMT</lastBuildDate><atom:link href="https://community.troikatronix.com/topic/2039.rss" rel="self" type="application/rss+xml"/><pubDate>Sat, 27 Jun 2015 13:58:52 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Autoload jpg to media bin from watched folder (Applescript) on Thu, 04 May 2017 08:53:12 GMT]]></title><description><![CDATA[<p>have to try that, sounds pretty cool </p>]]></description><link>https://community.troikatronix.com/post/23505</link><guid isPermaLink="true">https://community.troikatronix.com/post/23505</guid><dc:creator><![CDATA[crystalhorizon]]></dc:creator><pubDate>Thu, 04 May 2017 08:53:12 GMT</pubDate></item><item><title><![CDATA[Reply to Autoload jpg to media bin from watched folder (Applescript) on Tue, 07 Jul 2015 12:33:53 GMT]]></title><description><![CDATA[<p dir="auto">Incase anyone wants it, here is the watched folder Applescript that loads any media arriving in that folder automatically into Isadora's media bin.<br />
I'll could a blog tutorial on how to use it, if people need more instructions on how to use it?</p>
<p dir="auto">Make sure you edit the script to match your version of Isadora. I am using the USB version, so you may need to adapt the application name in the script if you are using the standard version.</p>
<p dir="auto"><a href="/uploads/files/FileUpload/90/641ffe-watch-isadoracore-mediabinload.scpt.zip">641ffe-watch-isadoracore-mediabinload.scpt.zip</a></p>
]]></description><link>https://community.troikatronix.com/post/16313</link><guid isPermaLink="true">https://community.troikatronix.com/post/16313</guid><dc:creator><![CDATA[primaldivine]]></dc:creator><pubDate>Tue, 07 Jul 2015 12:33:53 GMT</pubDate></item><item><title><![CDATA[Reply to Autoload jpg to media bin from watched folder (Applescript) on Tue, 07 Jul 2015 12:30:00 GMT]]></title><description><![CDATA[<p dir="auto">HI Graham,<br />
For my recent project I used two watched folders.<br />
Here's the process:</p>
<p dir="auto"><em>Capture Camera to Disk</em> to a Watched folder called (lets call it <em>'Moviefolder'</em>): this places a <em>filename.mov</em> quicktime of 0.2 secs long, which is the minimum length that Isadora succeeds to capture.<br />
Next step is that a folder action script watching the folder where the movie just arrived is triggered and calls a bash shell .sh file that extracts a couple of jpegs from the movie file and moves one of them into another folder called (lets call it '<em>PictureFolder'</em>). That second folder uses the Applescript that autoloads any media arriving in that folder to load to Isadora's meda bin.<br />
Ta da!  Now I have a jpg instead of a movie.</p>
<p dir="auto">There are some more details involved. In order to process the .mov into a couple of jpgs, I installed Macports and then ffmpeg. Then I can use a bash file to tell ffmpeg to extract the jpgs from the .mov<br />
I'll attach an example .sh file and the associated Applescript file.<br />
Have really enjoyed learning how to do this. It's empowering. :)</p>
<p dir="auto">A word of warning however, is that occasionally the watched folder simply does not run the Applescript, which seems to be an Apple bug. It works 97% of the ime, but every now and then fails to run, on Mavericks and on Yosemite, which is very annoying if you have a long-running installation.</p>
<p dir="auto"><a href="/uploads/files/FileUpload/e2/5c2eb4-convert-bash-applescript-example-jg.zip">5c2eb4-convert-bash-applescript-example-jg.zip</a></p>
]]></description><link>https://community.troikatronix.com/post/16312</link><guid isPermaLink="true">https://community.troikatronix.com/post/16312</guid><dc:creator><![CDATA[primaldivine]]></dc:creator><pubDate>Tue, 07 Jul 2015 12:30:00 GMT</pubDate></item><item><title><![CDATA[Reply to Autoload jpg to media bin from watched folder (Applescript) on Tue, 07 Jul 2015 10:34:46 GMT]]></title><description><![CDATA[<p dir="auto">I've wondered this. I use your applescript a lot. The load in works amazing. But I would love to be able to delete a file in the folder and see it be removed from the isadora folder too.</p>
<div>This would work amazing in conjunction with folder watcher actors. </div>]]></description><link>https://community.troikatronix.com/post/16311</link><guid isPermaLink="true">https://community.troikatronix.com/post/16311</guid><dc:creator><![CDATA[Skulpture]]></dc:creator><pubDate>Tue, 07 Jul 2015 10:34:46 GMT</pubDate></item><item><title><![CDATA[Reply to Autoload jpg to media bin from watched folder (Applescript) on Sat, 27 Jun 2015 14:00:27 GMT]]></title><description><![CDATA[<p dir="auto">on adding folder items to this_folder after receiving these_items</p>
<p dir="auto">try<br />
        tell application "IsadoraCore USB Key"<br />
            import media into document 1 from these_items<br />
        end tell</p>
<p dir="auto">on error msg<br />
        display dialog "Error importing file into Isadora: " &amp; msg<br />
    end try</p>
<p dir="auto">end adding folder items to</p>
]]></description><link>https://community.troikatronix.com/post/16237</link><guid isPermaLink="true">https://community.troikatronix.com/post/16237</guid><dc:creator><![CDATA[primaldivine]]></dc:creator><pubDate>Sat, 27 Jun 2015 14:00:27 GMT</pubDate></item></channel></rss>