Launching & connecting to USB aircard when plugged in.

Discussion in 'Mac Programming' started by CBarkAZ, Mar 12, 2009.

  1. CBarkAZ macrumors newbie

    Mar 17, 2008
    Hello All,

    I've been searching for a solution to my question for a while. I've found hints and explanations, but I cannot find an example and I'm very new to applescript. So, here goes:

    I have a Sierra 597U USB aircard that also contains an 8GB microSD card. I had an issue that whenever I wanted to remove the card, I had to unmount the volume for the MicroSD card also. I've managed to create a small script that I can run that will unmount the volume and quit Sprint's SmartView application. That was easy. Now for the stumper...I'd like to write a script and use folder actions that would run the SmartView application whenever the aircard is plugged into the USB port. Also, if possible, I'd like to emulate pressing the "Connect" button within the application.

    Can someone please point me in the right direction? The name of the 8GB volume is "AIRCARD STO" and the app name is "Sprint SmartView".

    Thanks in advance,

Share This Page