puschteblume Posted July 21, 2009 Share Posted July 21, 2009 Hello, I tried to write a script where I can recompose a document automatically. To start the recomposing works fine. After recomposition has been finished a dialog pops up, which I try to close with the following script: tell application "System Events" tell process "FusionPro" click button "Close" of window "FusionPro Composition System" end tell end tellBut the window still appears without an error message. Is anybody here who has done the same? Thanks for your help Heiko Link to comment Share on other sites More sharing options...
Dan Korn Posted July 23, 2009 Share Posted July 23, 2009 Why do you need to close the window? If you just don't want to see it, you can do this: tell application "System Events" set visible of process "FusionPro" to false end tell Link to comment Share on other sites More sharing options...
puschteblume Posted July 24, 2009 Author Share Posted July 24, 2009 Hi Dan Of course, I can do. Currently I close the FusionPro application. If I want to work in a serial line, which means starting a job, when no other is running, this window is helpful. But I have seen, that I can check the button, which changes to "close" if the process is finished with the composition task. Thanks Heiko Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.