Need help with GUI Scripting Audio Midi Setup

I want to read the value of the sampling frequency set by default in Audio Midi Setup.
If there is an easy unix way to gleen this, please let me know. Otherwise, I am trying to get it via GUI scripting. I think I am almost there, but am doing something stupid.
Here is what I have:
tell application "Audio MIDI Setup"
activate
end tell
tell application "System Events"
activate
tell application process "Audio MIDI Setup"
select window 1
select group
select tab group
select group
select combo box
set FrequencyValue to contents of combo box
end tell
end tell
Basically, this comes down to the question of how to extract the default text field from the combo box.

Once you click on the combo box to get the list of items, you can do stuff with the results. The easiest thing would probably be to use the up and down arrows to change the selection, since the text field is not editable. You can compare the list of items with the current value and do something from there - how do you plan to choose the item to change to?
<pre style="
font-family: Monaco, 'Courier New', Courier, monospace;
font-size: 10px;
font-weight: normal;
margin: 0px;
padding: 5px;
border: 1px solid #000000;
width: 720px;
color: #000000;
background-color: #DAFFB6;
overflow: auto;"
title="this text can be pasted into the Script Editor">
tell application "Audio MIDI Setup" to activate
tell application "System Events" to tell application process "Audio MIDI Setup"
set comboBox to combo box 1 of group 1 of tab group 1 of group 1 of window "Audio Devices"
set frequencyValue to value of comboBox -- get current value
click button 1 of comboBox -- perform action "AXPress" to drop the list
set theChoices to value of text fields of list 1 of scroll area 1 of comboBox -- get all the values
-- keystroke (ASCII character 31) -- down arrow
-- keystroke (ASCII character 30) -- up arrow
-- keystroke return -- select and dismiss the list
end tell
activate me
choose from list theChoices default items {frequencyValue} -- just show the results
</pre>

Similar Messages

  • I need help with this script please ASAP

    So I need this to work properly, but when ran and the correct answer is chosen the app quits but when the wrong answer is chosen the app goes on to the next question. I need help with this ASAP, it is due tommorow. Thank you so much for the help if you can.
    The script (Sorry if it's a bit long):
    #------------Startup-------------
    display dialog "Social Studies Exchange Trviva Game by Justin Parzik" buttons {"Take the Quiz", "Cyaaaa"} default button 1
    set Lolz to (button returned of the result)
    if Lolz is "Cyaaaa" then
    killapp()
    else if Lolz is "Take the Quiz" then
              do shell script "say -v samantha Ok starting in 3…2…1…GO!"
    #------------Question 1-----------
              display dialog "Around age 11, many boys left their fathers to become…" buttons {"Scholars", "Warriors", "Apprentices"}
              set A1 to (button returned of the result)
              if A1 is "Apprentices" then
                        do shell script "say -v samantha Correct Answer"
              else
                        do shell script "say -v samantha Wrong Answer"
      #----------Question 2--------
                        display dialog "Most children were taught
    to read so that they could understand the…" buttons {"Music of Mozart", "Bible", "art of cooking"}
                        set A2 to (button returned of the result)
                        if A2 is "Bible" then
                                  do shell script "say -v samantha Correct Answer"
                        else
                                  do shell script "say -v samantha Wrong Answer"
      #------------Question 3---------
                                  display dialog "In the 1730s and 1740s, a religious movement called the_______swept through the colonies." buttons {"Glorius Revolution", "Great Awakening", "The Enlightenment"}
                                  set A3 to (button returned of the result)
                                  if A3 is "Great Awakening" then
                                            do shell script "say -v samantha Correct Answer"
                                  else
                                            do shell script "say -v samantha Wrong Answer"
      #-----------Question 4--------
                                            display dialog "_______ was
    a famous American Enlightenment figure." buttons {"Ben Franklin", "George Washington", "Jesus"}
                                            set A4 to (button returned of the result)
                                            if A4 is "Ben Franklin" then
                                                      do shell script "say -v samantha Correct Answer"
                                            else
                                                      do shell script "say -v samantha Wrong Answer"
      #----------Question 5-------
                                                      display dialog "______ ownership gave colonists political rights as well as prosperity." buttons {"Land", "Dog", "Slave"}
                                                      set A5 to (button returned of the result)
                                                      if A5 is "Land" then
                                                                do shell script "say -v samantha Correct Answer"
                                                      else
                                                                do shell script "say -v samantha Wrong Answer"
      #---------Question 6--------
                                                                display dialog "The first step toward guaranteeing these rights came in 1215. That
    year, a group of English noblemen forced King John to accept the…" buttons {"Declaration of Independence", "Magna Carta", "Constitution"}
                                                                set A6 to (button returned of the result)
                                                                if A6 is "Magna Carta" then
                                                                          do shell script "say -v samantha Correct Answer"
                                                                else
                                                                          do shell script "say -v samantha Wrong Answer"
      #----------Question 7--------
                                                                          display dialog "England's cheif lawmaking body was" buttons {"the Senate", "Parliament", "King George"}
                                                                          set A7 to (button returned of the result)
                                                                          if A7 is "Parliament" then
                                                                                    do shell script "say -v samantha Correct Answer"
                                                                          else
                                                                                    do shell script "say -v samantha Wrong Answer"
      #--------Question 8-----
                                                                                    display dialog "Pariliament decided to overthrow _______ for not respecting their rights" buttons {"King James II", "King George", "King Elizabeth"}
                                                                                    set A8 to (button returned of the result)
                                                                                    if A8 is "King James II" then
                                                                                              do shell script "say -v samantha Correct Answer"
                                                                                    else
                                                                                              do shell script "say -v samantha Wrong Answer"
      #--------Question 9------
                                                                                              display dialog "Parliament named ___ and ___ as England's new monarchs in something called ____." buttons {"William/Mary/Glorius Revolution", "Adam/Eve/Great Awakening", "Johhny/Mr.Laphalm/Burning of the hand ceremony"}
                                                                                              set A9 to (button returned of the result)
                                                                                              if A9 is "William/Mary/Glorius Revolution" then
                                                                                                        do shell script "say -v samantha Correct Answer"
                                                                                              else
                                                                                                        do shell script "say -v samantha Wrong Answer"
      #---------Question 10-----
                                                                                                        display dialog "After accepting the throne William and Mary agreed in 1689 to uphold the English Bill of _____." buttons {"Money", "Colonies", "Rights"}
                                                                                                        set A10 to (button returned of the result)
                                                                                                        if A10 is "Rights" then
                                                                                                                  do shell script "say -v samantha Correct Answer"
                                                                                                        else
                                                                                                                  do shell script "say -v samantha Wrong Answer"
      #---------Question 11------
                                                                                                                  display dialog "By the late 1600s French explorers had claimed the ___ River Valey" buttons {"Mississippi", "Ohio", "Hudson"}
                                                                                                                  set A11 to (button returned of the result)
                                                                                                                  if A11 is "Ohio" then
                                                                                                                            do shell script "say -v samantha Correct Answer"
                                                                                                                  else
                                                                                                                            do shell script "say -v samantha Wrong Answer"
      #------Question 12---------
                                                                                                                            display dialog "______ was sent to ask the French to leave 'English Land'." buttons {"Johhny Tremain", "George Washington", "Paul Revere"}
                                                                                                                            set A12 to (button returned of the result)
                                                                                                                            if A12 is "George Washington" then
                                                                                                                                      do shell script "say -v samantha Correct Answer"
                                                                                                                            else
                                                                                                                                      do shell script "say -v samantha Wrong Answer"
      #---------Question 13-------
                                                                                                                                      display dialog "_____ proposed the Albany Plan of Union" buttons {"George Washingon", "Ben Franklin", "John Hancock"}
                                                                                                                                      set A13 to (button returned of the result)
                                                                                                                                      if A13 is "Ben Franklin" then
                                                                                                                                                do shell script "say -v samantha Correct Answer"
                                                                                                                                      else
                                                                                                                                                do shell script "say -v samantha Wrong Answer"
      #--------Question 14------
                                                                                                                                                display dialog "The __________ declared that England owned all of North America east of the Mississippi" buttons {"Proclomation of England", "Treaty of Paris", "Pontiac Treaty"}
                                                                                                                                                set A14 to (button returned of the result)
                                                                                                                                                if A14 is "" then
                                                                                                                                                          do shell script "say -v samantha Correct Answer"
                                                                                                                                                else
                                                                                                                                                          do shell script "say -v samantha Wrong Answer"
      #-------Question 15-------
                                                                                                                                                          display dialog "Braddock was sent to New England so he could ______" buttons {"Command an attack against French", "Scalp the French", "Kill the colonists"}
                                                                                                                                                          set A15 to (button returned of the result)
                                                                                                                                                          if A15 is "Command an attack against French" then
                                                                                                                                                                    do shell script "say -v samantha Correct Answer"
                                                                                                                                                          else
                                                                                                                                                                    do shell script "say -v samantha Wrong Answer"
      #------TheLolQuestion-----
                                                                                                                                                                    display dialog "____ is the name of the teacher who runs this class." buttons {"Mr.White", "Mr.John", "Paul Revere"} default button 1
                                                                                                                                                                    set LOOL to (button returned of the result)
                                                                                                                                                                    if LOOL is "Mr.White" then
                                                                                                                                                                              do shell script "say -v samantha Congratulations…you…have…common…sense"
                                                                                                                                                                    else
                                                                                                                                                                              do shell script "say -v alex Do…you…have…eyes?"
                                                                                                                                                                              #------END------
                                                                                                                                                                              display dialog "I hope you enjoyed the quiz!" buttons {"I did!", "It was horrible"}
                                                                                                                                                                              set endmenu to (button returned of the result)
                                                                                                                                                                              if endmenu is "I did!" then
                                                                                                                                                                                        do shell script "say -v samantha Your awesome"
                                                                                                                                                                              else
                                                                                                                                                                                        do shell script "say -v alex Go outside and run a lap"
                                                                                                                                                                              end if
                                                                                                                                                                    end if
                                                                                                                                                          end if
                                                                                                                                                end if
                                                                                                                                      end if
                                                                                                                            end if
                                                                                                                  end if
                                                                                                        end if
                                                                                              end if
                                                                                    end if
                                                                          end if
                                                                end if
                                                      end if
                                            end if
                                  end if
                        end if
              end if
    end if

    Use code such as:
    display dialog "Around age 11, many boys left their fathers to become…" buttons {"Scholars", "Warriors", "Apprentices"}
    set A1 to (button returned of the result)
    if A1 is "Apprentices" then
    do shell script "say -v samantha Correct Answer"
    else
    do shell script "say -v samantha Wrong Answer"
    return
    end if
    #----------Question 2--------
    display dialog "Most children were taught to read so that they could understand the…" buttons {"Music of Mozart", "Bible", "art of cooking"}
    set A2 to (button returned of the result)
    if A2 is "Bible" then
    do shell script "say -v samantha Correct Answer"
    else
    do shell script "say -v samantha Wrong Answer"
    return
    end if
    (90444)

  • Noob needs help with Logic and Motu live setup.

    Hello everyone,
    I'm a noob / semi noob who could use some help with a live setup using 2 MOTU 896HD's and Logic on a Mac.
    Here's the scenario:
    I teach an outdoor marching percussion section (a drumline and a front ensemble of marimbas and vibes). We have an amazing setup of live sound to amplify and enhance the mallet percussion. There is a yamaha PA system with 2 subs and 2 mains which are routed through a rack unit that processes the overall PA balance. I'm pretty sure that the unit is supposed to avoid feedback and do an overall cross-over EQ of the sound. Other then that unit, we have 2 motu896hd units which are routed via fire-wire. I also have a coax cable routing the output of the secondary box to the input of the primary box (digital i/o which converts to ADAT in (i think?)..?
    Here's the confusion:
    There are more then 8 inputs being used from the ensemble itself, so I need the 16 available inputs to be available in Logic. I was lead to believe that the 2nd motu unit would have to be sent digitally to the 1st motu unit via coax digital i/o. Once in Logic, however, I cannot find the signal or any input at all past the 8th input (of the 1st unit).
    Here's the goal:
    All of my performers and inputs routed via firewire into a Mac Mini running OSX and Logic pro.
    I want to be able to use MainStage and run different patches of effects / virt. instruments for a midi controller keyboard / etc.
    I want to be able to EQ and balance the ensemble via Logic.
    Here's another question:
    How much latency will I be dealing with? Would a mac mini with 4gb of ram be able to handle this load? With percussion, I obviously want the sound as latency free as possible. I also, however, want the flexibility of sound enhancement / modification that comes with Logic and the motu896hd units.
    Any help would be REALLY appreciated. I need the routing assistance along with some direction as to whether or not this will work for this type of application. I'm pretty certain it does, as I have spoken with some other teachers in similar venues and they have been doing similar things using mac mini's / logic / mainstage / etc.
    Thanks in advance,
    Chris

    You'll definitely want to read the manual to make sure the 896HDs are connected together properly. ADAT is a little tricky, it's not just a matter of cabling them together. Go to motunation.com if you need more guidance on connecting multiple devices. Beyond that initial hookup, here are a couple of quick suggestions:
    1. Open CueMix and see if both devices are reported there. If not, your connections aren't correct. Be sure to select 44.1kHz as your sample rate, otherwise you are reducing the number of additional channels. For instance at 88.2kHz you would get half the additional channels via ADAT.
    2. You may need to create an aggregate device for the MacBook to recognize more than the first 896HD. Lots of help on this forum for how to do that. Again, first make sure you have the 896HDs connected together properly.
    3. As for latency with Mainstage on the Mini, no way to know until you try it. Generally MOTU is fantastic for low latency work but Mainstage is a question mark for a lot of users right now. If the Mini can't cut the mustard, you have a great excuse to upgrade to a MacBook Pro.

  • Need help with a script applied by GPO

    Hello,
    I need to automate WebFeed insertion for Remote App Users at user logon.
    RDS 2012 R2 in place. Remote Apps are provided to W7 clients.
    Currently, WebFeed link must be inserted manually in each user's Control Panel\RemoteApp and Desktop Connections. There
    is no straight forward way from Microsoft.
    But there is a script and instruction I found on web...
    I followed the instruction... Created GPO. GPO applies to user but nothing happens.
    Can somebody check the script and the instruction that I could wrongly applied.
    In instruction there is no word about changing something in the script but only wcx file that the script should
    use.
    The script is below and here is my .wcx file:
    <?xml version="1.0? encoding="utf-8? standalone="yes"?>
    <workspace name="Enterprise Remote Access" xmlns="http://schemas.microsoft.com/ts/2008/09/tswcx" xmlns:xs="http://www.w3.org/2001/XMLSchema">
    <defaultFeed url="https://my_webserver_real_FQDN/rdweb/Feed/webfeed.aspx" />
    </workspace>
    I changed the quotes to vertical (") from (”) that
    were in my wcx when copied the lines from web.
    Still not works.
    I
    checked Application log, PowerShell and RemoteApp in eventviewer under user session
    Everything is clean.
    Were I can check the script execution log?
    When the user with applied script logs in, the icon of Remote
    connection appears for 10 seconds on the task bar and disappears.
    Looks like it's trying...
    Check please if the script really should not be touched and provide some troubleshooting
    steps.
    Thanks!
    INSTRUCTIONS from
    the link:
    http://www.concurrency.com/infrastru...rver-2012-rds/
    "Unfortunately
    Windows 7 clients are out of luck here. If you really want to use GPO to deploy
    RemoteApps to Windows 7 clients, then you have to jump through a few
    hoops.
    Create a new GPO and under User ConfigurationPoliciesWindows
    SettingsScripts, double click Logon and click the
    Show Files
    button. This will open an explorer window where you can copy files that will be
    saved within this GPO. Download the
    Install-RADCConnection.ps1 script from the TechNet gallery and
    save it there. Also create a new Text file named something like feed.wcx,
    open it in Notepad and paste in the following three lines of text:
    <?xml
    version=”1.0″ encoding=”utf-8″ standalone=”yes”?>
    <workspace
    name=”Enterprise Remote Access” xmlns=”http://schemas.microsoft.com/ts/2008/09/tswcx”xmlnss=”http://www.w3.org/2001/XMLSchema”>
    <defaultFeed
    url=”https://rds.domain.com/RDWeb/Feed/webfeed.aspx”
    />
    </workspace>
    Now select the PowerShell Scripts tab and
    click the Add button.
    Click Browse and select the .ps1 file and
    for the parameters enter the name of the wcx file. Click OK twice and you are
    ready to scope that policy to a set of users.   
    <#
    .SYNOPSIS
    Installs a connection in RemoteApp and Desktop Connections.
    .DESCRIPTION
    This script uses a RemoteApp and Desktop Connections bootstrap file(a .wcx file) to set up a connection in Windows 7 workstation. No user interaction is required.It sets up a connection only for the current user. Always run the script in the user's session.
    The necessary credentials must be available either as domain credentials or as cached credentials on the local machine. (You can use Cmdkey.exe to cache the credentials.)
    Error status information is saved in event log: (Applications and Services\Microsoft\Windows\RemoteApp and Desktop Connections).
    .Parameter WCXPath
    Specifies the path to the .wcx file
    .Example
    PS C:\> Install-RADCConnection.ps1 c:\test1\work_apps.wcx
    Installs the connection in RemoteApp and Desktop Connections using information
    in the specified .wcx file.
    #>
    Param(
    [parameter(Mandatory=$true,Position=0)]
    [string]
    $WCXPath
    function CheckForConnection
    Param (
    [parameter(Mandatory=$true,Position=0)]
    [string]
    $URL
    [string] $connectionKey = ""
    [bool] $found = $false
    foreach ($connectionKey in get-item 'HKCU:\Software\Microsoft\Workspaces\Feeds\*' 2> $null)
    if ( ($connectionKey | Get-ItemProperty -Name URL).URL -eq $URL)
    $found = $true
    break
    return $found
    # Process the bootstrap file
    [string] $wcxExpanded = [System.Environment]::ExpandEnvironmentVariables($WCXPath)
    [object[]] $wcxPathResults = @(Get-Item $wcxExpanded 2> $null)
    if ($wcxPathResults.Count -eq 0)
    Write-Host @"
    The .wcx file could not be found.
    exit(1)
    if ($wcxPathResults.Count -gt 1)
    Write-Host @"
    Please specify a single .wcx file.
    exit(1)
    [string] $wcxFile = $wcxPathResults[0].FullName
    [xml] $wcxXml = [string]::Join("", (Get-Content -LiteralPath $wcxFile))
    [string] $connectionUrl = $wcxXml.workspace.defaultFeed.url
    if (-not $connectionUrl)
    Write-Host @"
    The .wcx file is not valid.
    exit(1)
    if ((CheckForConnection $connectionUrl))
    Write-Host @"
    The connection in RemoteApp and Desktop Connections already exists.
    exit(1)
    Start-Process -FilePath rundll32.exe -ArgumentList 'tsworkspace,WorkspaceSilentSetup',$wcxFile -NoNewWindow -Wait
    # check for the Connection in the registry
    if ((CheckForConnection $connectionUrl))
    Write-Host @"
    Connection setup succeeded.
    else
    Write-Host @"
    Connection setup failed.
    Consult the event log for failure information:
    (Applications and Services\Microsoft\Windows\RemoteApp and Desktop Connections).
    exit(1)
    --- When you hit a wrong note its the next note that makes it good or bad. --- Miles Davis

    Use GPP for this. Do not use a script.  Post your issues in the GP forum.
    You should also visit the RDS forum to get information on how to distribute remote app links.
    ¯\_(ツ)_/¯

  • Need help with Java Script to perform a calculation in Adobe Acrobat Pro 9 form

    I have a form (test) that I am creating in Adobe Acrobat Pro 9.
    I need help creating custom Java Script so I can get the desired answer.
    1) There are several questions in each group that require a numerical answer between 0-4
    2) There is a total field set up to sum the answers from all above questions
    3) The final "score" takes the answer from Step 2 above and divides by the total possible answer
    Any help on what Java Script I need to complete this would be greatly appreciated!
    I've attached a "spreadsheet" that shows it in more detail as well as what formulas I used in Excel to get the desired end result.
    Thanks in advance.

    Have you tried the "The field is the average of:"?

  • Help with NAS (Network Audio System) setup.

    Anyone having any ideas how to set up this? I couldn't find any documentation, no howtos, no help, just an obscure nasd.con.eg in the package.
    Has anyone managed to set up a client and a server for this system, it'd be really useful to me...

    Idd, seeking is hard and really hacky (:D) to implement with the two process solution. :\ You can use the
    extern-movie.sh 10.0.0.4 movie.mkv 124
    to seek where you want in the files, but you'd have to exit the script, then restart the script in the middle of a movie ... :\ Writing a plugin for MPlayer might kinda defeat the simplistic design of rsound. Shouldn't be hard to implement though. I made an rsound client in python in like 5 mins, so shouldn't be too hard.
    As for NAS: http://linux.die.net/man/1/nasd this helped a little, but it really looks like legacy software. "When the Network Audio System server starts up, it takes over /dev/audio."
    I've been trying to get nas up and running, and it wasn't hard to get it to play some stuff with mplayer, but it feels quite broken using the default config + mplayer. Might be my alsa emulation of course, but mplayer showed hickups, erratic framerate (-autosync 100 helped against this), bad sound quality, and a couple of crashes.
    You could try this from the command line. Shouldn't need to set-up any config file yet.
    sudo nasd -aa
    And running this in another shell:
    mplayer <movie> -ao nas
    Try it locally, not sure how to set up nas to connect to extern servers. :\
    Last edited by Themaister (2010-01-04 18:47:10)

  • Need help with easy script for open / close app and move files

    Hi,
    I'm not a scripter.. never done anything special perhaps more complicated than /shutdown -s on cmd..
    I actually learned ASCII C language on university but never used it in real.
    I'm trying to create a basic script that perhaps you could help me or guide me how to do it..
    The commands are
    1) Close a running app (end task it or force kill it, I prefer end task it)
    2) delete files from x location
    3) run .exe app from y location
    4) close that running app 
    5) move files from z to y
    Perhaps adding few "wait few seconds" commands in between each, so the apps will launch successfully..
    My first question will be whats the easiest script language to do that?
    I tried VBScript but couldn't find commands for open or close apps.. also for controlling files..
    And what commands can do that? I could google them up for better understanding no need for rough guide
    And lastly, does it too hard? If it takes more than hour to make it (learn and process) than it ain't worth it..
    Thanks alot ahead!
    Jordan.

    hmm 2 questions:
    1) taskkill.exe causing me access deny error.. I used "taskkill.exe /IM softwarename.exe"
    how do I get permission or something to fix that?
    2) on the "move" command..
    First, its a "copy" instead.. but I easily figured that out.. 
    but more important is that I want to copy a folder.. with unknown list of way too long files and sub folders..
    and all I see is ability to move a file..
    Is this possible?
    Thanks

  • Need help with Apple TV + Airport Express setup

    I am newbie to this whole Apple thing. Just switched from Windows world (20+ years of torture) to MacBook Pro about 6 months ago. Loving every minute of it.
    Here's what I currently have...
    I have a 4000+ sq.ft. home with 3 levels on a 1-acre lot. I have 5 zones for music/movies - 7.1 dedicated Home Theater (lower level), 5.1 HT system for casual TV watching in Family Room, 2.1 system (music only) in my Home Office, 2.1 system (music only) in my Master Bedroom, 5.1 HTiB in Kids Bedroom. All systems have dedicated AVRs/Speakers/Subs (Denon, Harmon Kardon, Yamaha, Polk, Energy, Klipsch etc.).
    I have 2 MacBook Pros and 2 Windows Laptops. I have AirportExtreme running a wireless network throughout the house. I have NAS attached to AE. I use iTunes to manage all my media content. I also have a iPhone 3G.
    I have ripped all my CDs in Apple Lossless format into iTunes. I listen to free internet radio stations (NO Napster, Raphsody or other subscription-based services). Sometimes watch/listen free video/audio podcasts. I do NOT rent or buy movies/music via iTunes or any other source (just buy old-fashioned CDs/DVDs when neeeded).
    Here's what I want to accomplish...
    1. Ability to "wirelessly" stream media to any or all zones.
    2. Central, easy to use controller for all systems.
    3. Should be able to accomplish this functionality without having to keep PC/Mac running.
    Ques 1: I have considered Sonos option, but it can't do video content. So, I guess my options are Apple TV + 5 Airport Expresses. Is that correct? Will I be able to accomplish my goal with this setup? Anything I need to be aware of, e.g, network connectivity/slowdown issues, system reliability issues, ease-of-use etc.?
    Ques 2: One of the major benefits of Sonos system is the ability to play different music in different zones. From what I understand, this is NOT possible with AppleTV + AirportExpress + iTunes setup. Is that correct?
    What if I have iTunes running on 2 separate laptops. Can one laptop play it's own playlist via AirExp-1 and the other laptop play a different playlist via AirExp-2 & AirExp-3? Is this possible? If yes, then I guess this may "simulate" the zoning effect of Sonos (albeit thru 2 separate controllers; but it works for my needs).
    Ques 3: I have a MobileMe account to keep my MBP and iPhone in sync. I have lot of Photo Albums in MobileMe Gallery and also in iPhoto on my MBP. How can this me viewed via AppleTV? Would I have to move my iPhoto from MBP to AppleTV HDD?
    Ques 4: Currently my iTunes library resides on my MBP. Is there any benefit of putting it on AppleTV HDD?
    Ques 5: Can AppleTV HDD be used as backup drive for Time Machine. Currently, I have no choice but to buy Apple Time Capsule to use as wireless backup drive for my MBP; I can't use my NAS for this purpose (From what I've read on forums, I think Apple removed this functionality).
    Any input is greatly appreciated. Thank you all.

    >and Verizon Fios w/ 50mg upload and 25 mg download.
    Your internet connection is not relevant this is all runnig across your home network.
    >- I want to be able to backup all of my photos, movies and music
    Time Machine on MacOS will will already take care of this for you.
    >- I want to store all of my movies on a separate devise that wont clog up my mac book pro
    So put then do that.  You said you have two external drives. (As long as they both have network support)  Put the content on one of them and make the other one the back up.
    > (ideally I would like a wireless connection)
    While technically possible not a great idea.  Streaming video over WiFi is usally problemattic and so are large scale data set backups.
    >- I want to be able to watch those stored movies through ATV (via itunes)
    Only going to work when your Mac is on with iTunes running, but can be done.

  • Need help with shell scripting and Patching

    Hello all,
    I am a very new Oracle DBA and I just have an interview where i have been ask two questions that i have no idea of what it is
    1/ What is shell scripting and how do you do shell scripting?
    2/ What is Patching and how do you do patching?
    Can some one help to have a very good understanding of these tow questions?
    Thanks a lot

    1/ What is shell scripting and how do you do shell scripting?shell accept command from you (via keyboard) and execute them. But if you use command one by one (sequence of 'n' number of commands) , the you can store this sequence of command to text file and tell the shell to execute this text file instead of entering the commands. This is know as shell script.
    Shell script defined as:
    "Shell Script is series of command written in plain text file. Shell script is just like batch file in MS-DOS
    for example:- for taking backup, health check and doing some task Operating system level or Oracle database level we can create shell script and schedule a cron job
    2/ What is Patching and how do you do patching?for example ,in windows while using sometimes you might face an issue/error and it gives pop up error message would like to send/report this error to microsoft? microsoft will send you a fix for that. lot of fixes for errors/bugs are released as patches.( n number of patches with newer features are releases as new version)
    likewise in oracle for resolving bugs we should have to apply patch.
    patch is basically a fix for a bug/bugs. we need to use opatch utility to apply the paches.
    hope, this helps you

  • Need help with Holiday script

    Hi All,
    I am not sure why my Holiday scripts keep returning Null, I have attached the script and xml files.
    If someone can help would be great.
    Thanks,
    Hamed

    So if you read through the logic of the script, it looks for Hokiday1 in the XML file theN Holiday2 then Holiday3, etc. As soon as it find one that doesn't exist is when the loop ends. If it doesn't find any, it returns null. Since your XML file starts with Holiday2, it returns null when looking for Holiday1 and then exits the script. I would try changing your XML file to begin with Holiday1 and aee what the debugging looks like after that.

  • Need help with a script

    I just thought I may find someone here that could help me write a script I'm having trouble with.
    I'm using a 'Personal Domain' name at MobileMe.
    I have this Code listed below that requires the 'Formmail' free script
    from my provider. I don't want to use 'Formmail', so how should I
    right the Code below to allow users to click 'Submit' and then the
    users own email program would open by default with my email
    address in the 'To" box.
    [color=red]<!-- THIS FORM IS MADE TO WORK WITH ALLWEBCO SERVERS --><!-- YOU MUST GO TO YOUR CONTROL PANEL TO INSTALL THE Formmail FREE SCRIPT -->
    <form method="post"
    action="http://your-domain.com/cgi-bin/formmail.cgi" target="_top"
    style="margin: 0px;"><input name="recipient"
    value="[email protected]" type="hidden"> <input name="subject"
    value="WebSite Contact" type="hidden"> <input name="redirect"
    value="http://your-domain.com/thanks.htm" type="hidden"><input
    name="required" value="email,your_name" type="hidden"> <input
    name="sort" value="yourname,phone,musicstyle,email,comments"
    type="hidden">
    <table border="0" cellpadding="1" cellspacing="0">
    <tbody>
    <tr>
    <td>Name:
    </td>
    </tr>
    <tr>
    <td><input name="your_name" size="20" class="shadeform"
    type="text">
    </td>
    </tr>
    <tr>
    <td>E-mail:
    </td>
    </tr>
    <tr>
    <td><input name="email" size="20" class="shadeform"
    type="text">
    </td>
    </tr>
    <tr>
    <td>Comments/Questions:
    </td>
    </tr>
    <tr>
    <td><textarea name="comments" rows="5" cols="25"
    class="textarea"></textarea>
    </td>
    </tr>
    <tr>
    <td>
    <input value="Submit Form"
    onmouseover="this.className='buttonon'"
    onmouseout="this.className='button'" class="button"
    style="width: 180px; margin-top: 5px;" type="submit">
    </td>
    </tr>
    </tbody>
    </table>
    </form>[/color]
    Message was edited by: StyleSupport

    Google doesn't care about your CNAME. It simply indexes your website.
    action="http://your-domain.com/cgi-bin/formmail.cgi" target="_top"
    Your website should have the formmail.cgi in the cgi-bin folder.
    MobileMe does not support server side scripts. With or without a domainname.
    One iWeb and one personal domain
    iWeb is an application to create webpages. It's not a domain. All pages at MobileMe are covered by your Personal Domain. No matter what application you use to create webpages.
    Have a look:
    http://me.wyodor.net/
    http://www.wyodor.net/
    http://web.me.com/wyodor/
    They're all the same.

  • Need help with after effects render engine setup

    I use AE CS6 on a mac computer running Mountain Lion. I also own a PC running Windows 7, and I am wanting to use it to assist with network rendering. How do I install the after effects render engine on a PC, when all that I own is the Mac version of the software?
    Any help would be appreciated

    Did you purchase a perpetual license for the software, or do you have a Creative Cloud Membership subscription?
    If the former, you need to purchase an additional license to get the Windows version. If the latter, you can just download the Windows version as part of your subscription.

  • Need help with GUI lay out HELP PLEASE

    hi iam trying to design this GUI for an assignment i cant seem to post pictures so i uploaded the picture of how its suppose to look
    http://ca.geocities.com/shamtu4life2000/layout.jpg
    i believe i got the code down correct but the layout is messed up also my teacher specified that the open color area be set at 400x300 i believe i did that correct my problem is the layout i get is jumbled and i dont know if i got the open area panel set correctly
    this is my code
    import java.awt.*;
    import javax.swing.*;
    public class colorFrame extends JFrame{
         public colorFrame(){
              //get the content pane of the frame
              //JPanel radio = JPanel();
              Container container = getContentPane();
              //set flowlayout
              container.setLayout(new FlowLayout());
              //create panel p1 set grid
              JPanel p1 = new JPanel();
              p1.setLayout(new GridLayout(1,3)) ;
              //add check boxes
              p1.add(new JCheckBox("RED"));
              p1.add(new JCheckBox("GREEN"));
              p1.add(new JCheckBox("BLUE"));
              //Create panel p2 set grid
              JPanel p2 = new JPanel();
              p2.setLayout (new GridLayout(1,3));
              //Add radio buttons
              p2.add(new JRadioButton("Light"));
              p2.add(new JRadioButton("Normal"));
              p2.add(new JRadioButton("Dark"));
              //Create panel p3
              JPanel p3 = new JPanel();
              p3.setLayout (new GridLayout());
              //add button
              p3.add(new JButton("Show"));
              //Create panel p4
              JPanel p4 = new JPanel();
              p4.setLayout (new GridLayout());
              Dimension d = new Dimension(400,300);
              p4.setPreferredSize(d);
              //Add panels to frame
              container.add(p1, BorderLayout.SOUTH);
              container.add(p2, BorderLayout.SOUTH);
              container.add(p3, BorderLayout.EAST);
              container.add(p4, BorderLayout.NORTH);
         //Main Method
         public static void main(String[] args){
              colorFrame frame = new colorFrame();
              frame.setTitle("Color Frame");
              frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
              frame.setSize(500,400);
              frame.setVisible(true);
    }if any one got anyideas please let me know below i posted the assignment as background information thanks
    The GUI has a JPanel in the center region that displays different colors. All of the other components (3 JCheckboxes, 3 JRadioButtons, and one JButton) are on a JPanel in the south region of the JFrame. We haven�t yet learned how to make a GUI do anything in response to user generated events, such as mouse clicks. For this question, we just want to practice controlling the appearance of the GUI using layout managers.
    In the constructor of your ColorFrame class, create three JCheckbox objects, three JRadioButtons, and one JButton. All you need to know about these classes is that each
    one has a constructor that takes one String argument:
    new JCheckbox(�Red�)
    new JRadioButton(�Light�)
    new JButton(�Show�)
    We want to use JPanels and layout managers to control the appearance of the GUI. We want the three JCheckboxes to remain together, so we put them on a JPanel. Similarly for the three JRadioButtons � put them on another JPanel. We want the JButton to retain its preferred size � not to grow to fill an entire region of the GUI --so put it on another JPanel.  These JPanels should use FlowLayout.
    We want to put all of these JPanels in the south region of the JFrame, but if we just add them to the frame, one will go on top of the other and we�ll only see the last one that was added. Instead, use one or more additional JPanels with GridLayout to hold the first set of JPanels, then add the JPanels holding all the other components to the JFrame.
    You also want to create another instance of JPanel to add to the center region of the JFrame. Unlike the other JPanels, this one won�t hold other components; it will display different colors. (You don�t have to implement this color display.) When you pack the JFrame, the other JPanels will become large enough to hold the other components they contain, but since this one holds no components, it would shrink to zero by default. To prevent this, you should set its preferred size to some non-zero value, say 400 x 300 pixels.
    Your class should have a main method that calls the constructor tocreate an instance of this class, sets its size using pack, sets its default close operation, and makes it visible.

    You have set the container layout to FlowLayout, but you then try to place panels using the BorderLayout constants, you should use BorderLayout on the container.

  • Need help with Java script calling an html page

    Hello -
    I have a bunch of web pages, that call a java script called "header.js". The "header.js" puts a header on the top of each web page. In the Java script, I have a gif (picture) that displays a logo and if you click on it, it will send to you a different website.
    I'd like to replace this gif with an actual web page. So, the "header" would actually be a web page and not some gif.
    Below is a snippet of the code and I'd like to replace the highlighted section with a web page called "header.html". I don't even know if this is possible.
    Can anyone tell me what I need to do? I know pretty much nothing about Javascripting so please be as detailed as you can. Thanks!
    /* Common header across all pages... */
    document.write('            <div id="header" class="clearfix">');
    document.write('                            <div id="left" class="float_left">');
    document.write('                                            <div id="logo"><a href="http://www.xyz.com/" onclick="window.open(this.href);return false;" onkeypress="window.open(this.href);return false;" target=_blank><img src="/images/xyz.gif" width="105" height="75" alt="" border="0" /></a></div>');
    document.write('                                            <div id="mainNav" class="clearfix"> ');
    document.write('                                                             <ul>');
    //document.write('                                                                         <li id="nav_controls"><a href="controls.html">Controls</a></li>');
    document.write('                                                                              <li id="nav_motion"><a href="motion.html">Motion</a></li>');
    document.write('                                                                              <li id="nav_sensor"><a href="sensor.html">Sensor</a></li>');
    document.write('                                                                              <li id="nav_encoder"><a href="encoder.html">Encoder</a></li>');
    document.write('                                                                              <li id="nav_system"><a href="system.html">System</a></li>');
    //document.write('<!--                                                                  <li id="nav_logs"><a href="#">Logs</a></li> -->');
    document.write('                                                             </ul>');
    document.write('                                            </div>');
    document.write('                            </div>');
    document.write('                            <div id="right" class="float_left">');
    document.write('                                            <div id="controls">');

    Well, the problem with this is that I'm not an expert on SSI and I really know nothing about javascripting...so I'm afraid of breaking the whole web site and also having to modify all the web pages that call this header.
    I'll have to read up on server side include...cause I don't know much about it.
    If I could do what I want with this "header.js", it would be a lot easier.

  • I need help with my iTunes audio configuration, its been giving me error messages for 3 weeks now!!!!

    I have been receiving this message for 3 weeks now," iTunes has detected a problem with your audio configuration. Audio/Video playback may not operate properly." I've tried uninstalling and even deleting my quicktime player and then installing it again. I've also tried uninstalling and deleting my itunes and then redownloading it again. I have also made sure that both are up to date, but still it gives me that **** error message. I cant listen to any of my songs or any new songs, please help.

    I have been receiving this message for 3 weeks now," iTunes has detected a problem with your audio configuration. Audio/Video playback may not operate properly." I've tried uninstalling and even deleting my quicktime player and then installing it again. I've also tried uninstalling and deleting my itunes and then redownloading it again. I have also made sure that both are up to date, but still it gives me that **** error message. I cant listen to any of my songs or any new songs, please help.

Maybe you are looking for

  • Where is dbc_file path in JDeveloper 10.1.3.3.0?

    Hi Gurus, I have just started learning OAF for Oracle Apps. I have downloaded the template.dbc file from the $FND_TOP/secure but I could not able to get this path (<JDEV_USER_HOME>\dbc_files\secure directory) in my machine JDEVELOPER Version 10.1.3.3

  • How do I know if my Airport Extreme Card is going bad?

    I have 3 computers on a home network. I have the router (Airport Extreme) in my guest house and it is working properly. The tenant is able to get her email and browse just fine. I also have a Airport Express in the front house that extends the signal

  • Problem using method convertDTD2Schema in DTD

    Hi! I am manipulating XML documents within my Java application. These documents or validated with a DTD. But in order to use the validation methods of oracle xdk, I transfom my DTD to a schema using the method convertDTD2Schema of the DTD object. For

  • WRT54GS problems connecting PS3 to PC Vista Basic network to enable Media server access

    I have a the above router and a new PS3.  I am trying to connect it to me Windows Vista PC so that I can use WMP11 as a media server. The PS3 is connector to the router with a wired connection and I have no problems with it connecting to the inter ne

  • How do I assign my tiffs to open in Photoshop by double clicking?

    I recently updated my tower and OS, on my previous machine, I could double-click on any tiff, psd or eps and it would open in Photoshop as a default program, now when I double-click these files, they open in Preveiw. Is there a way I can set a prefer