StrokesPlus Forum
                       
StrokesPlus Forum
Home | Profile | Register | Active Topics
Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 General Discussion
 General Discussion
 Focusing before gesture./ acDisplayText at cursor
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Sacco_Belmonte

Austria
9 Posts

Posted - 12/17/2019 :  10:13:50  Show Profile  Reply with Quote
By using:

local iHandle = acGetForegroundWindow()
acActivateWindow(nil, gsx, gsy)
acSendKeys ("{F_5}")
acDisplayText("Refresh", "Arial", 64, 200, 50, 255, 500, 650, 400)
acActivateWindow(iHandle, nil, nil)

Man!!!! now that's something else!

Strokes plus is insanely good. Found about it 3 days ago and I'm having a blast.

Note the acDisplayText command. Can I make the test to show up right under the cursor's location no matter where I am on my 3 monitors?


Edited by - Sacco_Belmonte on 12/17/2019 10:14:10

Rob

USA
2604 Posts

Posted - 12/17/2019 :  18:09:54  Show Profile  Visit Rob's Homepage  Reply with Quote
Try this:
acDisplayText("Refresh", "Arial", 64, 200, 50, 255, 500, acGetMouseLocationX(), acGetMouseLocationY())
Go to Top of Page

Sacco_Belmonte

Austria
9 Posts

Posted - 12/17/2019 :  18:18:09  Show Profile  Reply with Quote
Brilliant! Thank you :)

I used this to be able to get it below the cursor.

acDisplayText("Refresh", "Arial", 34, 200, 50, 255, 200, acGetMouseLocationX()-50, acGetMouseLocationY()+20)

Man, this program! :)

Edited by - Sacco_Belmonte on 12/17/2019 18:18:34
Go to Top of Page

Rob

USA
2604 Posts

Posted - 12/17/2019 :  18:21:04  Show Profile  Visit Rob's Homepage  Reply with Quote
Glad to hear! So I have to ask, is there a reason you're using this version (older and no longer being enhanced) instead of the newer StrokesPlus.net?

https://www.strokesplus.net/Downloads
Go to Top of Page

Sacco_Belmonte

Austria
9 Posts

Posted - 12/17/2019 :  18:43:46  Show Profile  Reply with Quote
Sheesh! no...I got it from somewhere else and wasn't aware of that. Thanks a lot, I'm gonna update to that one now. :)

EDIT: So I updated. Manually rebuilt all presets / scripts but for some reason all gestures are giving errors related to the scripts. All I did was to copy/paste from the old program to the new (then close the old)
Go to Top of Page

Rob

USA
2604 Posts

Posted - 12/17/2019 :  18:46:22  Show Profile  Visit Rob's Homepage  Reply with Quote
The scripts are, unfortunately not compatible :/ It was a complete rewrite from the ground up. That was another reason I was asking, before you got too far along.
Go to Top of Page

Sacco_Belmonte

Austria
9 Posts

Posted - 12/17/2019 :  18:49:52  Show Profile  Reply with Quote
Ok. so what would be the way to go? The Steps tab?
Go to Top of Page

Rob

USA
2604 Posts

Posted - 12/17/2019 :  18:52:59  Show Profile  Visit Rob's Homepage  Reply with Quote
I JUST added Steps like less than 5 days ago. I would say use the Steps unless you're making something very complicated.
Go to Top of Page

Sacco_Belmonte

Austria
9 Posts

Posted - 12/17/2019 :  18:53:15  Show Profile  Reply with Quote
Seems like "Insert Hotkey" is doing what I want so far. Not sure about invoking folders.

Things like window focusing seem now managed by the app (good)
Go to Top of Page

Rob

USA
2604 Posts

Posted - 12/17/2019 :  18:55:59  Show Profile  Visit Rob's Homepage  Reply with Quote
And if you hop in Discord, I'm usually around to help out in real time (though I'm traveling for work this week, so slower responses than usual): https://discord.gg/5uHNFFn
Go to Top of Page

Sacco_Belmonte

Austria
9 Posts

Posted - 12/17/2019 :  19:03:24  Show Profile  Reply with Quote
I guess I just need one thing:

How do I load a folder? I used:

acShellExecute("open", "C:\\folder", "", "", 1)

I'm not sure how to do it with the Steps tab. I found "Run Program" I guess I'm close.

No rush :) I like forums (unless this one is old and unused)
Go to Top of Page

Sacco_Belmonte

Austria
9 Posts

Posted - 12/17/2019 :  19:09:37  Show Profile  Reply with Quote
BTW: This new version seems to have a much better AI to recognize the gestures.

I changed my HotKey presets from the Script Tab to the Steps tab "Send Hot Key" and works wonderfully.

Edited by - Sacco_Belmonte on 12/17/2019 19:11:49
Go to Top of Page

Rob

USA
2604 Posts

Posted - 12/17/2019 :  19:12:15  Show Profile  Visit Rob's Homepage  Reply with Quote
Steps: Utility > Run

C:\\folder

Understood, then join the forum over there for the new version :)

https://forum.strokesplus.net/
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
StrokesPlus Forum © 2011-2018 Rob Yapchanyk Go To Top Of Page
Snitz Forums 2000