On 02/05/17 04:03, Michael C wrote:
> holy cow
I did warn you it was non trivial :-)
Basically Eryksun has done what your scripting
tool is doing in the background.
--
Alan G
Author of the Learn to Program web site
http://www.alan-g.me.uk/
http://www.amazon.com/author/alan_gauld
Follow my phot
On 01/05/17 19:28, Michael C wrote:
> Hi all, I found out that one way to press ESC to kill the script was to
> use my previous script language, AutoHotKey and this is how it works:
>
> ## When ESC is pressed, runs the function 'kill'
> Esc::kill()
> Is there a way to write it i
Hi all, I found out that one way to press ESC to kill the script was to use
my previous
script language, AutoHotKey and this is how it works:
AutoHotKey code
## function that kills the window with title '*Python 3.6.1 Shell*'
kill()
{
WinKill, *Python 3.6.1 Shell*
}
## When ESC is pressed, run
Hi all, I am trying to write a script to exit itself when ESC is pressed. I
have found several answers regarding it such as this:
http://stackoverflow.com/questions/43709710/push-esc-
to-terminate-python-script?noredirect=1#comment74464169_43709710
But those only work when the program goes to tha