Hey guys,
been at this for a few hours and browsed a few ideas around but still no solution.
The problem is simple: I want to automate the export of a JPG best preview render.
[VarSet,fileName,[FileNameAsk,“JPEG(.jpg)|.jpg||”,“image”,“Save file…”]]
[VarSet,diffName,[StrMerge,[FileNameExtract,fileName,3], “bpr”,“0000.jpg”]][IPress,Render:BPR RenderPass:Render Best Preview]
[IPress,Document:Export]
[VarSet,diffName,[FileNameAdvance,#diffName,4]]
After [IPress,Document:Export] I tried every function I could find to attempt to press the OK button in the dialog pop up. I tried Ifreeze to hide it, I tried Ipress with window ID, Iclick and horizontal + vertical coordinates, I tried to use IKeyPress 13 or 10… nothing.
It seems Zscript is not able to “see” the overlay pop up.
The problem is so simple yet so difficult to solve - anybody wants to join the riddle?
Thanks a lot