Page 1 of 1

How to scroll to select all text?

Posted: Mon Jun 10, 2019 7:12 pm
by ST3WD0
Say you've got pages of text in Notepad or a long web page in Firefox. A forum post says you can select some of the text with something like

Code: Select all

{MSET:125,300}{MADD:1,1}{PRESS}{LMB}{MADD:500,500}{MADD:1,1}{RELEASE}{LMB}
That works for text already on screen, but how do you scroll down to also select the text that's not in view?

If you did this manually, you'd click & drag down through the text until the text scrolls into view then release the LMB. How can this be simulated with XMBC?

TIA.

Re: How to scroll to select all text?

Posted: Mon Jun 10, 2019 7:51 pm
by ST3WD0
Not sure if this the proper way to do this but it works for me:

Code: Select all

{MSET:636,575}{MADD:0,0}{PRESS}{LMB}{MADD:200,2000}{WAITMS:1500}{MADD:500,-50}{RELEASE}{LMB}

Re: How to scroll to select all text?

Posted: Tue Jun 11, 2019 12:02 am
by phil
Not really sure this is the right way to go about it, but you could also use {MWUP} or {MWDN} to scroll the text up/down in that sequence (while LMB is pressed)... All seems a bit complex though and getting the positions accurate may be tricky. Why are you doing {MADD} after the MSET? I would have thought that was redundant/not required?