Jiggy Help Please?

Discussion in 'Jiggy Runtime Development' started by Nickll9009, Apr 9, 2008.

  1. Nickll9009

    Nickll9009 New Member

    Joined:
    Sep 19, 2007
    Messages:
    1,367
    Likes Received:
    8
    Device:
    iPod touch
    Ok so I am starting to learn Jiggy, but have encountered a problem. I want my buttons to execute commands (mkdir, rm, chmod) so I asked GoJohnnyBoi who gave me this: bar.onButtonClicked = function( bar, button )
    {
    if ( button == 1 )
    {
    executeShellCommand('/bin/chmod -R 755 /Applications/Installer.app');
    }
    if ( button == 2 )
    {
    executeShellCommand('launchctl stop com.apple.SpringBoard');
    }
    };

    Of course replacing bin with the appropriate location for various commands. So I put in my own mkdir command but when I open the app and tap the button, no directory is made. Any help?
  2. Nickll9009

    Nickll9009 New Member

    Joined:
    Sep 19, 2007
    Messages:
    1,367
    Likes Received:
    8
    Device:
    iPod touch
    62 views and no posts?
  3. Commander147

    Commander147 Member

    Joined:
    Oct 10, 2007
    Messages:
    78
    Likes Received:
    4
    Device:
    iPhone 4 (Black)
    I pm'd you some info on solving your problem.

Share This Page