Splasm Software Discussions

a user community for the betterment of Splasmkind
It is currently Sun Feb 25, 2018 3:55 am

All times are UTC - 6 hours




Post new topic Reply to topic  [ 9 posts ] 
Author Message
PostPosted: Wed Nov 19, 2008 2:32 pm 
Offline

Joined: Wed Nov 19, 2008 2:26 pm
Posts: 2
Hello,
is there a possibility of using apple scripts with ABB? I would like to convert a whole bunch of audiobooks with ABB one after another and thought of using scripting for it....does anybody know about this?

Ralf


Top
 Profile  
Reply with quote  
PostPosted: Wed Nov 19, 2008 3:26 pm 
Offline
Administrator
Administrator
User avatar

Joined: Wed May 18, 2005 11:19 pm
Posts: 532
Location: Here and There
Audiobook Builder doesn't have its own AppleScript support but you can probably get away with scripting the user interface. Here are some tips:

- Turn on "Enable access for assistive devices" in the Universal Access preference pane in System Preferences and you should be able to script the interface.

- Use a tool like UIElementInspector, available at developer.apple.com , to figure out the interface element hierarchy (button "X" of window "Y"). Check out the Processes suite in the System Events AppleScript dictionary for commands and element terminology.

- Since the build process is modal you'll probably want to poll for the appearance of the "Build Complete" sheet to tell when the build is complete. Script a click on the OK button, then open another Project document and build that one.

- I notice opening documents via AppleScript leaves the main Audiobook Builder open. That shouldn't happen in normal use and for the sake of scripting the interface just to build a batch just ignore that that window is still open.

_________________
Keith Gugliotto
Primordial Sea Captain
Splasm Software
http://www.splasm.com

Follow us on Twitter!


Top
 Profile  
Reply with quote  
PostPosted: Fri Dec 05, 2008 3:04 am 
Offline

Joined: Sat Feb 16, 2008 5:21 am
Posts: 8
Location: Germany
Indeed scriptability is an important feature to add!

I’ll regard @keithg’s advices an see what I can achieve…

Meanwhile you might be interested in my little script, see http://www.splasm.com/forum/viewtopic.php?f=14&t=659.

Together with Keith’s hints this could be made into a "Take my whole playlist with multiple audiobooks and convert them in one go" megascript.


Top
 Profile  
Reply with quote  
PostPosted: Sun Dec 07, 2008 12:41 pm 
Offline

Joined: Sat Feb 16, 2008 5:21 am
Posts: 8
Location: Germany
keithg wrote:
Audiobook Builder doesn't have its own AppleScript support but you can probably get away with scripting the user interface. Here are some tips: …

Got it, at last: AppleScript: Batch processing Audiobook Builder projects


Top
 Profile  
Reply with quote  
PostPosted: Sun Dec 07, 2008 1:56 pm 
Offline

Joined: Wed Nov 19, 2008 2:26 pm
Posts: 2
Hi Thorix,
thank you so much for your Script...that´s quite the thing i was looking for....I thought about avoiding Itunes and working up all notyetconverted Audiobooks in a specified folder, but your soltion is maybe even better by having more control over the added files via playlist. As you mentioned on your website, i am bored of copy-paste technique too and so it much more easy to do it with your script.

Greetings from Germany to Germany

Ralf


Top
 Profile  
Reply with quote  
PostPosted: Thu Jan 04, 2018 12:50 am 
Offline

Joined: Wed Jan 03, 2018 4:04 am
Posts: 2
Hi,
although I am reviving a thread which has been dead for 9 years:
Does anyone still have Thorix`s script available?
I once had it some years ago but lost it. :shock:
Now I have a bunch of audiobooks for my kids in need to be converted...
Regards,
Buzze


Top
 Profile  
Reply with quote  
PostPosted: Thu Jan 04, 2018 9:38 am 
Offline
Administrator
Administrator
User avatar

Joined: Wed May 18, 2005 11:19 pm
Posts: 532
Location: Here and There
Hi Buzze!

Even though the page where the script was linked seems to be missing, there's a direct download link in Thorix's post here. Click here to download the script.

Do the download and script work for you?

_________________
Keith Gugliotto
Primordial Sea Captain
Splasm Software
http://www.splasm.com

Follow us on Twitter!


Top
 Profile  
Reply with quote  
PostPosted: Thu Jan 04, 2018 9:44 am 
Offline

Joined: Wed Jan 03, 2018 4:04 am
Posts: 2
Hi keithg,
thanks for your reply. The download link is for a script that builds ABB project files from iTunes. I have this and it is working.
However, Thorix also developed a script which will work the whole way from iTunes to the m4b-file. That`s the one I`m looking for.

Buzze


Top
 Profile  
Reply with quote  
PostPosted: Thu Jan 04, 2018 11:08 am 
Offline
Administrator
Administrator
User avatar

Joined: Wed May 18, 2005 11:19 pm
Posts: 532
Location: Here and There
Ah, you want the final script that automates from iTunes, start to finish. We never downloaded a copy, and the Wayback Machine doesn't have that particular page archived, for some reason, so I sent an email directly to Thorix to see if they can help out.

_________________
Keith Gugliotto
Primordial Sea Captain
Splasm Software
http://www.splasm.com

Follow us on Twitter!


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 9 posts ] 

All times are UTC - 6 hours


Who is online

Users browsing this forum: Baidu [Spider] and 8 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group