Jump to content

ReaImDown

Active Members
  • Posts

    517
  • Joined

  • Last visited

Everything posted by ReaImDown

  1. $DefaultFolder = "C:\Program Files\" $DownloadLine = "DownloadFolder" now it'd work EDIT: to check if you've declared something correctly, use a msgbox $DefaultFolder = "C:\Program Files\" $DownloadLine = "DownloadFolder" $test = $DefaultFolder $ $DownloadLine msgbox(0,"",$test) and see what pops up ^.^
  2. cheers, tyvm... all I needed to add was a scrolling bar (vertical) and it works like a charm... appreciated GUICtrlCreateEdit(FileRead($File),20,120,460,140,BitOR(0x0040,0x0004,0x0800,0x00200000))
  3. removing the 0x00100000; that does stop the scrolling, but doesn't do word wrap.
  4. ^100% correct
  5. I have an edit box and its as follows: $eula = GUICtrlCreateEdit(FileRead($file), 20, 120, 460, 140m 2048 + 64 + 128 + 0x00200000 + 0x00100000) just curious how to make it automatically do "Word Wrap" because as is... it scrolls both up and down as well as left and right... I would like to eliminate the left & right scrolling. ty in advance.
  6. problem solved... I added in a SEND cmd so I can get a better grasp of what was happening... the AdLibRegister of 10ms was too low, it needed to be longer... Global $Width = 0, $Height = 0 HotKeySet("{END}", "Escape") AdlibRegister("StayPut", 50) while 1 $Width = Random(1,@DesktopWidth) $Height = Random(1,@DesktopHeight) Send($Width & " " & $Height & "{ENTER}") mousemove($Width,$Height) Sleep(5000) WEnd Func StayPut() MouseMove($Width,$Height) EndFunc Func Escape() Exit EndFunc Results:
  7. I am writing a script out of sheer boredom... but its not working properly (go figure) I want the mouse to move to a position, and hold that position for 5 seconds, then move, hold that position for 5 seconds... etc. it only moves once (the initial time) - thanks in advance Global $Width = 0, $Height = 0 HotKeySet("{END}", "Escape") AdlibRegister("StayPut", 10) while 1 $Width = Random(1,@DesktopWidth) $Height = Random(1,@DesktopHeight) mousemove($Width,$Height) Sleep(5000) WEnd Func StayPut() MouseMove($Width,$Height) EndFunc Func Escape() Exit EndFunc
  8. longest way of doing it right... is changing the hex code's from 0x000000 to 0xffffff one pixel @ a time so 1st all the pixels will be 0x000000 then all will be 0x000000 accept the bottom right will be 0x000001 etc. edit ie. like a binary counter
  9. gotchya, so I will need to write a new script to execute the other script...or just let it slide w/o any admin rights....thank you
  10. must of missed that -.-' sorry... is there any way of doing this w/e #RequireAdmin... I dont want the script in question to require admin... but I need the second script to.
  11. am trying to make 1 program execute another...ONLY IF the account is an admin account....if not, I dont want it to execute the other program, and give the user notice. I do believe uac is disabled... but either way.... if IsAdmin() then msgbox(0,"","") should give me the message box because I am an admin.
  12. I use vista on an admin acc.... and this doesnt give me the message box If IsAdmin() Then MsgBox(0, "", "Admin rights detected") but the actual code I am working with is: If $Pass = $Password Then If Not IsAdmin() Then MsgBox(0, "Problem...", "The settings cannot open because you are not a computer administrator...") endscript() Else ShellExecute($Location & "Settings.exe") endscript() EndIf Else Run(@AutoItExe & ' /AutoIt3ExecuteLine "MsgBox(48, ''Incorrect Password!'', ''An incorrect password was used!'' & @CRLF & ''The program will continue to run.'')"') EndIf which always gives the message "The settings cannot open because you are not a computer administrator..."
  13. I use vista on an admin acc.... and this doesnt give me the message box If IsAdmin() Then MsgBox(0, "", "Admin rights detected")
  14. is there a way to figure out whats going through kernal32.dll? when a is pressed and held you see "aaaaaaaaaaaaaaaa" but there is a lag between the 1st...and second "a" then it zooms along...is there a way to find out the length of time "a" was held down for and the result? ie "aaaaaaaaaaaa" 2 seconds
  15. bump - any vista users having this problem?
  16. InetGet ( "URL" [,"filename" [, reload [, background]]] )
  17. ESCAPE should stop it... not enter....
  18. well, you can use registry...text files...or hotkeys (but keep in mind, you would need a) to constantly check for a change in the text file or registry.
  19. that would be the slower way of doing it, is there anything quicker?
  20. is there any other way?
  21. why does this not trim right? #include<misc.au3> $file = FileOpen("testing.txt",1) while 1 if _IsPressed("08") then StringTrimRight($file,1);backspace if _IsPressed("5a") Then;Z FileClose($file) Exit EndIf WEnd
  22. StringTrimRight() would work, but it would take too long to process...anything alittle faster?
  23. sorry, by using backspace
  24. same sort of question, but, how would you go about erasing 1 letter (backspace) in a text document
  25. it will be used on both computers I have...xp (works fine) vista (not so much) dont know why, can anyone else check?
×
×
  • Create New...