Jump to content

yellowpower

Active Members
  • Posts

    35
  • Joined

  • Last visited

Everything posted by yellowpower

  1. Hihi Guys, I am an absolute beginner and trying to install Tesseract (Screen OCR) UDF. ITseems like we need to install it in @ProgramFilesDir & "\tesseract\tesseract.exe" could anyone tell what exactly it that? I dont understand it?!
  2. Hi guys, I am trying to get the name of the active window, any advice? Also, how could we do something like what the AutoIT window Info tool does? to point at a window and get the information. Which are the funcs to use.... Many thanks Y
  3. Ah, I think I get it. Many thanks!
  4. Hihi thanks a lot! I tried copy your code and compile it but the following msg was given >"C:\Program Files (x86)\AutoIt3\SciTE\AutoIt3Wrapper\AutoIt3Wrapper.exe" /run /prod /ErrorStdOut /in "C:UsersAllenDesktopTool.au3" /UserParams +>14:06:13 Starting AutoIt3Wrapper v.2.1.0.8 Environment(Language:0409 Keyboard:00000809 OS:WIN_7/ CPU:X64 OS:X64) >Running AU3Check (1.54.22.0) from:C:Program Files (x86)AutoIt3 +>14:06:13 AU3Check ended.rc:0 >Running:(3.3.8.1):C:Program Files (x86)AutoIt3autoit3.exe "C:UsersAllenDesktopTool.au3" Any advice? Many thanks Allen
  5. Hi guys, Anyone know how to get the name/other info of the active/chosen window? Thanks Y
  6. Oh, think I have found it using $ES_MULTILINE+$ES_READONLY Thanks
  7. Hi Guys, I am trying to get a text box that will only use for output ( input will be forbidden), is that possible? Also, if I use a GUICtrlCreateEdit, is there a way to limit the number of characters to be input/output in the box? Many thanks Y
  8. Hi Guys, Is there any tool to track the mouse position and pixel color that the cursor points to? Many thanks Y
  9. Thanks let me try that!Yeh, I am new to this, so just thought may be quicker to learn the syntax by looking at the codes generated by the recorder.
  10. Hihi, Yeh, I open a new file, name it as a au3 file, then press alt+f6, but nothing happens. The following msg is given immediately. >"C:\Program Files (x86)\AutoIt3\SciTE\AutoIt3Wrapper\AutoIt3Wrapper.exe" /AU3Record >Exit code: 0 Time: 0.325 looks like Recorder is open an then immediately closed? Any idea?
  11. That's very helpful VixinG! let me try it Thanks
  12. Yeh exactly! I want to start an external program, wait till finished loading, and when the program knows that it had finish loading, it will carry out some other operation.Tat posssible?
  13. Hi guys, Some really basic questions: If I want to open an external program, wait do something else after I HAVE opened it, how should i do that? Is there any function to return me a value when the program had finish loading? Many thanks
  14. Hi guys, I am trying to use AU3Recorder but cannot open it. I press F5 and the following msg is shown in the output panel >"C:\Program Files (x86)\AutoIt3\SciTE\AutoIt3Wrapper\AutoIt3Wrapper.exe" /run /prod /ErrorStdOut /in "C:\Users\Allen\Desktop\MyTrials.au3" /UserParams +>20:54:44 Starting AutoIt3Wrapper v.2.1.0.8 Environment(Language:0409 Keyboard:00000809 OS:WIN_7/ CPU:X64 OS:X64) >Running AU3Check (1.54.22.0) from:C:\Program Files (x86)\AutoIt3 +>20:54:44 AU3Check ended.rc:0 >Running:(3.3.8.1):C:\Program Files (x86)\AutoIt3\autoit3.exe "C:\Users\Allen\Desktop\MyTrials.au3" +>20:54:46 AutoIT3.exe ended.rc:0 >Exit code: 0 Time: 4.245 Pls advise. Thanks
  15. Thanks for the advice.
  16. if i enter a long paragrahp of text in an Edit, it will not change line unless I start a new paragraph. Is there a way to force it the change line once it reaches a certain length?
  17. After I perform the action of copying "^C" is it possible to save the content into a variable e.g. send("^C") $mycopy= those that are copied thanks
  18. hey,if I have a string which contains more than one paragrahp of text, How could I check the position of the end of a paragraph? $contentOfInput1 = GUICtrlRead($input1) for $i= 1 to stringlen($contentOfInput1) if stringmid($contentOfInput1,$i,1)= ? then position of end of paragrahp is $i endif next
  19. #include <ButtonConstants.au3> #include <EditConstants.au3> #include <GUIConstantsEx.au3> #include <WindowsConstants.au3> #Region ### START Koda GUI section ### Form= Opt("GUIOnEventMode", 1) ; Change to OnEvent mode $Form1 = GUICreate("CodeConverter", 625, 443, 261, 124) $Edit1 = GUICtrlCreateEdit("", 120, 16, 425, 169) GUICtrlSetData(-1, "Source") $Edit2 = GUICtrlCreateEdit("", 120, 208, 425, 185) GUICtrlSetData(-1, "Ouput") $Button1 = GUICtrlCreateButton("Generate", 16, 16, 89, 25, $WS_GROUP) GUICtrlSetOnEvent($Button1, "CodeConverting") GUISetOnEvent($GUI_EVENT_CLOSE, "CLOSEClicked") GUISetState(@SW_SHOW) #EndRegion ### END Koda GUI section ### While 1 Sleep(1000) ; Idle around WEnd Func CodeConverting() ;code to read data in Edit1 and write data on Edit2 EndFunc Func CLOSEClicked() Exit EndFunc
  20. I have created a GUI with two Edit and one button, when the button is pressed, I would like to have my code start reading the data in one Edit and write data into another Edit. Is this possible? Could someone show me the syntax for reading and writing data onto Edit? Thanks
  21. Hi all, When I have multiple windows, e.g. MSN chats, and all of them minimise. When a new msg is received, it flashes but not activated. Is there a way to identify the right window, restoring its size and activate it? thanks in advance.
  22. we need to know the title of a window before we can apply a WinActive ( "title" [, "text"] ) or winactivate function on it. Is there a way to extract/obtain the title of any window? thanks
×
×
  • Create New...