Basic script help for a newbie?!?!

Need help with a basic script, I need to display 5 input fields in a single dynamic field. And i need them to have a certain order of display, ie: input 1 is displayed on line 1, 2 on the next line, etc. any help would be appreciated
I have been trying various scripts but i either make the second input field replace the first one, or i cant get the vars to populate the field with a button.. Im kinda lost.

Show what you have tried so far that give you the results where you either replace fields or can't get vars to populate them with a button.

Similar Messages

  • Startup shell script help for newbie?

    New to UNIX (linux)... need the bash shell script commands for my r.c local file to start my services when server boots.
    I got my ds, dps and admin server in their respective /opt directories. I need the shell commands to have these start. Of course I can start them manually but when I try a line like this in a script, it doesnt work:
    ./var/opt/sun/directory-server/slapd-dsserver/start-dsserver
    Some path problem or dot thing?

    There are a few other things you may want to consider, such as what the default browser is, are tabs being used, is the page loaded yet, etc, but Safari has a do javascript command in it's scripting dictionary. The following script will open a new document and run your specified javascript, or you can go to their NPR Program Stream Page and download a playlist that will run directly from iTunes.
    <pre style="
    font-family: Monaco, 'Courier New', Courier, monospace;
    font-size: 10px;
    margin: 0px;
    padding: 5px;
    border: 1px solid #000000;
    width: 720px; height: 335px;
    color: #000000;
    background-color: #FFDDFF;
    overflow: auto;"
    title="this text can be pasted into the Script Editor">
    set my_script to "NPR.Player.openPlayer(2, 0, '03-21-2008', NPR.Player.Action.PLAY_NOW, NPR.Player.Type.PROGRAM, NPR.Player.Mode.LIVE)"
    tell application "Safari"
    activate
    set the URL of the front document to "http://www.npr.org/"
    if my page_loaded(20) is false then error numner - 128 -- page not loaded in time
    do JavaScript my_script in document 1
    end tell
    on page_loaded(timeout_value) -- from http://www.apple.com/applescript/archive/safari/jscript.01.html
    delay 2
    repeat with i from 1 to the timeout_value
    tell application "Safari"
    if (do JavaScript "document.readyState" in document 1) is "complete" then
    return true
    else if i is the timeout_value then
    return false
    else
    delay 1
    end if
    end tell
    end repeat
    return false
    end page_loaded
    </pre>

  • LCD/HDTV help for a newbie

    I am a longtime BB customer and am finally taking the HDTV plunge.  I have narrowed it down a bit to the Insignia NS-L37Q (32" is too small, 40" is too big) versus a Dynex DX-37L150A11.  I am not a cinephile so the basic features are fine with me and the price is right (I am a cheapskate).  It is a 37", 1080p LCD HDTV.  This is for basic TV, sports, DVD viewing.  Please indulge a few newbie questions. 
    1) The one small reservation I have is the Insignia's native contrast ratio at 1400:1 and brightness 500/cd/m2.  Should I be concerned that it isn't high enough?  I note the Dynex 37" in the same price range is 4000:1 but 450/cd/m2.
    2) I have DISH satellite but may switch to DirectTV but assume both are similar.  I assume I'll need a special HDTV box from them, correct?  And HDMI cable to connect from box to set?
    3) I have never bought a service plan in my life but am considering one for this.  The Insignia already comes with a 2 year warrenty and this extends it to 4 as I understand it.  Is $89 on a $549 LCD worth it?  I'll be ticked if a pixel goes out in the middle of the screen, but does "burn in" still even happen on these units?
    4) I run the DVD player through my stereo currently (because I am too cheap to buy home theatre sound) so would I just hook that up the same way through the audio inputs?  I understand it won't be digital or anything.
    5)  It has 3:2 inverse pulldown.  Is that good and why should I care?
    Any help from the experts here is greatly appreciated. 
    Solved!
    Go to Solution.

    I would recommend the Insignia, as both are Best Buy house brands but I've noticed better image quality and reliability with the Insignia's as opposed to the Dynex tv's.
    1)  While the Dynex has the better contrast ratio, the difference between 1400:1 and 4000:1 is not very staggering.  Disregard this comparison.  
    2)  Yes you will need a set-top-box from DirecTV, fortunately you can pick these boxes up at the store and can subscribe to your DirecTV account while you shop.
    3)  $89 for 2 years of peace of mind on an LCD tv is worth it, though I don't think it extends the contract to 4 years, rather, the service plan covers "normal wear and tear/heating issues/power surges", whereas the standard 2 year warranty only covers manufacturer's defective parts and labor.  $89 is fair, cheapskate or not.
    4)  Your DVD player setup will work fine, but consider getting a blu ray for next Christmas, you'll thank me later.  
    5)  Don't worry about this.
    I don't claim to be an expert, but I am an enthusiast, so any "experts" out there feel free to chime in and correct me if I may be wrong. 
    If you like posts that I make, be sure to click on the star underneath my name. Thanks!

  • Editing help for a newbie :) baby photo editing effect

    hello everyone Firtly im sorry if i am posting in totally the wrong area but its the first time i have been on the site so not too sure of my way around lol
    Im in desperate need of some help with photo editing in cs3.
    basically i have seen some baby photos someone i 'know' has taken where a lovely effect has been applied. I asked her how and this is what she said:
    'I create a fill layer of a shade of the middle tone of the sikin colour reduce the opacity, then add a texture mask to bring back a bit more of the features and paint it on the areas .. then just sharpen areas such as eyes nose and mouth .. and highlights to the corners of the eyes and centre of the mouth .. and then select high pass as a mask and that makes the image pop out a little bit'
    But being a newbie i have no idea how to do any of this!! lol i know my way around photo shop a bit but just afetr ANYONE who can help me step by step pretty pretty please?
    here are 2 examples of the images that use the effect incase that makes it easier for anyone to know what i mean lol (hope the links work)
    Thank you all in advance if you can help xx

    The description seems somewhat unclear in parts.
    'I create a fill layer of a shade of the middle tone of the sikin colour reduce the opacity, then add a texture mask to bring back a bit more of the features and paint it on the areas ..
    Nor sure what she means with »texture mask«, but possibly just applying heavy noise (Filter > Noise > Add Noise) on the Layer Mask.
    then just sharpen areas such as eyes nose and mouth ..
    One option is applying Filter > Sharpening > Unsharp Mask to a copy of the Smart Object and setting it to Blend Mode Luminance and painting on its Layer Mask.
    and highlights to the corners of the eyes and centre of the mouth ..
    This could be done with a Curves- or Levels Adjustment Layer.
    and then select high pass as a mask and that makes the image pop out a little bit'
    That seems more than a little unclear to me – making a Selection of a High Pass-result and using it as a Mask for what?
    One can use the High Pass Filter for sharpening.

  • MBP was hacked? Help for a Newbie.

    Hi everyone. I think my WEP was cracked and my MBP was hacked. WEP was cracked because the lock is gone. Tried to restart, sorry don't have access to router to restart that or confirm connections on that hardware. Connecting to MBP via airport. Have been in system preferences and attempted to re-connect with WEP passowrd. I've learned online that WEP2 is better, so lesson learned. If I post the netstat commands I ran would you be able to tell me if my system has been hacked? From my newbie knowledge of how to read netstat I thinkit was-  There have been connections to open port numbers in the 5000 range from which I have read online is an alert. Also, I do not recognize the ip addresses or hostnames and also I see files were sent and received. I've run Mac Scan trial version - but from my knowledge this does not confirm connections to my computer from an ulocked airport connection. Additionally, all of a sudden I have theDS_Store on my system, is this an indicator of a hack. Sorry guys and gals for all the Q's.If this is the incorrect forum for the question could you kindly point me to where I would ask this. Thanks for any help. JO

    Thanks people. I xed out some info I think is personal ip or isp - let me know if you needed this info. i called it my ip but maybe it is my isp - in any case, it starts with 192. Let me know also if i posted too much info.
    netstat - It's alot of info. on the internet I see amazon web servers is  Ec2 is this- and from what I read this is a way to transfer files.
    Today I closed all browsers, and ran netstst -n and netstat.
    as I noticed other times I ran and lookedup the ip address that they were browser tabs that I had opened (makes sense- it's reading what my computer is connected to).....
    Thanks guys.and if i was hacked should I take computer to genius bar or police?
    -  JO
    From today
    netstat -n
    Proto Recv-Q Send-Q  Local Address          Foreign Address        (state)
    tcp4       0   2119  XXXXXXXXX2.54750      74.125.224.181.443     ESTABLISHED
    tcp4       0      0  XXXXXXXXX2.54749      74.125.224.181.443     ESTABLISHED
    tcp4       0      0  XXXXXXXXX2.54748      74.125.224.189.443     ESTABLISHED
    tcp4       0    201  XXXXXXXXX2.54747      75.11XXXXXX.108.134.443      ESTABLISHED
    tcp4       0      0  XXXXXXXXX2.54745      199.47.217.177.443     ESTABLISHED
    tcp4       0      0  XXXXXXXXX2.54741      199.47.216.144.80      ESTABLISHED
    tcp4      37      0  XXXXXXXXX6.54707      107.20.249.252.443     CLOSE_WAIT
    tcp4      37      0  XXXXXXXXX6.54706      107.20.249.104.443     CLOSE_WAIT
    tcp4      37      0  XXXXXXXXX6.54705      199.47.216.172.443     CLOSE_WAIT
    tcp4      37      0  XXXXXXXXX6.54702      199.47.217.178.443     CLOSE_WAIT
    tcp4      37      0  10.0.1.6.54521         199.47.216.173.443     CLOSE_WAIT
    tcp4       0      0  127.0.0.1.26165        127.0.0.1.50379        ESTABLISHED
    tcp4       0      0  127.0.0.1.50379        127.0.0.1.26165        ESTABLISHED
    tcp4      37      0  10.0.1.6.49394         107.20.249.164.443     CLOSE_WAIT
    tcp4       0      0  XXXXXXXXX2.54743      69.58.188.38.443       TIME_WAIT
    tcp4       0      0  XXXXXXXXX2.54744      199.59.148.10.80       TIME_WAIT
    tcp4       0      0  XXXXXXXXX2.54742      69.58.188.38.443       TIME_WAIT
    tcp4       0      0  XXXXXXXXX2.54724      74.125.224.243.443     TIME_WAIT
    udp4       0      0  *.*                    *.*                   
    udp6       0      0  *.60916                *.*                   
    udp4       0      0  *.60916                *.*                   
    udp4       0      0  XXXXXXXXX2.123        *.*                   
    udp6       0      0  *.53780                *.*                   
    udp4       0      0  *.53780                *.*                   
    udp6       0      0  *.62813                *.*                   
    udp4       0      0  *.62813                *.*                   
    udp6       0      0  *.63440                *.*                   
    udp4       0      0  *.63440                *.*                   
    udp6       0      0  *.56188                *.*                   
    udp4       0      0  *.56188                *.*                   
    udp6       0      0  *.55626                *.*                   
    udp4       0      0  *.55626                *.*                   
    udp6       0      0  *.56269                *.*                   
    udp4       0      0  *.56269                *.*                   
    udp6       0      0  fe80::e2f8:47ff:.123   *.*                   
    udp4       0      0  *.*                    *.*                   
    udp4       0      0  *.17500                *.*                   
    udp4       0      0  127.0.0.1.123          *.*                   
    udp6       0      0  fe80::1%lo0.123        *.*                   
    udp6       0      0  ::1.123                *.*                   
    udp6       0      0  *.123                  *.*                   
    udp4       0      0  *.123                  *.*                   
    udp4       0      0  *.*                    *.*                   
    udp4       0      0  *.*                    *.*                   
    udp4       0      0  *.*                    *.*                   
    udp6       0      0  *.5353                 *.*                   
    udp4       0      0  *.5353                 *.*                   
    udp4       0      0  *.*                    *.*                   
    udp4       0      0  *.*                    *.*                   
    icm4       0      0  *.*                    *.*                   
    icm6       0      0  *.*                    *.*                   
    Active LOCAL (UNIX) domain sockets
    Address          Type   Recv-Q Send-Q            Inode             Conn             Refs          Nextref Addr
    ffffff80119bc700 stream      0      0                0 ffffff80119baa80                0                0 /var/run/mDNSResponder
    ffffff80119baa80 stream      0      0                0 ffffff80119bc700                0                0
    ffffff80119ba900 stream      0      0                0 ffffff80119bba40                0                0
    ffffff80119bba40 stream      0      0                0 ffffff80119ba900                0                0
    ffffff800d9c52c0 stream      0      0                0                0                0                0
    ffffff800d9c4600 stream      0      0                0 ffffff80119bad80                0                0 /var/run/mDNSResponder
    ffffff80119bad80 stream      0      0                0 ffffff800d9c4600                0                0
    ffffff800d9c5b00 stream      0      0                0 ffffff800c369d40                0                0 /var/run/mDNSResponder
    ffffff800c369d40 stream      0      0                0 ffffff800d9c5b00                0                0
    ffffff800c369c80 stream      0      0                0                0                0                0
    ffffff80119bcf40 stream      0      0                0 ffffff80119bce80                0                0 /.dbfseventsd
    ffffff80119bce80 stream      0      0                0 ffffff80119bcf40                0                0
    ffffff800d9c4000 stream      0      0 ffffff800fcd81f0                0                0                0 /.dbfseventsd
    ffffff800bda9540 stream      0      0                0 ffffff800d9c4fc0                0                0
    ffffff800d9c4fc0 stream      0      0                0 ffffff800bda9540                0                0
    ffffff800d9c4300 stream      0      0                0 ffffff800d9c4240                0                0 /tmp/launchd-95.uZCVf1/sock
    ffffff800d9c4240 stream      0      0                0 ffffff800d9c4300                0                0
    ffffff800d9c43c0 stream      0      0                0 ffffff800d9c4480                0                0
    ffffff800d9c4480 stream      0      0                0 ffffff800d9c43c0                0                0
    ffffff800d9c5140 stream      0      0                0 ffffff800d9c5080                0                0 /var/run/mDNSResponder
    ffffff800d9c5080 stream      0      0                0 ffffff800d9c5140                0                0
    ffffff800c36a100 stream      0      0                0 ffffff800bda9600                0                0 /var/run/mDNSResponder
    ffffff800bda9600 stream      0      0                0 ffffff800c36a100                0                0
    ffffff800c369bc0 stream      0      0                0 ffffff800bda9cc0                0                0 /var/tmp/launchd/sock
    ffffff800bda9cc0 stream      0      0                0 ffffff800c369bc0                0                0
    ffffff800c368840 stream      0      0                0 ffffff800d9c6940                0                0 /var/run/mDNSResponder
    ffffff800d9c6940 stream      0      0                0 ffffff800c368840                0                0
    ffffff800bdaa200 stream      0      0                0 ffffff800bdaa140                0                0 /var/run/mDNSResponder
    ffffff800bdaa140 stream      0      0                0 ffffff800bdaa200                0                0
    ffffff800d9c5e00 stream      0      0                0 ffffff800d9c5ec0                0                0 /var/run/usbmuxd
    ffffff800d9c5ec0 stream      0      0                0 ffffff800d9c5e00                0                0
    ffffff800d9c5f80 stream      0      0                0 ffffff800d9c6040                0                0 /var/run/mDNSResponder
    ffffff800d9c6040 stream      0      0                0 ffffff800d9c5f80                0                0
    ffffff800d9c6100 stream      0      0                0 ffffff800d9c61c0                0                0 /var/run/mDNSResponder
    ffffff800d9c61c0 stream      0      0                0 ffffff800d9c6100                0                0
    ffffff800d9c6280 stream      0      0                0 ffffff800d9c6340                0                0 /var/run/mDNSResponder
    ffffff800d9c6340 stream      0      0                0 ffffff800d9c6280                0                0
    ffffff800d9c6400 stream      0      0                0 ffffff800d9c64c0                0                0 /var/run/mDNSResponder
    ffffff800d9c64c0 stream      0      0                0 ffffff800d9c6400                0                0
    ffffff800c36ab80 stream      0      0                0 ffffff800bda9300                0                0 /var/run/mDNSResponder
    ffffff800bda9300 stream      0      0                0 ffffff800c36ab80                0                0
    ffffff800c36a1c0 stream      0      0                0 ffffff800c369140                0                0 /var/run/mDNSResponder
    ffffff800c369140 stream      0      0                0 ffffff800c36a1c0                0                0
    ffffff800d9c6700 stream      0      0                0 ffffff800d9c6880                0                0 /var/run/mDNSResponder
    ffffff800d9c6880 stream      0      0                0 ffffff800d9c6700                0                0
    ffffff800c368900 stream      0      0 ffffff800de9a550                0                0                0 /tmp/icssuis502
    ffffff800c3692c0 stream      0      0                0 ffffff800c369ec0                0                0 /var/run/mDNSResponder
    ffffff800c369ec0 stream      0      0                0 ffffff800c3692c0                0                0
    ffffff800d9c6e80 stream      0      0                0 ffffff800d9c6d00                0                0 /var/run/usbmuxd
    ffffff800d9c6d00 stream      0      0                0 ffffff800d9c6e80                0                0
    ffffff800c3683c0 stream      0      0                0 ffffff800c368540                0                0 /var/run/mDNSResponder
    ffffff800c368540 stream      0      0                0 ffffff800c3683c0                0                0
    ffffff800bdaa080 stream      0      0                0 ffffff800bda9d80                0                0 /var/run/mDNSResponder
    ffffff800bda9d80 stream      0      0                0 ffffff800bdaa080                0                0
    ffffff800bda9480 stream      0      0                0 ffffff800bda9780                0                0 /var/run/mDNSResponder
    ffffff800bda9780 stream      0      0                0 ffffff800bda9480                0                0
    ffffff800bda9000 stream      0      0                0 ffffff800c36a580                0                0
    ffffff800c36a580 stream      0      0                0 ffffff800bda9000                0                0
    ffffff800c36a280 stream      0      0                0 ffffff800c36ad00                0                0
    ffffff800c36ad00 stream      0      0                0 ffffff800c36a280                0                0
    ffffff800c36aa00 stream      0      0                0 ffffff800c36a880                0                0
    ffffff800c36a880 stream      0      0                0 ffffff800c36aa00                0                0
    ffffff800c369b00 stream      0      0                0 ffffff800c369500                0                0
    ffffff800c369500 stream      0      0                0 ffffff800c369b00                0                0
    ffffff800c369f80 stream      0      0 ffffff800d57f1f0                0                0                0 /tmp/launch-Uw8Fqt/org.x:0
    ffffff800c368cc0 stream      0      0 ffffff800d57f3e0                0                0                0 /tmp/launch-5PRrer/Listeners
    ffffff800c369680 stream      0      0 ffffff800d57f5d0                0                0                0 /tmp/launch-JsZCof/Render
    ffffff800c369080 stream      0      0 ffffff800d57fe88                0                0                0 /tmp/launchd-95.uZCVf1/sock
    ffffff800c369800 stream      0      0                0 ffffff800c369380                0                0
    ffffff800c369380 stream      0      0                0 ffffff800c369800                0                0
    ffffff800c368d80 stream      0      0                0 ffffff800c369440                0                0
    ffffff800c369440 stream      0      0                0 ffffff800c368d80                0                0
    ffffff800c368fc0 stream      0      0                0 ffffff800c369740                0                0
    ffffff800c369740 stream      0      0                0 ffffff800c368fc0                0                0
    ffffff800c36aac0 stream      0      0                0 ffffff800bdaa2c0                0                0
    ffffff800bdaa2c0 stream      0      0                0 ffffff800c36aac0                0                0
    ffffff800bdaa680 stream      0      0                0 ffffff800bda9b40                0                0
    ffffff800bda9b40 stream      0      0                0 ffffff800bdaa680                0                0
    ffffff800bda99c0 stream      0      0                0 ffffff800bda9240                0                0 /var/run/mDNSResponder
    ffffff800bda9240 stream      0      0                0 ffffff800bda99c0                0                0
    ffffff800bda96c0 stream      0      0                0 ffffff800c36a4c0                0                0
    ffffff800c36a4c0 stream      0      0                0 ffffff800bda96c0                0                0
    ffffff800c368e40 stream      0      0 ffffff800c57fc98                0                0                0 /var/run/pppconfd
    ffffff800c36a340 stream      0      0                0 ffffff800c36a400                0                0
    ffffff800c36a400 stream      0      0                0 ffffff800c36a340                0                0
    ffffff800c36a640 stream      0      0                0 ffffff800c36a700                0                0
    ffffff800c36a700 stream      0      0                0 ffffff800c36a640                0                0
    ffffff800c36adc0 stream      0      0                0 ffffff800c36ae80                0                0
    ffffff800c36ae80 stream      0      0                0 ffffff800c36adc0                0                0
    ffffff800bda90c0 stream      0      0                0 ffffff800bda9180                0                0
    ffffff800bda9180 stream      0      0                0 ffffff800bda90c0                0                0
    ffffff800bda9840 stream      0      0                0 ffffff800bda9900                0                0
    ffffff800bda9900 stream      0      0                0 ffffff800bda9840                0                0
    ffffff800bda9e40 stream      0      0                0 ffffff800bda9f00                0                0
    ffffff800bda9f00 stream      0      0                0 ffffff800bda9e40                0                0
    ffffff800bdaa800 stream      0      0                0 ffffff800bdaa740                0                0
    ffffff800bdaa740 stream      0      0                0 ffffff800bdaa800                0                0
    ffffff800bdaa8c0 stream      0      0                0 ffffff800bdaa980                0                0
    ffffff800bdaa980 stream      0      0                0 ffffff800bdaa8c0                0                0
    ffffff800bdaab00 stream      0      0                0 ffffff800bdaaa40                0                0 /var/tmp/launchd/sock
    ffffff800bdaaa40 stream      0      0                0 ffffff800bdaab00                0                0
    ffffff800bdaabc0 stream      0      0                0 ffffff800bdaac80                0                0
    ffffff800bdaac80 stream      0      0                0 ffffff800bdaabc0                0                0
    ffffff800bdaae00 stream      0      0                0 ffffff800bdaad40                0                0 /var/tmp/launchd/sock
    ffffff800bdaad40 stream      0      0                0 ffffff800bdaae00                0                0
    ffffff800bdaaf80 stream      0      0                0 ffffff800bdaaec0                0                0
    ffffff800bdaaec0 stream      0      0                0 ffffff800bdaaf80                0                0
    ffffff800bdab100 stream      0      0                0 ffffff800bdab040                0                0
    ffffff800bdab040 stream      0      0                0 ffffff800bdab100                0                0
    ffffff800bdab280 stream      0      0                0 ffffff800bdab1c0                0                0
    ffffff800bdab1c0 stream      0      0                0 ffffff800bdab280                0                0
    ffffff800bdab400 stream      0      0                0 ffffff800bdab340                0                0
    ffffff800bdab340 stream      0      0                0 ffffff800bdab400                0                0
    ffffff800bdab4c0 stream      0      0                0 ffffff800bdab580                0                0
    ffffff800bdab580 stream      0      0                0 ffffff800bdab4c0                0                0
    ffffff800bdab7c0 stream      0      0 ffffff800c110740                0                0                0 /var/tmp/launchd/sock
    ffffff800bdab880 stream      0      0 ffffff800c110930                0                0                0 /private/var/run/cupsd
    ffffff800bdab940 stream      0      0 ffffff800c110c18                0                0                0 /var/run/usbmuxd
    ffffff800bdabac0 stream      0      0 ffffff800c110e08                0                0                0 /var/run/asl_input
    ffffff800bdabb80 stream      0      0 ffffff800c110f00                0                0                0 /var/run/SCHelper
    ffffff800bdabc40 stream      0      0 ffffff800c0f6000                0                0                0 /var/run/vpncontrol.sock
    ffffff800bdabd00 stream      0      0 ffffff800c0f60f8                0                0                0 /private/var/run/printtool
    ffffff800bdabdc0 stream      0      0 ffffff800c0f61f0                0                0                0 /var/run/portmap.socket
    ffffff800bdabf40 stream      0      0 ffffff800c0f62e8                0                0                0 /var/run/mDNSResponder
    ffffff800bdabe80 stream      0      0 ffffff800c0f63e0                0                0                0 /var/run/com.apple.ActivityMonitor.socket
    ffffff80119bca00 dgram       0      0                0 ffffff80119bbd40 ffffff80119bbd40                0
    ffffff80119bbd40 dgram       0      0                0 ffffff80119bca00 ffffff80119bca00                0
    ffffff80119bb680 dgram       0      0                0 ffffff80119bc7c0 ffffff80119bc7c0                0
    ffffff80119bc7c0 dgram       0      0                0 ffffff80119bb680 ffffff80119bb680                0
    ffffff800d9c5980 dgram       0      0                0 ffffff800bda9fc0 ffffff800bda9fc0                0
    ffffff800bda9fc0 dgram       0      0                0 ffffff800d9c5980 ffffff800d9c5980                0
    ffffff800d9c6ac0 dgram       0      0                0 ffffff800d9c4cc0 ffffff800d9c4cc0                0
    ffffff800d9c4cc0 dgram       0      0                0 ffffff800d9c6ac0 ffffff800d9c6ac0                0
    ffffff800d9c4540 dgram       0      0                0 ffffff800d9c4f00 ffffff800d9c4f00                0
    ffffff800d9c4f00 dgram       0      0                0 ffffff800d9c4540 ffffff800d9c4540                0
    ffffff800d9c6580 dgram       0      0                0 ffffff800d9c6640 ffffff800d9c6640                0
    ffffff800d9c6640 dgram       0      0                0 ffffff800d9c6580 ffffff800d9c6580                0
    ffffff800c368180 dgram       0      0                0 ffffff800d9c6b80 ffffff800d9c6b80                0
    ffffff800d9c6b80 dgram       0      0                0 ffffff800c368180 ffffff800c368180                0
    ffffff800d9c6a00 dgram       0      0                0 ffffff800c368000 ffffff800c368000                0
    ffffff800c368000 dgram       0      0                0 ffffff800d9c6a00 ffffff800d9c6a00                0
    ffffff800c3686c0 dgram       0      0                0 ffffff800d9c6dc0 ffffff800d9c6dc0                0
    ffffff800d9c6dc0 dgram       0      0                0 ffffff800c3686c0 ffffff800c3686c0                0
    ffffff800c3689c0 dgram       0      0                0 ffffff800c368a80 ffffff800c368a80                0
    ffffff800c368a80 dgram       0      0                0 ffffff800c3689c0 ffffff800c3689c0                0
    ffffff800bda9c00 dgram       0      0                0 ffffff800bda9a80 ffffff800bda9a80                0
    ffffff800bda9a80 dgram       0      0                0 ffffff800bda9c00 ffffff800bda9c00                0
    ffffff800c3698c0 dgram       0      0                0 ffffff800c36a7c0 ffffff800c36a7c0                0
    ffffff800c36a7c0 dgram       0      0                0 ffffff800c3698c0 ffffff800c3698c0                0
    ffffff800c36af40 dgram       0      0                0 ffffff800c36a040 ffffff800c36a040                0
    ffffff800c36a040 dgram       0      0                0 ffffff800c36af40 ffffff800c36af40                0
    ffffff800bda93c0 dgram       0      0                0 ffffff800c36a940 ffffff800c36a940                0
    ffffff800c36a940 dgram       0      0                0 ffffff800bda93c0 ffffff800bda93c0                0
    ffffff800bdaa440 dgram       0      0                0 ffffff800bdaa500 ffffff800bdaa500                0
    ffffff800bdaa500 dgram       0      0                0 ffffff800bdaa440 ffffff800bdaa440                0
    ffffff800bdaba00 dgram       0      0 ffffff800c110d10                0                0                0 /var/run/syslog
    from today
    netstat
    Active Internet connections
    Proto Recv-Q Send-Q  Local Address          Foreign Address        (state)
    tcp4       0   2119  XXXXXXXXX.2.54746      lax02s01-in-f21..https ESTABLISHED
    tcp4       0    762  XXXXXXXXX.2.54745      v-d-1b.sjc.dropb.https ESTABLISHED
    tcp4       0      0  XXXXXXXXX.2.54741      sjc-not1.sjc.dro.http  ESTABLISHED
    tcp4      37      0  XXXXXXXXX.6.54707      ec2-107-20-249-2.https CLOSE_WAIT
    tcp4      37      0  XXXXXXXXX.6.54706      ec2-107-20-249-1.https CLOSE_WAIT
    tcp4      37      0  XXXXXXXXX.6.54705      v-client-1a.sjc..https CLOSE_WAIT
    tcp4      37      0  XXXXXXXXX.6.54702      199.47.217.178.https   CLOSE_WAIT
    tcp4      37      0  10.0.1.6.54521         v-client-2a.sjc..https CLOSE_WAIT
    tcp4       0      0  localhost.26165        localhost.50379        ESTABLISHED
    tcp4       0      0  localhost.50379        localhost.26165        ESTABLISHED
    tcp4      37      0  10.0.1.6.49394         ec2-107-20-249-1.https CLOSE_WAIT
    tcp4       0      0  XXXXXXXXX.2.54743      69.58.188.38.https     TIME_WAIT
    tcp4       0      0  XXXXXXXXX.2.54725      lax04s08-in-f19..https TIME_WAIT
    tcp4       0      0  XXXXXXXXX.2.54744      r-199-59-148-10..http  TIME_WAIT
    tcp4       0      0  XXXXXXXXX.2.54742      69.58.188.38.https     TIME_WAIT
    tcp4       0      0  XXXXXXXXX.2.54724      lax04s08-in-f19..https TIME_WAIT
    udp4       0      0  XXXXXXXXX.2.ntp        *.*                   
    udp6       0      0  *.53780                *.*                   
    udp4       0      0  *.53780                *.*                   
    udp6       0      0  *.62813                *.*                   
    udp4       0      0  *.62813                *.*                   
    udp6       0      0  *.63440                *.*                   
    udp4       0      0  *.63440                *.*                   
    udp6       0      0  *.56188                *.*                   
    udp4       0      0  *.56188                *.*                   
    udp6       0      0  *.55626                *.*                   
    udp4       0      0  *.55626                *.*                   
    udp6       0      0  *.56269                *.*                   
    udp4       0      0  *.56269                *.*                   
    udp6       0      0  sp.ntp                 *.*                   
    udp4       0      0  *.*                    *.*                   
    udp4       0      0  *.17500                *.*                   
    udp4       0      0  localhost.ntp          *.*                   
    udp6       0      0  localhost.ntp          *.*                   
    udp6       0      0  localhost.ntp          *.*                   
    udp6       0      0  *.ntp                  *.*                   
    udp4       0      0  *.ntp                  *.*                   
    udp4       0      0  *.*                    *.*                   
    udp4       0      0  *.*                    *.*                   
    udp4       0      0  *.*                    *.*                   
    udp6       0      0  *.mdns                 *.*                   
    udp4       0      0  *.mdns                 *.*                   
    udp4       0      0  *.*                    *.*                   
    udp4       0      0  *.*                    *.*                   
    icm4       0      0  *.*                    *.*                   
    icm6       0      0  *.*                    *.*                   
    Active LOCAL (UNIX) domain sockets
    Address          Type   Recv-Q Send-Q            Inode             Conn             Refs          Nextref Addr
    ffffff80119bba40 stream      0      0                0 ffffff80119ba900                0                0
    ffffff80119ba900 stream      0      0                0 ffffff80119bba40                0                0
    ffffff800d9c4180 stream      0      0                0 ffffff800c369a40                0                0 /var/tmp/launchd/sock
    ffffff800c369a40 stream      0      0                0 ffffff800d9c4180                0                0
    ffffff800c369200 stream      0      0                0 ffffff800d9c40c0                0                0
    ffffff800d9c40c0 stream      0      0                0 ffffff800c369200                0                0
    ffffff800c369980 stream      0      0                0 ffffff800d9c52c0                0                0 /private/var/run/cupsd
    ffffff800d9c52c0 stream      0      0                0 ffffff800c369980                0                0
    ffffff80119bc700 stream      0      0                0 ffffff80119baa80                0                0 /var/run/mDNSResponder
    ffffff80119baa80 stream      0      0                0 ffffff80119bc700                0                0
    ffffff800d9c4600 stream      0      0                0 ffffff80119bad80                0                0 /var/run/mDNSResponder
    ffffff80119bad80 stream      0      0                0 ffffff800d9c4600                0                0
    ffffff800d9c5b00 stream      0      0                0 ffffff800c369d40                0                0 /var/run/mDNSResponder
    ffffff800c369d40 stream      0      0                0 ffffff800d9c5b00                0                0
    ffffff800c369c80 stream      0      0                0                0                0                0
    ffffff80119bcf40 stream      0      0                0 ffffff80119bce80                0                0 /.dbfseventsd
    ffffff80119bce80 stream      0      0                0 ffffff80119bcf40                0                0
    ffffff800d9c4000 stream      0      0 ffffff800fcd81f0                0                0                0 /.dbfseventsd
    ffffff800bda9540 stream      0      0                0 ffffff800d9c4fc0                0                0
    ffffff800d9c4fc0 stream      0      0                0 ffffff800bda9540                0                0
    ffffff800d9c4300 stream      0      0                0 ffffff800d9c4240                0                0 /tmp/launchd-95.uZCVf1/sock
    ffffff800d9c4240 stream      0      0                0 ffffff800d9c4300                0                0
    ffffff800d9c43c0 stream      0      0                0 ffffff800d9c4480                0                0
    ffffff800d9c4480 stream      0      0                0 ffffff800d9c43c0                0                0
    ffffff800d9c5140 stream      0      0                0 ffffff800d9c5080                0                0 /var/run/mDNSResponder
    ffffff800d9c5080 stream      0      0                0 ffffff800d9c5140                0                0
    ffffff800c36a100 stream      0      0                0 ffffff800bda9600                0                0 /var/run/mDNSResponder
    ffffff800bda9600 stream      0      0                0 ffffff800c36a100                0                0
    ffffff800c369bc0 stream      0      0                0 ffffff800bda9cc0                0                0 /var/tmp/launchd/sock
    ffffff800bda9cc0 stream      0      0                0 ffffff800c369bc0                0                0
    ffffff800c368840 stream      0      0                0 ffffff800d9c6940                0                0 /var/run/mDNSResponder
    ffffff800d9c6940 stream      0      0                0 ffffff800c368840                0                0
    ffffff800bdaa200 stream      0      0                0 ffffff800bdaa140                0                0 /var/run/mDNSResponder
    ffffff800bdaa140 stream      0      0                0 ffffff800bdaa200                0                0
    ffffff800d9c5e00 stream      0      0                0 ffffff800d9c5ec0                0                0 /var/run/usbmuxd

  • Bit of help for a newbie please

    Hi,
    I'm bumbling my way through some Applescript for simply clicking some links on a webpage in Safari.
    I've used UI Browser to get me the link resource info however when cycling through the same page, every now and again, the group ID seems to change for the text link. I was wondering how I go about querying the group ID so I can possibly out in an if/then or other conditional statement.
    The activating code line is here:
    click static text "Click Here" of UI element "Click Here" of group 12 of UI element 1 of scroll area 1 of group 4 of window "Some Window Title"
    So in the above, I'm trying to get the 12 in the group 12 part of the statement.
    Any clues anyone.
    Thanks if you can help
    Martin

    One of the traps those new to Applescript fall into is resorting to UI scripting too early when it should be an absolute last resort. Applescript wasn't designed to drive the UI, its an inter-application communication facilitator. There is an alternative method available.
    Use "curl" from the shell to download the page source to a variable
    Parse out the urls you need
    Use getURL to go to activate the url(s).
    Copy this to your browser for the "curl" man page -> x-man-page://curl
    Here's a 2 line example script to get you started ->
    <pre style="
    font-family: Monaco, 'Courier New', Courier, monospace;
    font-size: 10px;
    margin: 0px;
    padding: 5px;
    border: 1px solid #000000;
    width: 720px;
    color: #000000;
    background-color: #FFDDFF;
    overflow: auto;">
    set foo to do shell script "/usr/bin/curl 'http://www.apple.com'"
    set bar to find text "<script src=\"(http://.&#42;)\" type=" in foo using "\\1" with all occurrences, regexp and string result
    </pre>
    This uses the [Satimage Scripting Addition|http://www.satimage.fr/software/en/downloads/downloadscompanionosaxen.html] to return the urls by using regular expressions to find them.

  • More help for a newbie please!

    hi everyone
    ive got a list selection listener set up for my view class
    this list shows names retrieved, this has been done by the following
    for (int i=0;i < data.size(); i++)
    Person aPerson = (Person)data.get(i);
    // Compose a string for each object.
    String personNameString = aPerson.getSurname() + ", " + aPerson.getName();
    // Put string into array.
    listArray=personNameString;
    listModel.addElement(listArray[i]);�
    what im stuck on how to do is to select a name from the list and have other data like
    getLicenceNo() or getDateOfBirth() to be shown on jtextfields
    any help would be appreciated... the closest i can get is to have something like this in the listActionListenerameList.addListSelectionListener(new ListSelectionListener()
    public void valueChanged(ListSelectionEvent event)
    String d1String = aPerson.getName();
    String d2String = aPerson.getSurname();
    String d3String = aPerson.getLicenceNo();
    Object selectedValue = nameList.getSelectedValue();
    licenceField.setText(selectedValue.toString());
    validate();
    but all i get is the terminal window coming up with lots of error messages under NullPointerException

    this is the error that comes up under terminal window upon clicking a name in jlist
    java.lang.NullPointerException
         at View$3.valueChanged(View.java:102)
         at javax.swing.JList.fireSelectionValueChanged(JList.java:1321)
         at javax.swing.JList$ListSelectionHandler.valueChanged(JList.java:1335)
         at javax.swing.DefaultListSelectionModel.fireValueChanged(DefaultListSelectionModel.java:187)
         at javax.swing.DefaultListSelectionModel.fireValueChanged(DefaultListSelectionModel.java:167)
         at javax.swing.DefaultListSelectionModel.fireValueChanged(DefaultListSelectionModel.java:214)
         at javax.swing.DefaultListSelectionModel.changeSelection(DefaultListSelectionModel.java:402)
         at javax.swing.DefaultListSelectionModel.changeSelection(DefaultListSelectionModel.java:411)
         at javax.swing.DefaultListSelectionModel.setSelectionInterval(DefaultListSelectionModel.java:435)
         at javax.swing.JList.setSelectionInterval(JList.java:1608)
         at javax.swing.plaf.basic.BasicListUI$MouseInputHandler.adjustFocusAndSelection(BasicListUI.java:1333)
         at javax.swing.plaf.basic.BasicListUI$MouseInputHandler.mousePressed(BasicListUI.java:1295)
         at java.awt.AWTEventMulticaster.mousePressed(AWTEventMulticaster.java:222)
         at java.awt.Component.processMouseEvent(Component.java:5097)
         at java.awt.Component.processEvent(Component.java:4897)
         at java.awt.Container.processEvent(Container.java:1569)
         at java.awt.Component.dispatchEventImpl(Component.java:3615)
         at java.awt.Container.dispatchEventImpl(Container.java:1627)
         at java.awt.Component.dispatchEvent(Component.java:3477)
         at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:3483)
         at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3195)
         at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3128)
         at java.awt.Container.dispatchEventImpl(Container.java:1613)
         at java.awt.Window.dispatchEventImpl(Window.java:1606)
         at java.awt.Component.dispatchEvent(Component.java:3477)
         at java.awt.EventQueue.dispatchEvent(EventQueue.java:456)
         at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:201)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:145)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:137)
         at java.awt.EventDispatchThread.run(EventDispatchThread.java:100)
    java.lang.NullPointerException
         at View$3.valueChanged(View.java:102)
         at javax.swing.JList.fireSelectionValueChanged(JList.java:1321)
         at javax.swing.JList$ListSelectionHandler.valueChanged(JList.java:1335)
         at javax.swing.DefaultListSelectionModel.fireValueChanged(DefaultListSelectionModel.java:187)
         at javax.swing.DefaultListSelectionModel.fireValueChanged(DefaultListSelectionModel.java:157)
         at javax.swing.DefaultListSelectionModel.setValueIsAdjusting(DefaultListSelectionModel.java:554)
         at javax.swing.JList.setValueIsAdjusting(JList.java:1675)
         at javax.swing.plaf.basic.BasicListUI$MouseInputHandler.mouseReleased(BasicListUI.java:1371)
         at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:232)
         at java.awt.Component.processMouseEvent(Component.java:5100)
         at java.awt.Component.processEvent(Component.java:4897)
         at java.awt.Container.processEvent(Container.java:1569)
         at java.awt.Component.dispatchEventImpl(Component.java:3615)
         at java.awt.Container.dispatchEventImpl(Container.java:1627)
         at java.awt.Component.dispatchEvent(Component.java:3477)
         at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:3483)
         at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3198)
         at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3128)
         at java.awt.Container.dispatchEventImpl(Container.java:1613)
         at java.awt.Window.dispatchEventImpl(Window.java:1606)
         at java.awt.Component.dispatchEvent(Component.java:3477)
         at java.awt.EventQueue.dispatchEvent(EventQueue.java:456)
         at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:201)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:145)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:137)
         at java.awt.EventDispatchThread.run(EventDispatchThread.java:100)

  • Help for a newbie (sort of)

    I finally purchased an iMAC. Last one I had used an OS created by ClarisWorks. So, this is very new to me. Please be patient.
    1. Data Sharing
    There are 2 machines in my house (Windows 7 and iMac). For a better part of 20 years, I have been accruing documents, photos, and music which sits on my WD passport. Now that I added an iMAC to my home network which consists of 2 Windows 7 Pro machines, is there any harm if I use the same drive to save data from my iMAC?
    2. Mobile backup
    I use iTunes (iPhones and iPads) and Samsung Kies (Galaxy phones and tablet) to backup and synchronize data to Microsoft Outlook 2010 (PST) file. Can I do the same with the iMAC?
    Your help is greatly appreciated.

    I was never able to figure out how to get the J2EE engine running, but I copied the VMWare files to a different Windows computer and now the J2EE engine runs when I run it on this computer. I don't understand why this is, but go figure.
    Now that the J2EE engine is running, running Visual Administrator works great. Now, it's onto the next series of lessons in the getting started guide....
    For anyone reading this thread, a couple notes:
    When running Visual Administrator, it executes a program called Go.Bat from the Linux server. This is run within the browser and starts a script on your Windows box that executes the Administrator. This ONLY WORKS when using Internet Explorer. Firefox doesn't execute the Go.bat program - it gives an Object not Found error. This might be a security thing for Firefox, but it works fine in IE with no change of security settings.
    Secondly, I was trying to run the VMWare image using VMWare Fusion on my new MacBook Pro. The Mac can run the VMWare instance fine, but since you have to execute this Go.Bat script in the background then the Mac can't do it. Thus, you have to use a Windows computer to do all the steps in the Getting Started guide.

  • Scripting help for image pop-up within a PDF

    Hi,
    I'm creating some sample eBooks in Acrobat Professional 9 (Mac), and I am stuck on one element that needs to be present. In the text within the PDF, there might be a phrase like, "See Fig. 1". Fig. 1 might not be on that page, however. I know how to create a link in a PDF that will navigate the reader to the page with the image referenced, but that's not good enough. I'd like to have this happen:
    User clicks on "See Fig. 1".
    Popup window appears with the referenced thumbnail image.
    The image's popup window will stay on-screen until dismissed by the user.
    Clicking on the popup thumbnail image calls up a full-size image.
    The added wrinkles are many after we figure out the scripting for the above, but here are two major ones to be addressed right away:
    1) The images are already part of the typeset document converted to PDF, so I am guessing the images would have to be bundled with the PDF somehow. Our users need to use the PDFs in an offline environment, so a call-out to a URL is out of the question.
    2) The PDFs will be read on Macs, PCs, and possibly iPads. If a bundled, local file is called out when a user clicks on "See Fig. 1", how do I set a relative filepath in the call-out?
    Thanks for any help you can provide.
    Andrew

    Here's a sample document that demonstrates some of what you're asking about: https://acrobat.com/#d=aP-2xL45pM57xVkT6d6fSg
    The images are stored in buttons, so there is no concern about having to use external images. Note that this may not work on an iPad since most (all?) PDF viewers on the iPad do not have JavaScript support.

  • Scripting help for a tedious process.

    Ian Wood wrote a script that takes a list of version names from a Word.doc or plain text doc. and opens Aperture, searches the Library and then creates an album from those gathered images. This is great, for example if a Bride gives you a list of her favorite photos for the design of the final wedding book.
    The script works well, however it looks at the whole Aperture library.
    If you have versions with the same name it only picks one.
    (You may have exactly the same version names scattered around your library because your camera cycles back to 0001 after it reaches 9999)
    If someone out there knows how to re-write the script so that it only looks in a particular project as it picks the version names, then an otherwise tedious process would be simplified.
    Any help would be appreciated.
    The following is a copy of Ian's script.
    This script is written by Ian Wood. No warranty is given or implied for the script's use.
    Feel free to copy and adapt this script for your own use. Originally written in answer to a thread on the Aperture discussion forum.
    Please visit http://www.aperture-assistant.com for more scripts and information about automation and Aperture.
    set tfile to (choose file "Pick the text file")
    set fref to (open for access tfile) -- now we read the file in
    set tSize to (get eof tfile)
    set tText to (read fref as string from 1 to tSize)
    close access fref
    log tText
    set tList to every paragraph of tText -- turn the lines into a list
    tell application "Aperture"
    activate
    tell library 1
    set this_project to make new album with properties {name:"Results of file name list"} -- you can change this if you want the Album to have another name.
    end tell
    repeat with i from 1 to the count of the tList
    set tName to item i of the tList
    set tImgID to "not found"
    try
    set tImgID to (first image version whose name is tName)
    end try
    if tImgID is not "not found" then
    try
    duplicate tImgID to this_project
    end try
    else
    log tName
    end if
    end repeat
    end tell

    Ian Wood wrote a script that takes a list of version names from a Word.doc or plain text doc. and opens Aperture, searches the Library and then creates an album from those gathered images. This is great, for example if a Bride gives you a list of her favorite photos for the design of the final wedding book.
    The script works well, however it looks at the whole Aperture library.
    If you have versions with the same name it only picks one.
    (You may have exactly the same version names scattered around your library because your camera cycles back to 0001 after it reaches 9999)
    If someone out there knows how to re-write the script so that it only looks in a particular project as it picks the version names, then an otherwise tedious process would be simplified.
    Any help would be appreciated.
    The following is a copy of Ian's script.
    This script is written by Ian Wood. No warranty is given or implied for the script's use.
    Feel free to copy and adapt this script for your own use. Originally written in answer to a thread on the Aperture discussion forum.
    Please visit http://www.aperture-assistant.com for more scripts and information about automation and Aperture.
    set tfile to (choose file "Pick the text file")
    set fref to (open for access tfile) -- now we read the file in
    set tSize to (get eof tfile)
    set tText to (read fref as string from 1 to tSize)
    close access fref
    log tText
    set tList to every paragraph of tText -- turn the lines into a list
    tell application "Aperture"
    activate
    tell library 1
    set this_project to make new album with properties {name:"Results of file name list"} -- you can change this if you want the Album to have another name.
    end tell
    repeat with i from 1 to the count of the tList
    set tName to item i of the tList
    set tImgID to "not found"
    try
    set tImgID to (first image version whose name is tName)
    end try
    if tImgID is not "not found" then
    try
    duplicate tImgID to this_project
    end try
    else
    log tName
    end if
    end repeat
    end tell

  • Basic FCP Help for beginner

    Thanks in advance for looking at my post.
    I have a uni project whereby i have to make a music video for a song previously recorded.
    I have videoed various shots of my band playing along to the recorded song.
    They all start at different times (i.e start of video clip does not match with audio clip) yet i know that over the whole song they are in time with each other as i had the drummer play along to the recording using headphones.
    So what im trying to do is load up all of the clips into FCP alongside the audio, adjust the start position for the various video clips so that they synchronise with the audio, and then lock them into place.
    I would then like to cut them up into clips and move the parts that i want to use down onto the main video timeline so that they are in time with the audio.
    I am mainly encountering problems with having to render these 3 minute video clips just to see if they line up with the audio which is a very time consuming process. Is there any way to use the markers and tell them to lock together, that is put a marker on the audio timeline, put markers on each video clip at the same point and line them up/snap them into place.
    Any help would be much appreciated, as i mentioned in the subject i am a complete apple/FCP beginner having only done basic videos where i didnt need to have such synchronicity between audio and video.
    Also on a side note when i load up the video clips into the timeline, they creat new lines V2,V3 and so on. Am i right in assuming that V1 is the final rendered timeline, or does FCP show all of the V# if they have footage on them?
    Tl:dr help
    Message was edited by: y0ukn0ws1t

    Thanks for the response, i have looked at a few video tutorials, but i cant find one that deals with multiple video takes over a common audio take.
    Are v2,3 etc slates to load up video before aligning/cutting and placing onto V1 (the main video sequence)??
    With regards to this video
    http://library.creativecow.net/articles/harringtonrichard/final_cut_multicamedit.php
    Am i right in assuming once i have lined up all the video clips to sync with the audio i can set in and out markers on the video clips to tell FCP to use the sections that i want of each take?
    Message was edited by: y0ukn0ws1t

  • Script help for dated folder/file

    would anyone mind helping me finalize an issue i have been needing to finalize? i have gotten some help on creating a script that creates a file or folder with the current date but i am not technically competent enough with applescript or chron or any of these things. i can handle terminal pretty much but some of the explanations while obviously complete have got me confused.
    can anyone take a look at the first one here and just tell me how to get off the blocks with this?
    apparently i need to /copy/ and paste the text into a text editor and save as a .pl file by converting the file extension or is this wrong? it seems to me like the next step is in terminal so with a question or two i am sure i can handle this second part...
    https://discussions.apple.com/message/18109918#18109918
    this is another version but the first seems like i have more editing control or may be more direct for my needs(?).
    https://discussions.apple.com/thread/3526097?start=15&tstart=0

    Well, since you have issues with copying, pasting, and saving a file in the GUI, the second option may be your best choice. Setting up crontab requires some proficiency using the vi text editor.

  • Script Help for iPhoto

    fairly new to Mac. I life iPhot....except, when I mod a photo, it moves to a completely different folder. My simple mind can't grasp the fundamentals of either applescript or automator. Can someone help me write a script that will help move the modified photo's from the iphoto library's "modified" folder, back to the original folder?
    Mahalo,
    Mike

    You can drag and drop the image from iPhoto to wherever you need it. For example, just drag and drop an image from iPhoto to the Desktop, and then you have a copy on the Desktop. If you don't want it in iPhoto anymore, just delete within iPhoto and the original and any modifications are gone. You'll also find buttons in iPhoto that let you easily set your Desktop background, send photos in an email, or publish them with iWeb, among other things.
    iPhoto is for not having to worry about where or how your photos are organized on the your hard drive, just like iTunes does for music. Just let iPhoto handle the organization. Free your mind, let your computer do the work. This is the 21st century, you know.
    Also consider creating albums in iPhoto for your own grouping, and tagging images with keywords and comments so you can create smart albums to automatically do the grouping for you. You can also drag and drop an image from one film roll to another or combine film rolls. Time to let go of the Finder when it comes to organizing your images.

  • Need help for a newbie problem

    I am VERY new to all this Java programming but have really started to enjoy it.
    I have two problems with my program that I can not find answers to.
    1. I am looking to find out why my code will not select the right answers when I select the first choice in the array. The answer that is delivered turns out to be the 3rd selection. The second and third selection work great, but the first selection always turns out with the thrid answer.
    2. I know I need to do better error checking on the user input. At this point I am only checking for correct integer input, but I dont know how to fix or avoid the error for when the user would mistakedly enter letters instead of numbers.
    Any hints?
    Code to follow... I hope...
    No gui allowed for this program.
    First time posting so I hope this works and I do it the right way...
    import java.text.DecimalFormat;      //To round to 2 decimal places for payment format.
    import java.io.*;                          //Allows User to input.
    public class Wk5JimP
         //classes for keyboard inputs from user
         public static InputStreamReader reader = new InputStreamReader (System.in);
         public static BufferedReader keyboard = new BufferedReader (reader);
         //main
         public static void main (String[] args) throws IOException
              //Variables
              DecimalFormat decimal = new DecimalFormat("#,##0.00");     //Makes the decimal format for the output
              int appAmount = 200000;                                             //approved loan amount
              short rPay = 0;                                                       //repayment option
              int ps;                                                                 //payment schedule switching variable.
              //Year array and variables
              int yTerm[] = {30, 15, 7,};                                        //Term of the loan in years array
              short rOller2 = 0;                                                  //looping variable for rolling the years
              short rOller3 = 0;                                                  //looping variable for rolling the years
              //Month array and variables
              int mTerm[] = {360, 180, 84,};                                   //Term of the loan in months array
              short rOller = 0;                                                  //looping variable for rolling the months
              short rOller1 = 0;                                                  //looping variable for rolling the months
              //Interest rate array and variables
              double iRate[] = {5.75, 5.50, 5.35,};                              //interest rate array
              int liRate = 0;                                                       //looping variable for interest rate
              int liRate1 = 0;                                                  //looping variable for interest rate
              // Payment array and variables
              double mPayment[] = {
                   ((appAmount*(iRate[0]/12/100))/(1-1/Math.pow((1+iRate[0]/12/100), mTerm[0]))),
                   ((appAmount*(iRate[1]/12/100))/(1-1/Math.pow((1+iRate[1]/12/100), mTerm[1]))),
                   ((appAmount*(iRate[2]/12/100))/(1-1/Math.pow((1+iRate[2]/12/100), mTerm[2])))
                                       };                                             //monthly payment array
              int lPay = 0;                                                       //looping variable for payment incrementation
              int lPay1 = 0;                                                       //looping variable for payment incrementation
              //Dollar amounts into decimal format of two places
              String fappAmount = decimal.format(appAmount);
              //Output to screen for header information
              System.out.println();
              System.out.println("Congratulations!");
              System.out.println("You are approved for a $" + fappAmount + " loan");
              System.out.println("The three repayment options are listed below.\n");
              System.out.println("-------------------------------------------------------------------------");
              System.out.println(" Repayment\t Loan\t\t   Term\t\t  Interest\t  Monthly");
              System.out.println("  Option\tAmount\t       Years   Months\t  Rate \t          Payment");
              System.out.println("-------------------------------------------------------------------------");
              //Begin repayment option loop for calculation
              while (rOller != 3)
                        // if else loop to second and third repayment options
                      if (rOller1 <= 2)
                           // for statement loops last repayment option
                           for (rPay = 1; rPay <=3; rPay++)
                                    {mPayment[lPay] = mPayment[lPay1++];
                                     yTerm[rOller2] = yTerm[rOller3++];
                                     mTerm[rOller] = mTerm[rOller1++];
                                     iRate[liRate] = iRate[liRate1++];
                                //Output to screen for numerical repayment option info
                              System.out.println("    " + rPay + "\t    $" + fappAmount + "\t\t " + yTerm[rOller2] + "\t" + mTerm[rOller] + "\t    " + decimal.format(iRate[liRate]) + "% \t$" + decimal.format(mPayment[lPay])+ "\n\n");
                        else
                             //begin payment option selection
                             System.out.println();
                             System.out.println("Which one of the payment schedules would you like to see?\n");
                             System.out.println("Please enter 1 or 2 or 3 to see the payment schedule\nor enter any other number to exit.");
                             ps = Integer.parseInt(keyboard.readLine());
                                  switch (ps)
                                            case 1:
                                                 System.out.println("\nOption #1\n");
                                                 paysched(yTerm[0], appAmount, iRate[0], mPayment[0]);
                                                 break;
                                            case 2:
                                                 System.out.println("\nOption #2\n\n");
                                                 paysched(yTerm[1], appAmount, iRate[1], mPayment[1]);
                                                 break;
                                            case 3:
                                                 System.out.println("\nOption #3\n\n");
                                                 paysched(yTerm[2], appAmount, iRate[2], mPayment[2]);
                                                 break;
                                            default:
                                                 System.out.println("Thank you!\n\n");
                                                 System.exit(0);
                                      }//end switch
                   }//end while
              }//end main
                             //payment schedule method
                             public static void paysched(int yTerm, int appAmount, double iRate, double mPayment) throws IOException
                             //Declare variables for looped calculations
                             DecimalFormat decimal = new DecimalFormat("#,##0.00");     //Makes the decimal format for the output
                             double balance = appAmount;
                             double monIRate = iRate / 12;
                             double iPay = 0;
                             double pPay = 0;
                             short pNum = 1;
                             short year = 1;
                             //Header Output to screen for payment schedule
                             System.out.println("-------------------------------------------------------------------------");
                             System.out.println("   Payment \t   Principle\tInterest\tTotal \t\tBalance");
                             System.out.println(" Year  Month\t   Payment\tPayment \tPayment \tRemaining");
                             System.out.println("-------------------------------------------------------------------------");
                             //Loop for shceduled payment calculation for all but the final year
                             do
                                       //Apply the payment
                                       iPay = balance * (monIRate /100);
                                       pPay = mPayment - iPay;
                                       balance = balance - pPay;
                                       //Output to screen for payment information
                                       System.out.println("   " +year+ " \t " +pNum+ " \t  $" +(decimal.format(pPay))+ "\t$" +(decimal.format(iPay))+ "\t      $" +(decimal.format(mPayment))+ "\t     $" +(decimal.format(balance)));
                                       pNum++;
                                       if (pNum % 13 == 0)
                                            System.out.println("Press enter to see the next year payments.");
                                            System.in.read();
                                            System.in.read();
                                            year++;
                                            pNum = 1;
                                            //Output to screen for payment schedule
                                            System.out.println("-------------------------------------------------------------------------");
                                            System.out.println("   Payment \t   Principle\tInterest\tTotal \t\tBalance");
                                            System.out.println(" Year  Month\t   Payment\tPayment \tPayment \tRemaining");
                                            System.out.println("-------------------------------------------------------------------------");
                                            } //end if
                                    } //end do
                             while(year < yTerm);
                             //Final Year calculations
                             do
                                       //Apply the payment
                                       iPay = balance * (monIRate /100);
                                       pPay = mPayment - iPay;
                                       balance = balance - pPay;
                                       //Output to screen for payment information
                                       System.out.println("   " +year+ " \t " +pNum+ " \t  $" +(decimal.format(pPay))+ "\t$" +(decimal.format(iPay))+ "\t      $" +(decimal.format(mPayment))+ "\t     $" +(decimal.format(balance)));
                                       pNum++;
                                       if (pNum % 13 == 0)
                                            System.out.println("Please press enter to select and view another payment schedule.");
                                            System.in.read();
                                            System.in.read();
                                            year++;
                                            } //end if
                                  }//end do
                             while(year < (yTerm+1));
                        }//end class
    }//end classThis is my first post so please be gentle...
    Thanks for any help!

    When you choose Java to solve the problems, you need to adapt to the power/strategies/methodology that java offers you, and thats the way for solving problems in Java.
    Why would you put the entire implementation for calculation inside main method? You could break down the program into smaller methods which could do the calculation bit and then call them in main method.
    Anyways the reason that it is calculating for term of 7 years is that
                           // for statement loops last repayment option
                           for (rPay = 1; rPay <=3; rPay++)
                                    {mPayment[lPay] = mPayment[lPay1++];
                                     yTerm[rOller2] = yTerm[rOller3++];You are changing the value of the array yTerm[ ]. Hence once the control is out of the for loop the value of y[0]=7,y[1]=7 and y[2]=7.
    Solution 1: mark yTerm as final.
    Solution 2: set yTerm[0], yTerm[1] back as 30,15 after the for loop.
                      if (rOller1 <= 2)
                           // for statement loops last repayment option
                           for (rPay = 1; rPay <=3; rPay++)
                                    {mPayment[lPay] = mPayment[lPay1++];
                                     yTerm[rOller2] = yTerm[rOller3++];
                                     mTerm[rOller] = mTerm[rOller1++];
                                     iRate[liRate] = iRate[liRate1++];
                                //Output to screen for numerical repayment option info
                              System.out.println("    " + rPay + "\t    $" + fappAmount + "\t\t " + yTerm[rOller2] + "\t" + mTerm[rOller] + "\t    " + decimal.format(iRate[liRate]) + "% \t$" + decimal.format(mPayment[lPay])+ "\n\n");
                           yTerm [0]=30;
                           yTerm [1]=15;
                              }Futher the issue is with monthly calculation of pay back amount in switch - case statement.
    As you have not provided what the problem is and what is the criteria for calculation of monthly interest or reducing the amount etc. Its not possible (at least for me) to tell you why it would run to negative. Mathematically that is the only thing possible,
    Step 1: make those changes in your code. Make changes required to claculate the balance.
    Step 2: Execute the new code and
    Step 3: Gimme the dukes.
    Cheers
    $

  • Help for a newbie using the SAP tutorial

    Hi All,
    This is the first time i have picked up the SAP SDK and I am following the tutorial that is in the the help document that is installed with the SDK installation. 
    Under the developers guide section > Tutorial: Blanket Agreement Solution
    I have worked down to Part 4 and I am stuck on step 1 (create an installer)
    Towards the end of the page it talks about creating a new project and to opening line is:  "Add the BlanketAgreement.exe file to the project and change its Build Action to Embedded Resource."
    Can somebody give me some help here please because upuntil now there has been no mention of the BlanketAgreement.exe.
    Equally can anybody suggest some more tutorials that will help be get into the SDK.
    Many thanks,
    Mike

    Hi Mike,
    The BlanketAgreement.exe is a reference to the executable that will be created when you compile the solution you created in Part II - Part III. I think there is a mistake in the tutorial because it asks you to name the project 'Blanket' which means that by default the executable will be called Blanket.exe and not BlanketAgreement.exe. The tutorial also misses the step asking you to compile the Blanket project before you go on to create an installer. You should compile your Blanket project in Release mode before creating an installer. By compiling the project you'll get a Blanket.exe file in the bin folder of your Blanket project which you then need to add to the installer per the instructions.
    SAP do offer development courses in some areas and there is training material here on the SDN and on the SAP partner portal (and maybe the customer portal as well). Try searching this forum for 'training' or 'tutorial' and you should get a few links. There's also a development certification.
    Personally I'd recommend you give yourself a little project to work on and just get stuck in
    Kind Regards,
    Owen

Maybe you are looking for