Settings for Audio MIDI Setup

I have a G4 laptop that I use with a VX pocket at home, and with inbuilt audio at work. I configure audio midi the way I want for each location. Can this be automated? How do I go about getting automator into to list of actions with workflows?

g4 Powerbook, Mac OS X (10.4.5)

Posted on Mar 14, 2006 1:51 PM

Reply
4 replies

Mar 14, 2006 3:21 PM in response to Robert Whyte

Audio MIDI Setup has no Automator actions written for it (that I'm aware of) and is unlikely to get them soon as it lacks an AppleScript API. An automated solution is going to be reduced to mimicking user input (pushing buttons and sliding controls) with System Events. For an explanation and example see this recent thread.

I can help you work out the specific syntax for the script, but first I'll need to see the two configurations you're switching between. Open Audi MIDI Setup, hit Command-Shift-4 on your keyboard, then hit the space bar, then click the shaded setup window with the camera-icon cursor. Locate "Picture 1" on your desktop and rename it "MIDI Setup 1." Reconfigure your settings and repeat these steps, renaming the file "MIDI Setup 2." If you have a hosted website or storage space where you can upload the files, go ahead and link to them in your reply. If not, you may e-mail them to me and I'll post them.

Mar 15, 2006 6:07 AM in response to Robert Whyte

OK, try this.

click here to open this script in your editor <pre style="font-family: 'Monaco', 'Courier New', Courier, monospace; overflow:auto; color: #222; background: #DDD; padding: 0.2em; font-size: 10px; width:400px">tell application "Audio MIDI Setup" to activate
tell application "System Events" to tell the 1st tab group of the front window of process "Audio MIDI Setup"
repeat with b from 6 to 8
tell pop up button b
click
click menu item "VXpocket" of the front menu
end tell
delay 0.2
end repeat
tell the 1st table of the 2nd scroll area to repeat with r from 2 to 3
tell row r to copy 0.8 to the value of the 2nd text field
end repeat
end tell</pre>

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Settings for Audio MIDI Setup

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.