Run application from Quartz composer

ugasparon's picture

Hi, Is possible run an external application (build with quartz builder) from quartz composer? Or there is an example for make an OSX application witch run and pass parameters to another app (compiled with Quartzbuilder)? thanks for any help!!

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

ginsu777's picture
Re: Run application from Quartz composer

I would like to understand this as well. Right now, I can send TCP commands via the TCP plugin (from vade), but I am not sure how to start external applications and send more commands.

Is there an automator plugin for QC that can be compiled into app form?

ugasparon's picture
Re: Run application from Quartz composer

I have make 2 application with Quartzbuilder ( app1, app2) and now from another application (app3) I want start app1 and show/change the parameter window. Or from app3, start app2 and show/change the parameter. the parameter of app1 and app2 are different. Also the app3 is made with Quartzbuilder and when press a virtual button on the screen I would like to run app1 or app2...

mattgolsen's picture
Re: Run application from Quartz composer

I believe the CommandLine plugin in the Developers Examples should do the trick.

Edit*

Here you go:

http://developer.apple.com/library/mac/#samplecode/CommandLineTool/Listi...

ugasparon's picture
Re: Run application from Quartz composer

Thanks for help, I have try to use CommandLineTool and for make a folder work good. I have try to run an App but without success. I have put:

in Path: /bin/open

in Argument#1: /Users/ugasparon/Desktop/Myapp.app

Where i mystake? in Terminal I write: open /Users/ugasparon/Desktop/Myapp.app and work correct..

ugasparon's picture
Re: Run application from Quartz composer

I have found the solution :-)

in the CommandLineTool I have write: Path: /Users/username/Desktop/runapp.sh

runapp.sh is attach file to this comment.

this work but probably there is a direct metod without a file .sh

PreviewAttachmentSize
runapplication.sh_.zip630 bytes

steve holmes's picture
Re: Run application from Quartz composer

I would say by far the easiest way to control another application is to use the AppleScript patch. You would simple put inside the patch Tell application "whatever you want to control" activate End tell

You could use this to control files and folders change screen resolution, basically anything you can do with AppleScript which is a lot. Cheers Steve