Page 1 of 1

Custom tools

Posted: Mon Feb 09, 2009 5:24 pm
by Ross
Hi,

I have a custom tool (bat file) that I'd like to run automatically just before a Project Preview/Sync is executed.

I have already created the tool itself and it appears, and works, through the Tools menu in the UI, but I'd like it to automatically execute just before it compares/sync's files when I click Preview on my project.

I couldn't find any way to link it to a specific project, so is this possible at all?

Thanks in advance.
Ross.

Posted: Tue Feb 10, 2009 7:24 am
by grigsoft
I assume you are talking about Synchronize It? No, at the moment there is no way to attach to project. I will think about this.

Posted: Tue Feb 10, 2009 9:20 am
by grigsoft
Another thought - you can make a batch file, running your tool first and then sync'ing your project with /auto or /I

Posted: Tue Feb 10, 2009 9:29 am
by Ross
[quote="grigsoft"]Another thought - you can make a batch file, running your tool first and then sync'ing your project with /auto or /I[/quote]

Yeah I have also considered setting the batch file to do this. So I'll probably look into that.

I did mean Synchronize It! yes. :-)

Thanks for your help.

Posted: Wed Feb 11, 2009 1:49 pm
by brahman
Hi Igor!

In this thread you mentioned a "/I" switch equivalent to "/auto".

I was not able to find a /I switch documented anywhere in SI help or blog.

Are there more of such undocumented switches?

Could you make a list of switches not in the current help file for SI and CI, so we can all use them?

Thank you.

Kind Regards,

Brahman

Posted: Wed Feb 11, 2009 2:05 pm
by grigsoft
In fact, I was wrong - that /I was uses in 2.х version, now it was replaced with /scan. Anyway, before every release I try to check supported command line list with help, making sure help covers everything.