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

 All Forums
 Lua Scripts
 General Action Scripts
 Next page
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

control_freak

51 Posts

Posted - 04/11/2016 :  16:05:47  Show Profile  Reply with Quote
is it possible to make a gesture to go to next page of websites on chrome?

chandisciple

75 Posts

Posted - 04/16/2016 :  01:08:05  Show Profile  Reply with Quote
Sine rob seem busy i would like to post you my opinion on this,

To find the element for the next page and to trigger it needs investigation on to find the element (html) and hit the button . This does not seem to be a easy task at least unless rob gets into the party. Even if rob finds it , i guess he would have to work to make it happen in all websites.

Just my opinion.
Go to Top of Page

control_freak

51 Posts

Posted - 04/21/2016 :  17:19:16  Show Profile  Reply with Quote
thank you chandisciple. found the coed for it
local iHandle = acGetForegroundWindow()
acActivateWindow(nil, gsx, gsy)
acSendKeys("^{TAB}")

Go to Top of Page

chandisciple

75 Posts

Posted - 04/21/2016 :  19:59:25  Show Profile  Reply with Quote
Thats true, i answered initially thinking that you were trying to navigate to the next page of a website like page 1 of google search page 2 of google search page 3 of google search, in short next pages of websites since you said " next page of websites ".

yes ctrl tab for next tab and acSendKeys("^+{TAB}") for previous tab. and i dont use the below 2 lines in my code as my gesture is drwan on chrome saving the milliseconds to process these 2 lines,

local iHandle = acGetForegroundWindow()
acActivateWindow(nil, gsx, gsy)


Good Luck

Go to Top of Page

control_freak

51 Posts

Posted - 04/21/2016 :  20:09:58  Show Profile  Reply with Quote
haha sorry for my misinterpretation. am new to this thing and am so excited :P i put those lines before almost every code so that the window gets the focus even if its not on top. saves me a left click everytime :)
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