Jump to content

sir

Active Members
  • Posts

    27
  • Joined

  • Last visited

sir's Achievements

Seeker

Seeker (1/7)

0

Reputation

  1. Thank you very much.
  2. I want to create a radio button with tooltip, ie. when the mouse is over the radio item, it popups tooltip. Can I use it with GUICtrlCreateRadio?
  3. it load only file name with zeros size, i.e., when i open the website it show that the files are uploaded but all of them have size = 0. This should be becoz script itself or becoz the host?
  4. I have using script to upload to FTP host writen by w0uter http://www.autoitscript.com/forum/index.php?showtopic=12473. My problem is that it load only file name with zeros size, ie, when i open the website it show that the files are upload but all of them have size = 0. This should be becoz script itself or becoz the host?
  5. This topics is similar to the one i post before(My autoit script not work in some computer) but here is for more advanced script. I have writen an autoit script with many tast and functions (now almost 10000 lines) so i will not post it. One of its function work well with my PC at university. But it not work well with my laptop at home. both of them are XP. Not work well means, some times it not work. Normally it work first time when i called this function but for the second called or later it does not work(even i close the script process and rerun it) unless i restart my laptop. This function deal with dll "user32". Does the problem come from my laptop dll? If so how can i solve it. If not what should be possible reason?
  6. Now it work again! I think it is becoz of firefox tab. Thank you everyone! However, i will post the new topic about "My autoit script not work in some computer" but different script. Please help me again ^/\^
  7. thank you very much now i m with the computer that used to work. Now it not work here too. I dont know why: i change the code to Opt("WinTitleMatchMode", 2) HotKeySet("{Esc}", "Terminate") $i=0 $loop=0 ToolTIp('ControlClick(" My Brute", "", "[CLASS:MozillaWindowClass; INSTANCE:6]") [Stop by Ctrl+{F12}] # of click='&$i&'/'&$loop,0,50) While 1 $loop+=1 If WinExists(" My Brute") Then $clicked=ControlClick("My Brute", "", "[CLASS:MozillaWindowClass; INSTANCE:6]") $i+=1 Sleep(5000) EndIf EndIf ToolTIp('ControlClick("My Brute", "", "[CLASS:MozillaWindowClass; INSTANCE:6]") [Stop by Ctrl+{F12}] # of click='&$i&'/'&$loop,0,50) sleep(1000) WEnd Func Terminate() ToolTip("") Exit 0 EndFunc Now the $clicked=ControlClick() always return 0. I have checke the control instance with "autoit windows info", it still show something like this: >>>> Window <<<< Title: ballkun My Brute - Mozilla Firefox Class: MozillaUIWindowClass Position: -4, -4 Size: 1288, 968 Style: 0x15CF0000 ExStyle: 0x00000100 Handle: 0x005718A0 >>>> Control <<<< Class: MozillaWindowClass Instance: 6 ClassnameNN: MozillaWindowClass6 Advanced (Class): [CLASS:MozillaWindowClass; INSTANCE:6] ID: Text: Position: 537, 452 what is the problem now?
  8. Sorry my english is not good.OK, "does not work in my laptop" means the script show that it have click the button (becoz the counter is incremented) but in fact nothing is click. i also face the problem with other scripts, but those scripts are very long so i show only this simple script. thank you.
  9. Actually this code ( and other) is work well in all computers except one of my laptop. I just show this code to tell that it is simple. for this code the counter $i is increment (that means the control is click), but in fact nothing is click thank you
  10. Actually i faced with this problem before but just ignore it, now i face with it again. i have writen many autoitscript, and i use it many place but in some computer it not work. the following is simple example script: Opt("WinTitleMatchMode", 2) HotKeySet("^{F12}", "Terminate") $i=0 ToolTIp('ControlClick(" Windows", "", "[CLASS:MozillaWindowClass; INSTANCE:6]") [Stop by Ctrl+{F12}]',0,50) While 1 If WinExists(" Windows") Then ControlClick(" My Brute", "", "[CLASS:MozillaWindowClass; INSTANCE:6]") $i+=1 ToolTIp('ControlClick(" Windows", "", "[CLASS:MozillaWindowClass; INSTANCE:6]") [Stop by Ctrl+{F12}] [no of click='&$i&']',0,50) ;[CLASS:MozillaWindowClass; INSTANCE:6] ;Sleep(5000) Sleep(10000) EndIf sleep(1000) WEnd Func Terminate() ToolTip("") Exit 0 EndFunc This script seem to work it this PC too but actually nothing is done. Could anyone tell what is the possible cause?
  11. Yes i have try this before. it works. but how can i use "1" key to do something like draging a file, i.e. a click is held down for a while before release.
  12. For example, how can i define function that when i press "1" on keyboard, the pregram will treat it as same as I click left mouse.
  13. how to let start program just after wake up from hibernate?
  14. I forgot the un-register hotkey Anyway, thank you very much
×
×
  • Create New...