merrymonk has asked for the wisdom of the Perl Monks concerning the following question:
The none Perl application creates a file that the Perl application is ‘waiting’ for. When the file is found, the Perl application brings up a Tk window that is completed by the user. The none Perl application is then used agaian. The problem is that the keboard in the none Perl application only become 'active' after the left mouse key has been pressed. It is though the 'focus' (or something like this) is not being released after the Tk window has been completed. I have added the following lines just before the none Perl application is used again.$ppc = Win32::Process::Create( $global_process, $command_a, $command_b, 0, NORMAL_PRIORITY_CLASS, '.' );
This did make things any better (or worse). Has anyone any ideas ho I can prevent the need to use the left mouse button before the keys become active?$mw_Main->grabRelease; $mw_Main->withdraw; $global_process->Resume();
20050516 Edit by castaway: Changed title from 'Ineraction of Perl and applications not written in Perl'
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Interaction of Perl and applications not written in Perl
by bart (Canon) on May 12, 2005 at 23:45 UTC | |
|
Re: Interaction of Perl and applications not written in Perl
by starbolin (Hermit) on May 12, 2005 at 16:50 UTC |