I'm still struggling with transcript files.
My aim is to benchmark client performance in opening files from vault in Inventor.
I have created a transcript file to download, checkout, update and checkin files from within Inventor 2011.
The transcript file works perfect, but a full automation would require an automated execution of this script.
I have used a bit of VBA code:
Sub AutoStart()
Dim Inventor As Application
Dim ActiveDocument As Inventor.Document
Dim oControlDef As ControlDefinition
ThisApplication.SilentOperation = True
Dim ComMan As CommandManager
Set ComMan = ThisApplication.CommandManager
Call ComMan.PostPrivateEvent(kFileNameEvent, "c:\temp\transdir\testfall-1.tf")
Set oCtrlDef = ComMan.ControlDefinitions.Item("AppReplayTranscriptCmd")
oCtrlDef.Execute
ThisApplication.SilentOperation = False
End Sub
Although I have added the PostPrivateEvent, the dialog will always pop-up, that asks for the transcript file name.
Can anyone help?