??,????????,???????????????,??????????????????????????,???????,?????????
?????2.20.5,??????????????,?????,????????????????????
???:??F9,??F9,??esc,??esc,????????,??F9,??F9,????,??esc,??esc?
??????????,???????????????
????????????????????!
I translate through a translation system to help me, but there may be some deviations in the translation.
Sorry to delay your time, people in my country use this software very little, I try to use it for the first time. The search function here shows that only ten words can be searched, I do not know many languages, so I have to post directly.
I use 2.20.5, but some of the problems in it are not mentioned, I am a novice, hope to ask how to write how to solve this problem.
I want to: press F9, release F9, press esc, release esc, hold down the left mouse button, press F9, release F9, release the left button, click esc, release esc.
I saw the comments in the software, but I couldn't understand some of them in translation.
I hope someone can help me write this piece of code I want to write. Thank you very much!
Help writing code
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.
NOTE: To reduce spam, new users can not post links, files or images until they have at least 4 posts.
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.
NOTE: To reduce spam, new users can not post links, files or images until they have at least 4 posts.
Re: Help writing code
Assuming you don't want this to repeat, or anything fancy, then the following simulated keystrokes should work:
Method 1 (When button is pressed)
{F9}{ESC}{LMBD}{F9}{ESC}{LMBU}
You may need some delays in there eg. {waitms:50} between the keys if its too fast:
{F9}{waitms:50}{ESC}{waitms:50}{LMBD}{waitms:50}{F9}{waitms:50}{ESC}{LMBU}
Regards,
Phil
NOTE: Sorry but the forums database is quite old now and does not support Unicode character sets (and to fix that I need to throw everything away and start again - which is a little tricky) - hence the lots of ???? ?? ????'s
Method 1 (When button is pressed)
{F9}{ESC}{LMBD}{F9}{ESC}{LMBU}
You may need some delays in there eg. {waitms:50} between the keys if its too fast:
{F9}{waitms:50}{ESC}{waitms:50}{LMBD}{waitms:50}{F9}{waitms:50}{ESC}{LMBU}
Regards,
Phil
NOTE: Sorry but the forums database is quite old now and does not support Unicode character sets (and to fix that I need to throw everything away and start again - which is a little tricky) - hence the lots of ???? ?? ????'s
--[ Phil ]--
--[ Administrator & XMBC Author ]--
Logitech G9/G604/M720/MX518, Microsoft Intellimouse, Trust 16341 BT Mouse
Windows 10 x64, AMD Ryzen 5900x, MSI x570 Tomahawk, 32GB DDR4,
nVidia RTX 2070s, Evo 970 1Tb NVME, 2x2TB WD Black (RAID1)
--[ Administrator & XMBC Author ]--
Logitech G9/G604/M720/MX518, Microsoft Intellimouse, Trust 16341 BT Mouse
Windows 10 x64, AMD Ryzen 5900x, MSI x570 Tomahawk, 32GB DDR4,
nVidia RTX 2070s, Evo 970 1Tb NVME, 2x2TB WD Black (RAID1)
-
- New User
- Posts: 2
- Joined: Mon Apr 22, 2024 9:28 pm
Re: Help writing code
Thanks for your reply, but I still can't run it.
The problem may be: when the mouse clicks, I need to long press it, at the same time, press F9 a second time and release, at this point release the mouse, click esc to release esc. After clicking, press F9.
The problem may be: when the mouse clicks, I need to long press it, at the same time, press F9 a second time and release, at this point release the mouse, click esc to release esc. After clicking, press F9.
Re: Help writing code
Sorry you completely lost me there.
Please can you be precises, step by step what you want to achieve (including you actual click)...
Like:
I believe that's a clear description of your first message, which I thought my reply would work with. Where in the steps does it fail? What have I missed?
Please can you be precises, step by step what you want to achieve (including you actual click)...
Like:
Code: Select all
When I press the mouse button 4:
1. Press F9
2. Release F9
3. Wait a few milliseconds (for example)
4. Press Escape
5. Release escape
9. Press and HOLD the left button down
10. Press F9
11. Release F9
12. Press Escape
13. Release escape
14. Release left mouse button
I believe that's a clear description of your first message, which I thought my reply would work with. Where in the steps does it fail? What have I missed?
--[ Phil ]--
--[ Administrator & XMBC Author ]--
Logitech G9/G604/M720/MX518, Microsoft Intellimouse, Trust 16341 BT Mouse
Windows 10 x64, AMD Ryzen 5900x, MSI x570 Tomahawk, 32GB DDR4,
nVidia RTX 2070s, Evo 970 1Tb NVME, 2x2TB WD Black (RAID1)
--[ Administrator & XMBC Author ]--
Logitech G9/G604/M720/MX518, Microsoft Intellimouse, Trust 16341 BT Mouse
Windows 10 x64, AMD Ryzen 5900x, MSI x570 Tomahawk, 32GB DDR4,
nVidia RTX 2070s, Evo 970 1Tb NVME, 2x2TB WD Black (RAID1)