Help - Intralink scripting

I wrote a little DOS-Batch file, which makes ProE Trail file from a text file of the object's names (prt, asm, drw). The Trail file makes only a simple ModelCheck and saves the object. But now I have to put the object's names manually into the text file. I want to do this with the Intralink script (). I figured out that this script is Java script, which contains the follows:

// Version: Intralink v.3.2, (build #2003120 - I4.0.5.25) // Start Macro Recording import com.ptc.intralink.client.script.*; import com.ptc.intralink.script.*; . . . IL.refresh( ); IL.setTableConfiguration( "for ModelCheck" ); IL.selectAll( "WSPI" );

And at this point, I don't know, how can I save the selected list, because the edit menu copy command won't be saved with the Intralink scripting recorder. My Java knowledge is a little poorish, sorry. Any Idea? With this step, I could make my Trail file totally automatic.

Thank you,

Peter Bo from Hungary

Reply to
Peter Bo
Loading thread data ...

It is done, I solved it. There is an option to print to text-file the selected Itmes:

IL.printContent( "obj_list.txt", 1 );

It isn't the solution, that I expected, but it works.

Bye

Peter Bo from Hungary

Peter Bo wrote:

Reply to
Peter Bo

Where are stored this script files? I didn't find it.

Thanks, Paolo.

Reply to
PaoloV

Hi PaoloV, If you record a script (test), (Start/do something, for example refresh/Stop) then you will have somewhere in your intralink loadpoint the "test.java" and "test.class", at our company it is:

$INTRALINK_DIR\.proi\.data\.user_data\source\test.java $INTRALINK_DIR\.proi\.data\.user_data\lib\test.class

I guess, the exact path to these files is depend on the intralink client settings.

Peter Bo from Hungary

PaoloV wrote:

Reply to
Peter Bo

I find it, Thanks.

Paolo.

Reply to
PaoloV

PolyTech Forum website is not affiliated with any of the manufacturers or service providers discussed here. All logos and trade names are the property of their respective owners.