| View previous topic :: View next topic |
| Author |
Message |
BeansRgood Newbie
Joined: 10 Jul 2004 Posts: 8
|
Posted: Sat Jul 10, 2004 10:10 pm Post subject: Mouse Cooridinates |
|
|
| I can't find the mouse coordinates, i tried window spy and entered the cooridinates it showed but it moved the mouse somewhere else, help |
|
| Back to top |
|
 |
Vic D'Elfant Past Contributor


Joined: 26 Jun 2002 Posts: 673 Location: The Netherlands
|
Posted: Sat Jul 10, 2004 10:16 pm Post subject: |
|
|
First of all, welcome to the forums
It's a bit difficult to answer your question with this amount information... perhaps you could post the script you're trying to execute or be a bit more specific about what you're trying to achieve?
Vic _________________ phpBB Development Team |
|
| Back to top |
|
 |
BeansRgood Newbie
Joined: 10 Jul 2004 Posts: 8
|
Posted: Sat Jul 10, 2004 10:21 pm Post subject: |
|
|
lol i am trying to make a joke program make em think it's going to do something weird with their mouse cursor but go straight to the shutdown button...anywayz..
| Code: | DIALOG CREATE,Mouse Galore - By ,-1,0,203,70
DIALOG ADD,BUTTON,Start,33,22,160,24,Start
DIALOG ADD,TEXT,Top,8,21,,,Click to start MOUSE SURPRISES
DIALOG SHOW
:Evloop
wait event
goto @event()
:StartBUTTON
WINDOW CLICK,Mouse Galore - By ,-643,600,0,0
WINDOW CLICK,Mouse Galore - By ,-125,390,0,0
goto evloop
:TopCLICK
goto evloop
:Close
exit
|
Edited by Vic; now it uses the [code:1:32c6b328f3] tag to increase readability and to add the nice 'Download this script' feature 
Last edited by BeansRgood on Sat Jul 10, 2004 10:25 pm; edited 1 time in total |
|
| Back to top |
|
 |
BeansRgood Newbie
Joined: 10 Jul 2004 Posts: 8
|
Posted: Sat Jul 10, 2004 10:22 pm Post subject: |
|
|
| i got the coordinates right after guessing it doesn't open the turn off computer options thoguh :/ |
|
| Back to top |
|
 |
BeansRgood Newbie
Joined: 10 Jul 2004 Posts: 8
|
Posted: Sat Jul 10, 2004 10:24 pm Post subject: |
|
|
lol i am new to vds and yes i noticed the turn off commands in the help file... |
|
| Back to top |
|
 |
FreezingFire Admin Team

Joined: 23 Jun 2002 Posts: 3508
|
Posted: Sun Jul 11, 2004 1:21 am Post subject: |
|
|
If you're just trying to shut down the computer, why not use the
EXITWIN command?  _________________ FreezingFire
VDSWORLD.com
Site Admin Team |
|
| Back to top |
|
 |
BeansRgood Newbie
Joined: 10 Jul 2004 Posts: 8
|
Posted: Sun Jul 11, 2004 7:14 am Post subject: |
|
|
| I tried, i tried exitwin force but it does nothing... |
|
| Back to top |
|
 |
BeansRgood Newbie
Joined: 10 Jul 2004 Posts: 8
|
Posted: Sun Jul 11, 2004 7:15 am Post subject: |
|
|
Maybe i am doing it wrong? i just set under the button
|
|
| Back to top |
|
 |
Vic D'Elfant Past Contributor


Joined: 26 Jun 2002 Posts: 673 Location: The Netherlands
|
Posted: Sun Jul 11, 2004 9:29 am Post subject: |
|
|
The syntax looks ok to me though... what version of Windows are you using?
Vic _________________ phpBB Development Team |
|
| Back to top |
|
 |
FreezingFire Admin Team

Joined: 23 Jun 2002 Posts: 3508
|
Posted: Sun Jul 11, 2004 3:28 pm Post subject: |
|
|
Also, are you sure the script is actually executing the command (ex. is
the button assigned to the correct label?)  _________________ FreezingFire
VDSWORLD.com
Site Admin Team |
|
| Back to top |
|
 |
BeansRgood Newbie
Joined: 10 Jul 2004 Posts: 8
|
Posted: Sun Jul 11, 2004 4:09 pm Post subject: |
|
|
| Yea i am pretty sure it's on the right label, i am using Windows XP Pro SP1 |
|
| Back to top |
|
 |
BeansRgood Newbie
Joined: 10 Jul 2004 Posts: 8
|
Posted: Thu Jul 15, 2004 3:44 am Post subject: |
|
|
| hehe ok, you don't have to help me :/ |
|
| Back to top |
|
 |
Vic D'Elfant Past Contributor


Joined: 26 Jun 2002 Posts: 673 Location: The Netherlands
|
Posted: Thu Jul 15, 2004 8:49 am Post subject: |
|
|
Of course all of us want to help you, but I we also just don't know what could go wrong. The EXITWIN command has never failed at my pc nor did it at any other pc I tried my programs at.
Vic _________________ phpBB Development Team |
|
| Back to top |
|
 |
FreezingFire Admin Team

Joined: 23 Jun 2002 Posts: 3508
|
Posted: Thu Jul 15, 2004 1:33 pm Post subject: |
|
|
You can try using the corresponding function in the VDSDLL3  _________________ FreezingFire
VDSWORLD.com
Site Admin Team |
|
| Back to top |
|
 |
|