| Splasm Software Discussions https://www.splasmstrands.com.splasm.com/ |
|
| ui scripting issues with drag&drop https://www.splasmstrands.com.splasm.com/viewtopic.php?f=13&t=4588 |
Page 1 of 1 |
| Author: | alien27 [ Sun May 05, 2013 5:28 am ] |
| Post subject: | ui scripting issues with drag&drop |
All, I am currently working on a way to script audiobook builder for batch tasking. Now I am stuck at the point where I have to pass a file to AB for processing and don't know how to proceed here. This is the part of the builder where I am stuck: Attachment: dragdrop.jpg [ 36.98 KiB | Viewed 12822 times ] relevant part of my code looks as: Code: tell application "System Events" tell process "Audiobook Builder" -- create new project tell window 1 click button 1 delay 1 end tell -- name project tell window 1 set value of text field 1 to Filename delay 1 click button 4 end tell -- name author tell window 1 set value of combo box 2 to vAuthor tell radio group 1 click radio button 2 end tell end tell -- add file tell window 1 -- >here I want to pass the file stored in aFile tell radio group 1 click radio button 3 end tell end tell tell window 1 click button 4 end tell tell window 1 click button 1 end tell end tell end tell Thanks for any advice, Stefan |
|
| Author: | Allan W. [ Mon May 06, 2013 10:17 am ] |
| Post subject: | Re: ui scripting issues with drag&drop |
In the past, another user wrote Apple-scripting for doing something just like you're looking to do. Here's a link to an old post about that: viewtopic.php?f=13&t=654&p=2040&hilit=audiobook+batch+script#p2040 Perhaps you could take a look at what thorix did and use that as a starting point or just try out his existing methods. |
|
| Page 1 of 1 | All times are UTC - 6 hours |
| Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |
|