dipic Posted August 19, 2007 Share Posted August 19, 2007 Hi all, I'm new of AutoHotKey & AutoIt and I try to learn them... can somebody help me?First excuse me for my english...I want to go with the cursor in the bottom right corner, and move the cursor to left... I read some example and can have system variables but this are viewed as strings and not as number (for my use, I need they are numbers) ... this is my script:SysGet, MonitorCount, MonitorCountSysGet, MonitorPrimary, MonitorPrimaryLoop, %MonitorCount%{ SysGet, MonitorName, MonitorName, %A_Index% SysGet, Monitor, Monitor, %A_Index% SysGet, MonitorWorkArea, MonitorWorkArea, %A_Index%(%MonitorWorkAreaTop% work)`nRight:`t%MonitorRight% (%MonitorWorkAreaRight% work)`nBottom:`t%MonitorBottom% (%MonitorWorkAreaBottom% work)};WinWait, Program Manager, IfWinNotActive, Program Manager, , WinActivate, Program Manager, WinWaitActive, Program Manager, MouseClick, left, %MonitorRight%, %MonitorBottom%Sleep, 100;$X = %MonitorRight%$Y = %MonitorBottom%colonna = %$X%Loop{ if a_index > 25 break colonna = colonna - %a_index% MouseMove, %colonna%, $Y, 10, -L}ExitApp;my variable "colonna" is viewed as string and not as a number so in the loop the cursor start to move from column 1.Thanks for any help Link to comment Share on other sites More sharing options...
Zedna Posted August 19, 2007 Share Posted August 19, 2007 This is Autoit forum and not AutoHotkey forum!If you are new to Autoit, please read the Helpfile, there are all basic informations.If you will have some problems with your AU3 scripts feell free to go here and post your question. Resources UDF ResourcesEx UDF AutoIt Forum Search Link to comment Share on other sites More sharing options...
dipic Posted August 20, 2007 Author Share Posted August 20, 2007 Excuse me ... I think there will be the same thing... can somebody give me the same code for au3? Thanks Link to comment Share on other sites More sharing options...
PsaltyDS Posted August 20, 2007 Share Posted August 20, 2007 Excuse me ... I think there will be the same thing...can somebody give me the same code for au3?ThanksI you really must have someone do it for you, see the Rent-A-Coder link in my sig.This site is more about learning to do it yourself. Read the help file that comes with AutoIt, and run the simple tutorials in it to learn the syntax (which is completely different from AutoHotKey). If you get stuck post your AutoIt code here and you'll get lots of help.Welcome to AutoIt! Valuater's AutoIt 1-2-3, Class... Is now in Session!For those who want somebody to write the script for them: RentACoder"Any technology distinguishable from magic is insufficiently advanced." -- Geek's corollary to Clarke's law Link to comment Share on other sites More sharing options...
herewasplato Posted August 20, 2007 Share Posted August 20, 2007 Excuse me ... I think there will be the same thing...can somebody give me the same code for au3?ThanksAHK was very much like version 2 of AutoIt.AutoIt's syntax changed when version 3 was released.There is a support forum for version 2 of AutoIt:http://www.autoitscript.com/forum/index.php?showforum=5...but you will probably not get anyone to write the code for you there either.Welcome to the forums. [size="1"][font="Arial"].[u].[/u][/font][/size] 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