Home Download Buy Blog Forum Support

target build from plugin

target build from plugin

Postby FragOnly on Thu Feb 14, 2013 6:51 pm

I would like target a particular "build" command to run inside of a plugin.

I know that specifying the following will trigger the build command, but how do I specify which build to run?
Code: Select all

For example, from a plugin:
Code: Select all
if logic1:
    view.window().run_command('build', 'build1')
   view.window().run_command('build', 'build2')

Posts: 19
Joined: Sat Feb 09, 2013 12:50 pm

Return to General Discussion

Who is online

Users browsing this forum: davidtvsa, dlprice and 27 guests