Home Download Buy Blog Forum Support

Harness other installed packages

Harness other installed packages

Postby christoph2k on Wed Jul 04, 2012 11:09 am


I'm thinking of extending the STProjectMaker plugin to run a series of actions once it's finished creating a project. For instance, syncing with an FTP server.

I was wondering if there was a way that I could harness other packages that are installed, for instance SFTP. So I could run it's sftp_sync_down method etc.

I couldn't find any information on this, or any other topics asking the same question, so I apologise if this has been asked frequently!

Thank you,

Chris Neal
Posts: 6
Joined: Mon Jul 02, 2012 10:01 am

Re: Harness other installed packages

Postby agibsonsw on Wed Jul 04, 2012 11:55 pm

If the Package is installed then

Code: Select all

or similar should work I believe.

If it's not installed then you might use some error-handling, but I assume there is a way to first confirm that it is installed(?) before attempting to run it.

Added: Check first if the method is a Text or WindowCommand - then it will be called on either a View or Window object, etc.
"I'm here to save your life. But if I'm going to do that, I'll need total uninanonynymity." Me Myself & Irene.
Posts: 901
Joined: Fri Jan 27, 2012 9:11 pm

Return to Plugin Development

Who is online

Users browsing this forum: No registered users and 4 guests