Jump to content

PaulDG

Active Members
  • Posts

    35
  • Joined

  • Last visited

PaulDG's Achievements

Seeker

Seeker (1/7)

0

Reputation

  1. Hello The CHECKSUM.au3 is reporting that _CHECKSUM_Init() Does not exist - Should it be _CHECKSUM_Startup() ? Also in Hashesfiletest.au3, This Dim $State = _HashInit(Eval('_HASH_' & $HashName))Is generating this error - "_HashInit() previously called with Const or expression on ByRef param(s)." I fixed with local $fixthis = Eval('_HASH_' & $HashName) Dim $State = _HashInit($fixthis)Appart from that they work a treat - Many thanks Paul
  2. edit - wrong thread
  3. Thanks Valuater, But that isnt quite the soloution i was looking for, its more like a cheat or workaround and also means i cant select the checkbox without actually clicking on the box. Plus it dosnt help with the 20 or so other Gui options not shown in this example. But thanks for the suggestion.
  4. Using the script below i get a dotted line around the checkbox when i select it, without the $GUI_Window1 statement the dotted line is not there when the script is compiled. Can anyone tell me how to do this so that the dotted line is not there when the $GUI_Window1 statement is included. You have to compile the script to see the effect, the dotted line is allways there when its run from the editor. To simlyfy the example i have removed the tabs that normally go in the $GUI_Window1 section, but the problem is there with or without them. Thanks for any help. #include <GuiConstants.au3> Opt("GUIOnEventMode", 1) ;Gui Window Start -> $Main = GuiCreate("heading", 400, 300,200,150) GUISetOnEvent($GUI_EVENT_CLOSE, "doexit") $Title = GuiCtrlCreateLabel("Title", 0, 0, 400, 25, $SS_CENTER) GUISetState(@SW_SHOW) $GUI_Window1 = GUICreate("",380,260,7,25,$WS_CHILD, -1 , $Main) $ProgramOnExit = GUICtrlCreateCheckbox("Select Something", 10, 115, 210, 20) GUISetState(@SW_SHOW) ;Gui Window End -> While 1 Sleep(10) Wend Func DoExit() exit EndFunc
  5. say that again? No Seriously, thanks for taking the time to look at it and provide a great explanation. I understand most of that.....peer So which do think is best, using a 3 at the end or the echo trick? I would guess the echo is better as theres no room for error or confusion in the future. Paul
  6. @JdeB With /k it still dosnt work only now the cmd window dosnt close. I have found that changing the 2 to a 3 at the end allows it to work. Hope that helps I use beta run from within SciTe but i compile from the right click context menu, however i tried all methods and they all fail
  7. Please Look at this. Local $s_source = "C:\Windows\*.*" Local $line = "" Local $foo = Run(@ComSpec & ' /c xcopy "' & $s_source & '" /L /Y', @SystemDir, @SW_SHOW, 2) While Not @error $line &= StdoutRead($foo) WEnd MsgBox(0, "STDOUT read:", $line) When run in SciTe, all is well and the program does as expected. When its compiled there is no output, a cmd windows appears for a split second and then goes away, the msgbox pops up empty. The xcopy line is simplified for this demo, I have tried it with the propper full syntax, including the dest folder and the result is the same. If you change the xcopy command for dir the compiled version works fine. The problem was discovered using beta 87 and is present in beta 89. I think this is also the same issue as is in this thread http://www.autoitscript.com/forum/index.ph...0&hl=StdoutRead I would be greatfull of any help. Thanks
  8. Maybe the problem you are having is because .+ and .* are greedy, they will keep on matching until they cant match anymore. I think "<a.+>" will match all the way to the final > even if there is multiple ">" Also < might be being read as a control try \<
  9. Mcafee VS Pro Version v7.03.6000 (Last Version 7) With todays update(4611) passes this file with no problems.
  10. Does the server log the GUI Chat to a file? maybe AI could parse that file and then react. You would probably have to keep a unique userid so that it could be sure it was coming from you and not someone else. What Game is it? Or if the server has an rcon, AI could interact with that via tcpip...
  11. Thanks ptrex, That is working perfectly. Although I would still like to hear from anyone who knows how to do this via the 2 methods I listed above.
  12. Thanks Unfortunatly that wont work as its IE specific and i need to load the default browser as i dont know which browser is installed on the target pc.
  13. Hi All, I would like to open a new default browser with either the Dll method DllCall("Shell32.dll", "int", "ShellExecute", "hwnd", 0, "str", 'open', "str", $URL, "str", '', "str", @WorkingDir, "int", 1) or the Obj Method $o_URL = ObjCreate("Shell.Application") $o_URL.Open($URL) Both these methods work but reuse an existing window. I have searched for the last hour and not found an answer. Thanks for any help.
  14. Can anyone else shed any light on this?
  15. Hi wiredbits, I think you mis-understood my question, I need to check and uncheck all the children of the current item that has focus, not the current item itself. Thanks
×
×
  • Create New...