arkamedis21 has asked for the wisdom of the Perl Monks concerning the following question:

Hi,

I run a perl script that launches an executable that runs for days in windows. Windows has this annoying yet useful feature called quick edit mode for its command prompt window. It is useful because it lets me cut and paste stuff out of the prompt window, but annoying because if I click the window by mistake it switches to select mode and suspends my perl script running in it. I was wondering if there is any Win32 module which might let me turn this feature off before my scripts launch the executable. Any help would be greatly appreciated. Thanks.

Replies are listed 'Best First'.
Re: windows quick edit mode
by PodMaster (Abbot) on Sep 12, 2002 at 16:41 UTC
    I'm not quite sure, but Win32::Console might help, from the pod ...
    Mode [flags]
    Gets or sets the input or output mode of a console. flags can be a combination of the following constants: ENABLE_LINE_INPUT
    ENABLE_ECHO_INPUT
    ENABLE_PROCESSED_INPUT
    ENABLE_WINDOW_INPUT
    ENABLE_MOUSE_INPUT
    ENABLE_PROCESSED_OUTPUT
    ENABLE_WRAP_AT_EOL_OUTPUT...

    ____________________________________________________
    ** The Third rule of perl club is a statement of fact: pod is sexy.

Re: windows quick edit mode
by samurai (Monk) on Sep 12, 2002 at 16:06 UTC
    I don't think there's a perl module for this, but you CAN turn off the quickedit in Windows. Make a batch job or a shortcut to the "command" itself, and in the properties of the shortcut you can go to the "Options" tab and uncheck the QuickEdit box.

    --
    perl: code of the samurai