Jump to content

Komawoyo

Active Members
  • Posts

    34
  • Joined

  • Last visited

Komawoyo's Achievements

Seeker

Seeker (1/7)

0

Reputation

  1. hello, is it possible to just use the main Dll for OCR, MDIVWCTL.DLL, instead of depending on if you have MS Office 2003/2007 installed? I have the Dll and just dont want to install the component everywhere i go for this feature.
  2. is there an updated version of this script?
  3. Hey, Thankyou. it was much of help
  4. Say i have a webpage loaded, but i only want a section to show up in the GUI instead of seeing the extra "stuff" (banners, sidebars) Example shown Here: http://img291.imageshack.us/my.php?image=example1yx8.jpg
  5. For some reason autoit wont allow me to have the indes section in _GUICtrlListSelectIndex to change before the GUI is loaded up. _GUICtrlListSelectIndex ( $h_listbox, IniRead (@ScriptDir & "\Settings.Ini", "General", "Start", "24"))oÝ÷ Øp¢{^½éð¢¹"~*n¶)Ú½ªâi¹^jëh×6$X = 27 _GUICtrlListSelectIndex ( $h_listbox, $X)
  6. thank you very much
  7. Hi, im trying to set a certain button to load up as disabled. The problem is that i cant get the "Button" to be disabled accordingly to the Ini file. heres a simple code to help you understand what im trying to do. #include <GUIConstants.au3> $Form = GUICreate("Testing", 150, 66, 400, 308) $Button1 = GUICtrlCreateButton("1", 16, 16, 49, 33, 0) $Button2 = GUICtrlCreateButton("2", 85, 15, 49, 33, 0) GUISetState(@SW_SHOW) If IniRead(@ScriptDir&"\Settings.Ini", "General", "LoadList", "") <> "" Then GUICtrlSetState("$Button"&IniRead(@ScriptDir&"\Settings.Ini", "General", "LoadList", ""), $GUI_DISABLE) Else GUICtrlSetState($Button1, $GUI_DISABLE) IniWrite(@ScriptDir&"\Settings.Ini", "General", "LoadList", "1") EndIf While 1 $nMsg = GUIGetMsg() Switch $nMsg Case $GUI_EVENT_CLOSE Exit Case $Button1 GUICtrlSetState($Button1, $GUI_DISABLE) GUICtrlSetState($Button2, $GUI_ENABLE) IniWrite(@ScriptDir&"\Settings.Ini", "General", "LoadList", "1") Case $Button2 GUICtrlSetState($Button1, $GUI_ENABLE) GUICtrlSetState($Button2, $GUI_DISABLE) IniWrite(@ScriptDir&"\Settings.Ini", "General", "LoadList", "2") EndSwitch WEnd
  8. lmao.. ok i know its in the help file...it set up my codes and every single button works fine ....but when i try to send another func while "start" button is still going..it wont work!!
  9. i want to know if i can send other commands while a function is going on the close and minimize button wont work after i hit my "start" button.... i want to learn how to do this because it would also help me find the way to Pause and Unpause while a function is Going ive tried the GUICtrlSetOnEvent but that would work..or i just dont know how to use it..<< haha my code structure is something like this #include <GUIConstants.au3> HotKeySet ("{ESC}", "End") $oIE = ObjCreate ("Shell.Explorer.2") $Form = GUICreate ("Gui", 742, 386, 159, 245, -1) $GuiActiveX = GUICtrlCreateObj ($oIE, 10, 10, 722, 320) $GUI_Button_Start = GUICtrlCreateButton ("Start", 670, 344, 55, 30, 0) GUISetState (@SW_SHOW) $oIE.navigate ("http://www.google.com") While 1 $nMsg = GUIGetMsg () Select Case $nMsg = $GUI_EVENT_CLOSE Exit Case $nMsg = $GUI_EVENT_MINIMIZE GUISetState (@SW_HIDE, $Form) Case $nMsg = $GUI_Button_Start For $X = 1 To 10 MsgBox( 0, "", "") Sleep (2000) Next EndSelect WEnd Func End() Exit EndFunc
  10. ty for your help...i got the refreshing thing i wanted to work...its pretty simple..it just keep getting whats on your desktop to the listbox
  11. Im using _FileListToArray(@DesktopDir) and i want to know if i can filter it so i can only see .txt files in my listview ALSOO!! is there a way to refresh the list every time ( text files will be saved on the desktop from time to time)??
  12. thx for your help, this is exactly what i was looking for
  13. oh no... lolz i just wanted to know how to get the instances like the Autoit Window Tool because the Instances # of a Section in a browser changes everytime but the position is the same...so i would want to know how to obtain the Instances # in a given Coords
  14. Is there a way to get the instances number in a window?? some thing like a funtion so the vars would change depending on the numerical number of the window maybe something like GetInstances()
  15. i just want this to click on a part of a game ..its a button ControlClick("Mozilla Firefox", "", "[iNSTANCE:2]", "Left", 2, 50,200)
×
×
  • Create New...