nickll9009 Posted April 10, 2008 Share Posted April 10, 2008 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 Link to comment https://www.insanelymac.com/forum/topic/98459-jiggy-help-please/ Share on other sites More sharing options...
Recommended Posts