Pressing buttons, while holding another

x64 Replacement/Alternative to Microsoft's IntelliMouse application.
Forum rules
Please read the forum rules before posting for the first time.
The more information you can provide, the quicker and more accurately someone can help.
Post Reply
islamsaab
New User
Posts: 4
Joined: Thu Nov 29, 2018 7:37 am

Pressing buttons, while holding another

Post by islamsaab » Wed Jul 10, 2019 9:56 pm

XMBC Version: 2.16.1
Windows Version : 10
Mouse Information(brand/model): bloody V7
Computer Information:
Did the problem occur after an upgrade of XMBC?:
Did the problem occur after a Windows update/upgrade?:
How long have you used XMBC?:
What language and keyboard layout do you use in Windows?: Eng

Clear description of the problem:
Hello, i need to do somthing, but cant figure it out.
I need to hold "D" for 2 seconds and while i holding it repeatedly pressing "Shift"
pls help, if you can.

i couldnt even force it to hold Shift button for typing on capital letters.
example: {PRESS}{SHIFT}{WAIT:5}{RELEASE}{SHIFT}
so, while i started the script, it should hold SHIFT pressed. but when i use it and type abc (manualy) it doesnt appear as ABC, its just abc.

then i tryed: {HOLD:5}{SHIFT}
from what i know, that means script will hold Shift for 5 seconds. and again my letters appearing in small letters.

Lets say i need to Hold Shift for 5 seconds, and between these 5 seconds include some comands.
holding Shift, waiting 1 second then holding "S", waiting 1 second then pressing (not holding, just usual press) "D" and after all i need to Release "S" and Shift.

Thanks for advice )

islamsaab
New User
Posts: 4
Joined: Thu Nov 29, 2018 7:37 am

Re: Pressing buttons, while holding another

Post by islamsaab » Thu Jul 11, 2019 10:28 am

{PRESS}S{WAITMS:1100}{PRESS}{LMB}{WAITMS:6100}{RELEASE}{LMB}S

this seems to be fine. not testet enought yet

User avatar
phil
Site Admin
Posts: 5888
Joined: Sun Apr 06, 2003 11:12 pm

Re: Pressing buttons, while holding another

Post by phil » Thu Jul 11, 2019 11:22 am

islamsaab wrote:
Thu Jul 11, 2019 10:28 am
{PRESS}S{WAITMS:1100}{PRESS}{LMB}{WAITMS:6100}{RELEASE}{LMB}S
this seems to be fine. not testet enought yet
You may find that last S needs a {RELEASE} before it too.
{PRESS}S{WAITMS:1100}{PRESS}{LMB}{WAITMS:6100}{RELEASE}{LMB}{RELEASE}S

You may also find that if you use a newer version of XMBC (2.18.x) then you have additional options such as {OD} {OR} and {OU} allowing you to perform different actions when the button is pressed, when it repeats and when it is released... Not sure if that will help or not.
--[ Phil ]--
--[ Administrator & XMBC Author ]--
Logitech G9, Logitech MX518, Microsoft Intellimouse, Trust 16341 BT Mouse
Windows 10 x64, Intel i5-9600k, Asus Z390-ROG, 16GB DDR4,
nVidia GeForce GTX 970, Evo 970 500Gb NVME, 2x2TB WD Black (RAID1)

islamsaab
New User
Posts: 4
Joined: Thu Nov 29, 2018 7:37 am

Re: Pressing buttons, while holding another

Post by islamsaab » Sun Jul 14, 2019 10:58 am

Thank you, now it works fine :)

User avatar
phil
Site Admin
Posts: 5888
Joined: Sun Apr 06, 2003 11:12 pm

Re: Pressing buttons, while holding another

Post by phil » Thu Jul 18, 2019 9:42 pm

good to know - thanks
--[ Phil ]--
--[ Administrator & XMBC Author ]--
Logitech G9, Logitech MX518, Microsoft Intellimouse, Trust 16341 BT Mouse
Windows 10 x64, Intel i5-9600k, Asus Z390-ROG, 16GB DDR4,
nVidia GeForce GTX 970, Evo 970 500Gb NVME, 2x2TB WD Black (RAID1)

Post Reply