Author |
Message |
Andy
|
Posted: Thu May 29, 2003 7:13 am Post subject: Is it possible to foce the mouse to move somewhere? |
|
|
I dun know if turing is capable, but can you force the cursor to be between an area or force it to go to a location? thanx |
|
|
|
|
![](images/spacer.gif) |
Sponsor Sponsor
![Sponsor Sponsor](templates/subSilver/images/ranks/stars_rank5.gif)
|
|
![](images/spacer.gif) |
Mazer
![](http://compsci.ca/v3/uploads/user_avatars/1323750815476d9f446d80c.png)
|
Posted: Thu May 29, 2003 7:44 am Post subject: (No subject) |
|
|
i'm fairly certain that there isn't. sorry, but that's turing for ya. but what exactly are you trying to do, there may be another way to accomplish it. |
|
|
|
|
![](images/spacer.gif) |
Tony
![](http://wiki.compsci.ca/images/f/f4/OniTony.gif)
|
Posted: Thu May 29, 2003 9:49 am Post subject: (No subject) |
|
|
you need to access window's API for that... you'd need to use C++ or VB, not possible in turing. |
Tony's programming blog. DWITE - a programming contest. |
|
|
|
![](images/spacer.gif) |
Homer_simpson
![](http://compsci.ca/v3/uploads/user_avatars/18138546704b4d2a3b2e50e.gif)
|
Posted: Thu May 29, 2003 2:00 pm Post subject: (No subject) |
|
|
bwahahahahrrrrr... turing sux...
i did that using turbo pascal(a program so very old) but turing(the new program ) cant even do that |
|
|
|
|
![](images/spacer.gif) |
Dan
![](http://wiki.compsci.ca/images/archive/3/3c/20100325043407!Danspic.gif)
|
Posted: Thu May 29, 2003 10:21 pm Post subject: (No subject) |
|
|
if you where to make the corser in turing and put it a mouse x and y then you may be able to make it look like you made the mouse move. |
Computer Science Canada
Help with programming in C, C++, Java, PHP, Ruby, Turing, VB and more! |
|
|
|
![](images/spacer.gif) |
Homer_simpson
![](http://compsci.ca/v3/uploads/user_avatars/18138546704b4d2a3b2e50e.gif)
|
Posted: Fri May 30, 2003 7:52 am Post subject: (No subject) |
|
|
yeah but u cant hide the real cursor... |
|
|
|
|
![](images/spacer.gif) |
Andy
|
Posted: Fri May 30, 2003 8:13 am Post subject: (No subject) |
|
|
how? |
|
|
|
|
![](images/spacer.gif) |
Homer_simpson
![](http://compsci.ca/v3/uploads/user_avatars/18138546704b4d2a3b2e50e.gif)
|
Posted: Fri May 30, 2003 4:00 pm Post subject: (No subject) |
|
|
like this i guess =/
code: | var mx, my, mb : int
View.Set ("offscreenonly")
View.Set ("graphics:1000,1000")
loop
mousewhere (mx, my, mb)
drawfilloval (round (mx * 1.5), round (my * 1.5), 5, 5, 12)
View.Update
delay (100)
cls
end loop
|
|
|
|
|
|
![](images/spacer.gif) |
Sponsor Sponsor
![Sponsor Sponsor](templates/subSilver/images/ranks/stars_rank5.gif)
|
|
![](images/spacer.gif) |
Tony
![](http://wiki.compsci.ca/images/f/f4/OniTony.gif)
|
Posted: Fri May 30, 2003 7:54 pm Post subject: (No subject) |
|
|
you're better off adding numbers rether then multiplying... so its not relative.
@ X =100, newX = 150, but when X=1, newX = 1.5
big difference ![Confused Confused](http://compsci.ca/v3/images/smiles/icon_confused.gif) |
Tony's programming blog. DWITE - a programming contest. |
|
|
|
![](images/spacer.gif) |
Homer_simpson
![](http://compsci.ca/v3/uploads/user_avatars/18138546704b4d2a3b2e50e.gif)
|
Posted: Fri May 30, 2003 11:04 pm Post subject: (No subject) |
|
|
well he gets the idea.. all he's gotto do is to change the value of phoney mouse coords according to real mouse coords |
|
|
|
|
![](images/spacer.gif) |
Andy
|
Posted: Sat May 31, 2003 11:14 am Post subject: (No subject) |
|
|
but u still see the real mouse tho... |
|
|
|
|
![](images/spacer.gif) |
Tony
![](http://wiki.compsci.ca/images/f/f4/OniTony.gif)
|
|
|
|
![](images/spacer.gif) |
Andy
|
Posted: Sun Jun 01, 2003 2:39 pm Post subject: (No subject) |
|
|
true, but i don't want the user to be able to see the cusor |
|
|
|
|
![](images/spacer.gif) |
|