Clear questions and runnable code get the best and fastest answer |
|
PerlMonks |
Win32::OLE freezing Tkby Takamoto (Monk) |
on Dec 23, 2019 at 14:37 UTC ( [id://11110552]=perlquestion: print w/replies, xml ) | Need Help?? |
Takamoto has asked for the wisdom of the Perl Monks concerning the following question: Hello monks I have the following basic Tk application that uses Win32::OLE to copy a PPT files to another locaction (the task is not important here, it is just to illustrate my problem). The application works fine, but it freezes for a long time, even after the OLE operation has been concluded and the message window "Done!" is shown and closed. Can this behaviour be solved? If not, how can I show my message "Done!" only after the GUI is reactive? The problem is that the user thinks s/he has control over the GUI as soon as the "Done!" message is shown. Furthermore: shouldn't $ppt->{Visible} = 0; prevent the PowerPoint application to show up?
Any suggestion would be very much appreciated.
Back to
Seekers of Perl Wisdom
|
|