New topic: Simple Question I think!
<http://forums.realsoftware.com/viewtopic.php?t=35659> Page 1 of 1 [ 2 posts ] Previous topic | Next topic Author Message NewtoRealStudio Post subject: Simple Question I think!Posted: Wed Sep 29, 2010 10:43 am Joined: Wed Sep 29, 2010 10:37 am Posts: 1 Hi all, I am brand new to RealStudio so forgive me if this question is easy. I am trying to launch an app in Mac OS X and send in parameters. After some research, I found dim sh as new shell sh.execute "open -b com.Apple.Calculator" (thanks to tomis for posting this!) So, i created a bundle id for my app, closed my eyes, and it opens! great! the problem is, i want to pass parameters to the app.... and capture those parameters in the rb app using system.commandline so.... I've tried: sh.execute "open -b --myparameters com.nooby.calculator" doesn't work I've tried sh.execute "open -b com.nooby.calculator -myparameters" doesn't work! Can anybody help me please? I know this should be easy but it's killing me! Top DaveS Post subject: Re: Simple Question I think!Posted: Wed Sep 29, 2010 10:45 am Joined: Sun Aug 05, 2007 10:46 am Posts: 2644 Location: San Diego, CA well according to the OSX MAN OPEN documents it should be sh.execute "open -b com.nooby.calculator --args myparameter1 myparameter2" _________________ Dave Sisemore MacPro, OSX 10.6.4 RB2009r5.1 Note : I am not interested in any solutions that involve custom Plug-ins of any kind Top Display posts from previous: All posts1 day7 days2 weeks1 month3 months6 months1 year Sort by AuthorPost timeSubject AscendingDescending Page 1 of 1 [ 2 posts ] -- Over 1500 classes with 29000 functions in one REALbasic plug-in collection. The Monkeybread Software Realbasic Plugin v9.3. http://www.monkeybreadsoftware.de/realbasic/plugins.shtml [email protected]
