Autohotkey AHK Coding Job - Keyboard Macros - Programmer Required
- or -
Post a project like this$$
- Posted:
- Proposals: 0
- Remote
- #1522868
- Expired
Description
Experience Level: Intermediate
General information for the business: Electronics
Kind of development: Customization of existing program
Description of requirements/functionality: At the moment I have a routine like this
^a::
SendMessage, 0x1330, 119, 1, SysTabControl322, GELS;TCM_SETCURFOCUS = 0x1330
Sleep 200
SendMessage, 0x1330, 118, 1, SysTabControl322, GELS ;TCM_SETCURFOCUS = 0x1330
Sleep 200
SendMessage, 0x1330, 117, 1, SysTabControl322, GELS;TCM_SETCURFOCUS = 0x1330
Sleep 200
SendMessage, 0x1330, 116, 1, SysTabControl322, GELS;TCM_SETCURFOCUS = 0x1330
Sleep 200
SendMessage, 0x1330, 115, 1, SysTabControl322, GELS;TCM_SETCURFOCUS = 0x1330
Sleep 200
SendMessage, 0x1330, 114, 1, SysTabControl322, GELS;TCM_SETCURFOCUS = 0x1330
Sleep 200
And I press ESC::reload then one of the following buttons to restart the routine after pressing a different toolbar button
RButton::
right::
SendMessage, 0x1330, 1, 1, SysTabControl321, GELS;TCM_SETCURFOCUS = 0x1330
SendMessage, 0x1330, 119, 1, SysTabControl322, GELS;TCM_SETCURFOCUS = 0x1330
Sleep 2000
GoSub ^a
return
XButton1::
left::
SendMessage, 0x1330, 0, 1, SysTabControl321, Sierra ;TCM_SETCURFOCUS = 0x1330
SendMessage, 0x1330, 119, 1, SysTabControl322, Sierra ;TCM_SETCURFOCUS = 0x1330
Sleep 2000
GoSub ^a
return
XButton2::
down::
SendMessage, 0x1330, 2, 1, SysTabControl321, GELS;TCM_SETCURFOCUS = 0x1330
SendMessage, 0x1330, 119, 1, SysTabControl322, GELS ;TCM_SETCURFOCUS = 0x1330
Sleep 2000
GoSub ^a
return
up::
SendMessage, 0x1330, 3, 1, SysTabControl321, GELS;TCM_SETCURFOCUS = 0x1330
SendMessage, 0x1330, 119, 1, SysTabControl322, GELS;TCM_SETCURFOCUS = 0x1330
Sleep 2000
GoSub ^a
return
enter::
SendMessage, 0x1330, 4, 1, SysTabControl321, GELS;TCM_SETCURFOCUS = 0x1330
SendMessage, 0x1330, 119, 1, SysTabControl322, GELS;TCM_SETCURFOCUS = 0x1330
Sleep 2000
GoSub ^a
return
How can I go about toggling these commands, so one of them stops the current subroutine, and triggers itself. I.e. I pressed 'Xbutton1' and I was in the middle of '^a' subroutine, then I press 'enter' which completely cuts out wherever we are in the '^a' subroutine, and then sends it's own commands including the brand new '^a' routine.
OS requirements: Windows
Extra notes: No silly offers please, I have already spent time in the theory and basic code so I know this will not be along job for a proficient coder.
Kind of development: Customization of existing program
Description of requirements/functionality: At the moment I have a routine like this
^a::
SendMessage, 0x1330, 119, 1, SysTabControl322, GELS;TCM_SETCURFOCUS = 0x1330
Sleep 200
SendMessage, 0x1330, 118, 1, SysTabControl322, GELS ;TCM_SETCURFOCUS = 0x1330
Sleep 200
SendMessage, 0x1330, 117, 1, SysTabControl322, GELS;TCM_SETCURFOCUS = 0x1330
Sleep 200
SendMessage, 0x1330, 116, 1, SysTabControl322, GELS;TCM_SETCURFOCUS = 0x1330
Sleep 200
SendMessage, 0x1330, 115, 1, SysTabControl322, GELS;TCM_SETCURFOCUS = 0x1330
Sleep 200
SendMessage, 0x1330, 114, 1, SysTabControl322, GELS;TCM_SETCURFOCUS = 0x1330
Sleep 200
And I press ESC::reload then one of the following buttons to restart the routine after pressing a different toolbar button
RButton::
right::
SendMessage, 0x1330, 1, 1, SysTabControl321, GELS;TCM_SETCURFOCUS = 0x1330
SendMessage, 0x1330, 119, 1, SysTabControl322, GELS;TCM_SETCURFOCUS = 0x1330
Sleep 2000
GoSub ^a
return
XButton1::
left::
SendMessage, 0x1330, 0, 1, SysTabControl321, Sierra ;TCM_SETCURFOCUS = 0x1330
SendMessage, 0x1330, 119, 1, SysTabControl322, Sierra ;TCM_SETCURFOCUS = 0x1330
Sleep 2000
GoSub ^a
return
XButton2::
down::
SendMessage, 0x1330, 2, 1, SysTabControl321, GELS;TCM_SETCURFOCUS = 0x1330
SendMessage, 0x1330, 119, 1, SysTabControl322, GELS ;TCM_SETCURFOCUS = 0x1330
Sleep 2000
GoSub ^a
return
up::
SendMessage, 0x1330, 3, 1, SysTabControl321, GELS;TCM_SETCURFOCUS = 0x1330
SendMessage, 0x1330, 119, 1, SysTabControl322, GELS;TCM_SETCURFOCUS = 0x1330
Sleep 2000
GoSub ^a
return
enter::
SendMessage, 0x1330, 4, 1, SysTabControl321, GELS;TCM_SETCURFOCUS = 0x1330
SendMessage, 0x1330, 119, 1, SysTabControl322, GELS;TCM_SETCURFOCUS = 0x1330
Sleep 2000
GoSub ^a
return
How can I go about toggling these commands, so one of them stops the current subroutine, and triggers itself. I.e. I pressed 'Xbutton1' and I was in the middle of '^a' subroutine, then I press 'enter' which completely cuts out wherever we are in the '^a' subroutine, and then sends it's own commands including the brand new '^a' routine.
OS requirements: Windows
Extra notes: No silly offers please, I have already spent time in the theory and basic code so I know this will not be along job for a proficient coder.
Sim J.
100% (8)Projects Completed
8
Freelancers worked with
8
Projects awarded
24%
Last project
13 Jul 2017
United Kingdom
New Proposal
Login to your account and send a proposal now to get this project.
Log inClarification Board Ask a Question
-
There are no clarification messages.
We collect cookies to enable the proper functioning and security of our website, and to enhance your experience. By clicking on 'Accept All Cookies', you consent to the use of these cookies. You can change your 'Cookies Settings' at any time. For more information, please read ourCookie Policy
Cookie Settings
Accept All Cookies