Re: New Thread .... Will not work in win32lib BUT does work in its OWN folder .. WHY??,,
- Posted by DerekParnell (admin) Jun 03, 2010
- 1184 views
Selgor said...
Still cannot work out how to get the file executed from "keypress" after typing in file etc.
Try this ...
procedure KeyPress(integer self, integer event, sequence parms) integer result if parms[1] = 13 then result = shellExecuteEx("open",getText(file), 0, 0,SW_SHOWNORMAL,0) closeWindow(Win) end if end procedure setHandler(file,w32HKeyPress, routine_id("KeyPress"))