Re: Create iTool save file programmatically [message #57166] |
Tue, 04 December 2007 13:02 |
chris_torrence@NOSPAM
Messages: 528 Registered: March 2007
|
Senior Member |
|
|
You are very close. I think you just want to use the "Save" operation
instead of "Save As". "Save As" will always prompt for a filename. So
your code would look like:
it = itgetcurrent(TOOL=oTool)
op = oTool->GetByIdentifier(oTool->GetFullIdentifier()+'/OPERATIONS/
FILE/SAVE')
op->SetProperty, filename='c:/test.isv', show_execution_ui=0
void = oTool->DoAction(op->GetFullIdentifier())
-Chris
ITTVIS
|
|
|
|