Sign in to follow this  
Followers 0
Kidney

Send down is getting stuck

8 posts in this topic

When i try to do Send("{down down}"), the Send("{down up}") does not seem to want to "let go" of the down arrow.

any remedy for this?? let me know if you would like code for this question.

Share this post


Link to post
Share on other sites



I wouldn't mind seeing an example snippet. Why not just Send("{DOWN}"), are you wanting to hold the down arrow for a particular length of time?


√-1 2^3 ∑ π, and it was delicious!

Share this post


Link to post
Share on other sites

#3 ·  Posted (edited)

ya. its for work. i need to scroll through documents and the only way is to press the up and down arrows or grab the actual scroll bar and drag. but these documents r pretty large and i would like a slow consistent scroll which i can get with the up and down arrows. so i was gonna do something like this:

HotKeySet("{F1}", "Up")
HotKeySet("{F2}", "Down")

$Down = False
$Up = False

Func Down()
    $Down = Not $Down
    If $Down = True Then
        Send("{DOWN down}")
    Else
        Send("{DOWN up}")
    EndIf
EndFunc

EDIT: This is purely because im lazy and would like to just press F1 and have it scroll while i look through it and then press F again to stop scrolling. so if there isnt a way then its no biggy. was just curious since ive neever really messed with send that much

Edited by Kidney

Share this post


Link to post
Share on other sites

What about something simple, like this?

HotKeySet("{F1}", "Up")
HotKeySet("{F2}", "Down")

While 1
Sleep(5000)
WEnd

Func Up()
While 1
  Send("{UP}")
  Sleep(1000)
WEnd
EndFunc

Func Down()
While 1
  Send("{DOWN}")
  Sleep(1000)
WEnd

EndFunc

√-1 2^3 ∑ π, and it was delicious!

Share this post


Link to post
Share on other sites

What about something simple, like this?

HotKeySet("{F1}", "Up")
HotKeySet("{F2}", "Down")

While 1
Sleep(5000)
WEnd

Func Up()
While 1
Send("{UP}")
Sleep(1000)
WEnd
EndFunc

Func Down()
While 1
Send("{DOWN}")
Sleep(1000)
WEnd

EndFunc

well i guess with some tweaking this could work. is there a reason why the down and up dont work on send tho?? seems to be any key gets stuck in the down position

Share this post


Link to post
Share on other sites

I'll try that once I get a chance. Should the something be the letter I have as the send down?

Share this post


Link to post
Share on other sites

Something can be anything, I believe.


- Bruce /*somdcomputerguy */  If you change the way you look at things, the things you look at change.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0