Moderators SmOke_N Posted March 4, 2007 Moderators Share Posted March 4, 2007 (edited) NO sir mouseclickdrag("left",768,548,0,0) almost works...it never loses focus also help me copy 75% of document...I dont think its impossible to select the whole content... Alos by decreasing the mouse speed i was able to copy almost 85-90%.... mouseclickdrag("left",768,548,0,0,90) my idea is somehow get the coordinates when we press END key and Home key...pass this coordiantes to mouseclickdrag.... mouseclickdrag("left',X-end,Y-end,X-Home,Y-home) Anyone can implement this??? And FYI,u can even give negative co-ordiantes for x & y!!! Like mouseclickdrag("left',768,546,-1,-1)Look, just explain why you need it to be mouseclickdrag... it seems so inefficient. Another issue, you say "we"... now you've gone from being a handicapped individual to more than one? Here's a suggestion... And the only one I will give, to show you why I think MouseClickDrag is inefficient for what you are doing. Run this code below by itself:ShellExecute(@ProgramFilesDir & '\AutoIt3\AutoIt3.chm') ShellExecute(@ProgramFilesDir & '\Microsoft Office\OFFICE11\WINWORD.EXE') $sCHMTitle = 'AutoIt Help' $sCHMCtrlID = 'Internet Explorer_Server1' $sDocTitle = 'Document1 - Microsoft Word' $sDocCtrlID = '_WwG1' WinWait($sCHMTitle) WinWait($sDocTitle) _ControlSendSleep($sCHMTitle, '', $sCHMCtrlID, '^a') _ControlSendSleep($sCHMTitle, '', $sCHMCtrlID, '^c') _ControlSendSleep($sDocTitle, '', $sDocCtrlID, '^v') Func _ControlSendSleep($sTitle, $sText, $sCtrlID, $sSend, $iMode = 0) ControlFocus($sTitle, $sText, $sCtrlID) ControlClick($sTitle, $sText, $sCtrlID) ControlSend($sTitle, $sText, $sCtrlID, $sSend, $iMode) Return Sleep(100) EndFunc Although, if this was for my lively hood, I'd take BigDod's advice. Edited March 4, 2007 by SmOke_N Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer. Link to comment Share on other sites More sharing options...
PARRYHOTTER Posted March 4, 2007 Author Share Posted March 4, 2007 (edited) YAh BEERMAN,right click is so simple...i HAVE implemented it... MouseClick("right",220,80) ;Find the position of the select all in the popup menu mouseClick("left",250,130) AND MR.BIGDOG U R WORSE THAN ME...DONT EVEN KNOW HOW TO IMPLEMENT RIGHT CLICK HUH??? Edited March 4, 2007 by PARRYHOTTER Link to comment Share on other sites More sharing options...
Somerset Posted March 4, 2007 Share Posted March 4, 2007 YAh BEERMAN,right click is so simple...i HAVE implemented it... MouseClick("right",220,80) ;Find the position of the select all in the popup menu mouseClick("left",250,130) AND MR.BIGDOG U R WORSE THAN ME...DONT EVEN KNOW HOW TO IMPLEMENT RIGHT CLICK HUH???I am in tears of laughter.... Link to comment Share on other sites More sharing options...
BigDod Posted March 4, 2007 Share Posted March 4, 2007 YAh BEERMAN,right click is so simple...i HAVE implemented it... MouseClick("right",220,80) ;Find the position of the select all in the popup menu mouseClick("left",250,130) AND MR.BIGDOG U R WORSE THAN ME...DONT EVEN KNOW HOW TO IMPLEMENT RIGHT CLICK HUH???If you are going to SHOUT at me at least get my name right. Now you have got what you think you need parhaps you will dissapear. Time you enjoyed wasting is not wasted time ......T.S. Elliot Suspense is worse than disappointment................Robert Burns God help the man who won't help himself, because no-one else will...........My Grandmother Link to comment Share on other sites More sharing options...
PantZ4 Posted March 4, 2007 Share Posted March 4, 2007 Seriously, is your caps lock stucked? Link to comment Share on other sites More sharing options...
PARRYHOTTER Posted March 4, 2007 Author Share Posted March 4, 2007 (edited) Mr.Smoke ,the Code u sent is absolutely Fantastic,Majestic,Superb....but but just a small problem.....Its not Working....For god sake test it in ur system before typing such crap codes... Edited March 4, 2007 by PARRYHOTTER Link to comment Share on other sites More sharing options...
Moderators SmOke_N Posted March 4, 2007 Moderators Share Posted March 4, 2007 (edited) Mr.Smoke ,the Code u sent is absolutely Fantastic,Majestic,Superb....but but just a small problem.....Its not Working....For god sake test it in ur system before typing such crap codes...You're a moron... You don't think I did test it? ... pfft ... sure as hell hope you don't need any real help dip shit. <<< Report that! Edited March 4, 2007 by SmOke_N Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer. Link to comment Share on other sites More sharing options...
Developers Jos Posted March 4, 2007 Developers Share Posted March 4, 2007 For god sake test it in ur system before typing such crap codes...It about time you are going to shut up since you are pissing of a lot of people including me ... SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
BigDod Posted March 4, 2007 Share Posted March 4, 2007 Mr.Smoke ,the Code u sent is absolutely Fantastic,Majestic,Superb....but but just a small problem.....Its not Working....For god sake test it in ur system before typing such crap codes...Seeing as you have now gotten so clever I dont think you will need to come back for anymore help. Time you enjoyed wasting is not wasted time ......T.S. Elliot Suspense is worse than disappointment................Robert Burns God help the man who won't help himself, because no-one else will...........My Grandmother Link to comment Share on other sites More sharing options...
Developers Jos Posted March 4, 2007 Developers Share Posted March 4, 2007 * click * SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
Recommended Posts