Page 1 of 1

Hotkey under FiveWin ?

Posted: Thu Aug 04, 2022 4:04 am
by Jimmy
hi,

under HMG i can use this Syntax

Code: Select all | Expand


   ON KEY CONTROL + N OF IPTVMAIN ACTION DoAppendNew()


under FiveWin i can use

Code: Select all | Expand

  SETKEY( ASC( "N" ), { ||  DoAppendNew()  } )


but it is not limited to WINDOW

---

i saw Codeblock Slot "bKeyDown" but most contain VK_RETURN
i need to use CTRL too else Increment Search of XBROWSE will be activate

so how to use CTRL + "N" under FiveWin to call Function :?:

Re: Hotkey under FiveWin ?

Posted: Thu Aug 04, 2022 3:45 pm
by nageswaragunupudi

Code: Select all | Expand

o:bKeyDown := { |k| If( k == ASC("N") .and. GetKeyState( VK_CONTROL ),  ;
                        ( youraction(), 0 ), nil ) }

//OR

o:bKeyChar := { |k| If( k == ASC("N") - 64, ( youraction(), 0 ), nil ) }

Re: Hotkey under FiveWin ?

Posted: Thu Aug 04, 2022 11:44 pm
by Jimmy
Aha
Thx for Answer