flower Posted December 7, 2007 Share Posted December 7, 2007 Used a script in Windows XP with no problem, copy over to another computer with Vista and it doesn't work. This is happening with 2 different scripts. it's just a simple script that hits the space bar every few minutes and another that moves the mouse around. This is not my exact script, I copied an example from another page. WinWaitActive("Whatever program I want here") HotKeySet("{PAUSE}", "Start") HotKeySet("!{PAUSE}","Quit") TogglePause() func Start() HotKeySet("{PAUSE}") HotKeySet("{PAUSE}", "TogglePause") ToolTip('AntiAFK started.',0,0) While 1 Send("{SPACE}") Sleep(Random(120000,240000)) WEnd EndFunc Func TogglePause() ToolTip('AntiAFK Stopped.',0,0) HotKeySet("{PAUSE}") HotKeySet("{PAUSE}", "Start") While 1 sleep(100) WEnd EndFunc func Quit() Exit EndFunc Link to comment Share on other sites More sharing options...
Kerros Posted December 7, 2007 Share Posted December 7, 2007 I have a large number of scripts that work with both XP and Vista, I havn't run into a problem with a script failing on vista that works on xp. The one thing that I do that may be different from most is I turn off user account control. Kerros===============================================================How to learn scripting: Figure out enough to be dangerous, then ask for assistance. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now