StrokesPlus.net
Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Options
Go to last post Go to first unread
urabeat  
#1 Posted : Saturday, February 26, 2022 5:35:31 PM(UTC)
urabeat

Rank: Newbie

Reputation:

Groups: Approved
Joined: 2/26/2022(UTC)
Posts: 2
Japan

Hello.

As the title says, I found out how to make Strokes plus work with Q-Dir.
It seems that it was discussed in the old strokes plus forum ( https://www.strokesplus....riendly.asp?TOPIC_ID=784 ), so I would like to share the information.

Let me conclude.
It works by putting a Sleep() between SendVKeyDown() and SendVKeyUp().
Do not use SendVKey().

However, I'm not an engineer, so why don't I accept SendVKey() and why does it work when I put a Sleep()?
I don't know the reason. If anyone is familiar with it, please let me know.

The text was translated from Japanese to English by Google Translate.
Thank you!

example:
  • HOME key
    Code:
    sp.SendVKeyDown(vk.HOME);
    sp.Sleep(50);
    sp.SendVKeyUp(vk.HOME);
    

  • To the directory above
    Code:
    sp.SendAltDown();
    sp.Sleep(50);
    sp.SendVKeyDown(vk.UP);
    sp.Sleep(50);
    sp.SendVKeyUp(vk.UP);
    sp.Sleep(50);
    sp.SendAltUp();
    

Edited by user Saturday, February 26, 2022 7:51:48 PM(UTC)  | Reason: Not specified

Rob  
#2 Posted : Saturday, February 26, 2022 11:54:19 PM(UTC)
Rob

Rank: Administration

Reputation:

Groups: Translators, Members, Administrators
Joined: 1/11/2018(UTC)
Posts: 1,359
United States
Location: Tampa, FL

Thanks: 28 times
Was thanked: 419 time(s) in 356 post(s)
The script is able to press keys faster then a human, so Q-Dir probably is looking for one thing to happen first, then the next thing.

When S+ is sending without a delay, it's happening faster than Q-Dir expects.

So this is something within Q-Dir and the way it processes keys, not really related to S+.
Users browsing this topic
Guest
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.