Jump to content

VixinG

Active Members
  • Posts

    105
  • Joined

  • Last visited

Everything posted by VixinG

  1. I'm sorry, your code doesn't work for me in any browser, even IE, that's why I wanted to help. It's just me > Uncaught TypeError: Object #<HTMLTextAreaElement> has no method 'createTextRange' AscW.htm:26 ClipBoard AscW.htm:26 (anonymous function) Regards
  2. I found out the Clipboard copy doesn't work on my browser. Here's the function if you would like to change it: <script> function ClipBoard(){ var text = document.getElementById("holdtext"); window.prompt ("CTRL+C to copy to clipboard:", text.innerText); } </script> And in the document's top right corner, and in the "copytext" element's top right corner: <a href="#" onclick="ClipBoard();"> It opens a prompt with code to copy etc.
  3. I don't know. Yellow is mostly used to highlight stuff, like ctrl+f in browsers. It's also used in SciTE to see current line: caret.line.back=#FFFED8 // au3.properties file Regards
  4. Back to the question: Wikipedia has got a lists and comparison lists of different software. Here's the ss I took about the CHM file makers:
  5. I like this idea, but yellow background and red code is hurting my eyes Default SciTE editor's background color is #F0F4F9, how about it? It helps to see the difference between red and orange. On yellow background it looks the same. Have a look:
  6. @mlipok In my opinion, the best way of learning something is by doing it. I'm not an expert, but I learned everything in my life by doing and failing. When I have an idea, I start with basic code, and then I replace some part of the code with more advanced functions. I have help opened all the time and I read. I add new UDF functions and improve code. Learning a complete set of functions is not as effective as using all of them in an application. Let's say you want to write a Mail client - you can use ALL functions from Function Reference and you will learn more by writing that client, than learning all the functions by translating it's reference and remarks. Believe me, even if you learn all these functions, you will still use F1, unless you're very experienced like Melba23 or others.
  7. I don't find it useful to translate AutoIt to Polish. Too much work and what for? Sure, it's not an easy language, if you're planning to write something serious, but I don't think it's hard to understand it and know how everything works. Putting it altogether and making sure it works is hard, but individually everything is easy. It's really well-written and people are often too lazy to press F1 and that's why they sometimes ask on forums, before they get into manual. If someone really wants to write something using AutoIt, he will find a way to learn functions (which are self-explanatory, like: ControlGetPos, StringIsFloat, WinGetPos, etc.) AutoIt syntax is very intuitional. Hey, I know some stuff is really hard if you look at it for the first time, if you don't know anything yet, but... who starts from the end? If you know basics and can use it together in script, you will understand the hardest functions, by looking on examples or searching another help file, which is THIS forum. There are examples and nice detailed help files everywhere. If you still want to do it, you can of course, but I find it useless. Let me know what do you think. Regards, VixinG
  8. F1 -> AutoIt -> Function Reference -> Graphic and Sound Management... Seems like you missed that part.
  9. I saw a topic where someone had similar problem (couldn't _IEAttach() ) and you told him to try loop it until it successfully attach. It's manually opened IE process from "C:\Program Files (x86)\Internet Explorer\iexplore.exe". It's not maximized. Edit: I uninstalled IE10 and went back to IE9. Everything works now. I can attach without errors. Sorry to bother you.
  10. Great job, I was about to post two possible solutions to this. For $j = 1 To $amount - 1 ;^ here $arr[0][$j-1] = $sAlpha & StringFormat("%03d", $j) Next ; OR For $j = 0 To $amount - 1 $arr[0][$j] = $sAlpha & StringFormat("%03d", $j+1) ;here Next
  11. I found an answer quick, but yeah: What would you think you'd need to change to fix the starting from Col 1 with ABCD001 instead of Col 0?
  12. Yes, I'm always using it for longer names like this. #include <IE.au3> $hWnd = WinGetHandle("[Class:IEFrame]") ConsoleWrite(WinGetTitle($hWnd) & @CRLF) ; shows exact name Do Local $oIE = _IEAttach($hWnd, "HWND") Sleep(500) Until IsObj($oIE) MsgBox(0, "IE URL", _IEPropertyGet($oIE, "locationurl")) Still the same error.
  13. Oh.. I feel terrible now Sorry, I should give him a tip, not a solution.
  14. For $j = 1 To $amount - 1 To start from ABCD001.
  15. Hey guys I tried to attach to currently running Internet Explorer process, but without success. I even looped it, just like DaleHohm said $hWnd = WinGetHandle("Google - Windows Internet Explorer") Do Local $oIE = _IEAttach($hWnd, "HWND") Sleep(500) Until IsObj($oIE) MsgBox(0, "IE URL", _IEPropertyGet($oIE, "locationurl")) Sadly, it can't attach. I'm getting error: --> IE.au3 V2.4-0 Warning from function _IEAttach, $_IEStatus_NoMatch I was working on IE 9 before and couldn't attach, so I installed IE 10, hoping it will resolve this issue, but nope... Have you got any ideas? Would greatly appreciate any help!
  16. Hey I wanted to 'multitask' - register actions in a single window and do the same thing in a different one at the same time. Everything I type should be send to the other window and every mouseclick should be clicked there. This is for educational purposes. No keyloggers and forbidden stuff. I know the rules. I just started and I'm looking for the most efficient way to achieve that. I started with this, but it's not really good idea: #include <Misc.au3> While 1 For $i = 1 To 256 $h = Hex($i,2) If _IsPressed($h) Then ControlSend("[CLASS:Notepad]", "", "Edit1", Chr("0x"&$h)) EndIf Next WEnd It doesn't do what was intended. Are there any similar commands to _IsPressed? Tell me please what functions can I use.
  17. Look at AutoItSetOption() and Opt() in Help files. You are looking for "MouseCoordMode"
  18. It happens only with pixel related functions like pixelgetcolor or pixelsearch etc. They are slow in loop, but it can be because I have Intel HD Graphics 4000 and it's kind of slow, but I have tuned it up to 1600 Mhz and 1024 mb memory. Still pretty slow compared to my old computer.
  19. It didn't help :/ it's a little bit faster after some improvements, but still slower than on my 10-years-old PC. All it does is loop of pixelgetcolors. Can't go further because of that problem.
  20. Hey geniuses ! I'm back with a question, why script working on my old PC with a lot of PixelGetColors (about 25 per second) works flawlessly, where one loop (one run of the script) takes 100ms and on my brand new PC (i5-3570k, 8gb memory, intel hd 4000 graphics) is very slow and it's taking about 850ms? I have Windows 7 64-bit version. I turned off all themes and improved all for best performance, disabled Aero, and still, it doesn't help much, still about 220 ms... When I disable (;) all PixelGetColor functions, it executes fast and nice, doing it in right time, so it's something with GDI+ I believe. Am I wrong? I would like to continue my project on new PC. Can you give me some clues, help, examples how to fix that issue? Thanks a lot VixinG
  21. Okay I got info that it should be done in some other way similar to that: #include './[Includes]/_ProcessCreateRemoteThread.au3' #include './[Includes]/_ProcessFunctions.au3' $pID = WinGetProcess("Application") $hProcess = _ProcessOpen($pID,0x043A,False) $hash = 'A53AF1388A1C1CBA' $address = 0x0093F470 $result = _ProcessCreateRemoteThread($hProcess,$address,$hash,False,0,False) _ProcessCloseHandle($hProcess) MsgBox(0,'Result',$result) But all what I got it's "0". How to get 0x0093F470 function's return?
  22. Hi, I have some trouble with calling a process function: 0093F470 :: GetUIElementByHash($hash) How exactly can I call that function with $hash parameter? $hash is 64 bit My script crashes every time I try to call: $hash = 'A53AF1388A1C1CBA' $result = DllCallAddress("INT", 0x0093F470, "HWND", $hWnd, "INT64", $hash) I know I'm doing something wrong...
  23. From here: I tried with MouseClick() and Zedna's click is really faster. It's so fast, that apps aren't responding if you loop it. I wouldn't try something like that if it wouldn't be faster. Am I wrong?
  24. I don't want to click 100 times a second, just I want to click two buttons checkboxes with minimal delay, and 10ms is too much. Click(155, 465) Click(155, 495) Send("{enter}")That's all
×
×
  • Create New...