New To Mac-Forums?

Welcome to our community! Join the discussion today by registering your FREE account. If you have any problems with the registration process, please contact us!

Get your questions answered by community gurus • Advice and insight from world-class Apple enthusiasts • Exclusive access to members-only contests, giveaways and deals

Join today!

 
Start a Discussion
 

Mac-Forums Brief

Subscribe to Mac-Forums Brief to receive special offers from Mac-Forums partners and sponsors

Join the conversation RSS
OS X - Apps and Games Discussion of applications and games available for Mac OS X.

Making a batch list with Automator..?


Post Reply New Thread Subscribe

 
Thread Tools
fassbinder

 
Member Since: Aug 30, 2011
Posts: 2
fassbinder is on a distinguished road

fassbinder is offline
Hi!

I have a program called DNGImporter.

It's a program that converts .dng files to whatever format, prores for example...

My problem is that I can only convert one file each time.

I have uploaded a screenshot of my desktop here:
ImageShack® - Online Photo and Video Hosting

I want to make a script in automator to do the following:

Open dngimporter ( or if its already open) open a specified .dng file in a folder ( lets say open picture 00501603.DNG in folder AC005003) and then it should convert it to a specified folder.

After it has been converted it should load the next .dng file in the next folder.

So I want to make a batch script so I don't have to sit here all night and convert one file at the time.

Any ideas?

Thanks in advance!

//Erik, Sweden

EDIT!:

Okay so i've made a watch me do command and it works.
But I still want to make an applescript that tells DNGImporter to press the export button, how do I do that?
QUOTE Thanks
fassbinder

 
Member Since: Aug 30, 2011
Posts: 2
fassbinder is on a distinguished road

fassbinder is offline
UPDATE!

Trying this script:


on run {input, parameters}

tell application "System Events" to set isUIScriptingEnabled to UI elements enabled
if isUIScriptingEnabled = false then
tell application "System Preferences"
activate
set current pane to pane "com.apple.preference.universalaccess"
display dialog "Your system is not properly configured to run this script.
Please select the \"Enable access for assistive devices\"
checkbox and trigger the script again to proceed."
return
end tell
end if

tell application "System Events" to return name of every process

tell application "System Events" to set frontmost of process "DNGImporter" to true

tell application "System Events"
tell process "DNGImoprter"
click button "Export" of window 1
end tell
end tell

return input
end run



The thing is it doesnt press the export button.... all it does is bring DNGImporter to the front.

When I put the cursor over the export button Accessibility Inspector says:

<AXApplication: "DNGImoprter">
<AXWindow: "DGImporter">
<AXButton: "Export">

Attributes:
AXRole: "AXButton"
AXRoleDescription: "button"
AXHelp: "(null)"
AXEnabled: "0"
AXFocused: "0"
AXParent: "<AXWindow: "DNGImporter">"
AXWindow: "<AXWindow: "DNGImporter">"
AXTopLevelUIElement: "<AXWindow: "DNGImporter">"
AXPosition: "x=220 y=444"
AXSize: "w=463 h=64"
AXTitle: "Export"

Actions:
AXPress - press


What am I doing wrong?
QUOTE Thanks

Post Reply New Thread Subscribe


« Excel won't open | Flash Player 64 bits »
Thread Tools

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off
Forum Jump

Similar Threads
Thread
Thread Starter
Forum
Replies
Last Post
Automator acting goofy qoncept OS X - Apps and Games 1 04-19-2013 07:45 AM
Automator - Help closing apps after Automator launches them p605 OS X - Apps and Games 0 08-26-2011 01:04 PM
Easing (some of) the pain of GPU switching on my mid-2009 Macbook Pro using Automator cwintermeyer Apple Notebooks 3 05-14-2010 01:13 PM

All times are GMT -4. The time now is 12:42 PM.

Powered by vBulletin
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
X

Welcome to Mac-Forums.com

Create your username to jump into the discussion!

New members like you have made this community the ultimate source for your Mac since 2003!


(4 digit year)

Already a member?