I need to run Pro/E in batch mode, which I have been able to do in the past.
I run a session manually, edit the trail files to my liking, and then run Pro/E with the appropreate command line.
However, I now need to include Windchill in the process.
My immediate challenge is the username and password.
These are not recorded in the trail file.
How do I deal with this?
Gerry
Although that does remember the credentials, it still pops up a dialog that requires the user to click OK.
Again, this is not recorded in the trail file.
In Reply to Randy Jones:
Check the "Remember username and password for this site" option in the browser?
Thanks to everyone that replied, and special thanks to Randy who recommended using JLink with the AuthenticateBrowser() method.
Worked like a charm.
In my startup method, all I needed was the following:
static Session current_session = pfcGlobal.GetProESession();
Afterward, my trail file runs without being prompted for credentials.
Gerry
In Reply to Gerry Champoux:
I need to run Pro/E in batch mode, which I have been able to do in the past.
I run a session manually, edit the trail files to my liking, and then run Pro/E with the appropreate command line.
However, I now need to include Windchill in the process.
My immediate challenge is the username and password.
These are not recorded in the trail file.
How do I deal with this?
