Running a macro via Java Object Toolkit
Hello everyone,
We use Creo10.0. and Java Object Toolkit to run a macroA:
~ Command `ProCmdUtilTrailTrain`
< 2 0.118519 178 0 0 100 1920 0 0 1080 13
~ Trail `UI Desktop` `UI Desktop` `DLG_PREVIEW_POST` `file_open`
~ Select `file_open` `Ph_list.Filelist` 1 `macroB.txt`
~ Command `ProFileSelPushOpen_Standard@context_dlg_open_cmd`It should call another macro - macroB.txt
When we run macroA manually in Creo using "Play Trail File" it works fine.
When we run it using Java Object Toolkit - RunMacro method, it opens the dialog but the last step - clicking the "Open" button - is not performed. If we watch it in the UI and click the Open button manually, it correctly calls macroB.
Thank you for any hint.

