Jump to content

Tony4219

Members
  • Posts

    9
  • Joined

  • Last visited

Everything posted by Tony4219

    Unable to d/l Services.au3 Every time I click Download, get different random name where "fLmvaZn6" is shown, but nothing is saved. C:\Users\Tony\Downloads\fLmvaZn6.txt.part could not be saved, because the source file could not be read. Try again later, or contact the server administrator.
  1. Thanks for posting this. I haven't been able to get plaintext out of the RichEdit control ... yet. This full example (WORKS!) is helping me to understand that my apparent problem is involving 'encoding'. The snippets I have found so far didn't work for me.
  2. I'm still using Win10. For me, it only needs this one line, compiled from AU3 to EXE to toggle Numlock when run: Send("{NUMLOCK}")
    I just spent a few hours trying to make the original and older Yashied files to work. Unsuccessfully. I even found Yashied's ver 1.1 at Github and downloaded everything I could there, only get it to compile but bomb out when running the EXE compiled with 32bit AutoIt 33145. Tired of searching for more missing UDFs when I somehow stumbled onto a link to THIS. Whew. THANK YOU Rated 5 just because the compiled x64 works "out of the box" and RUNS. It's been a long day. I really wanted x64, but would settle for x32. I don't know how I'll be using this but I have had difficulty getting info with the standard AutoIT Info , about windows (for automation purposes) made with QT, Google, and other non-MSFT non-"special MSFT System stuff". This app seems to have a lot more detail about Windows and Controls. Tony4219
  3. Thanks llewxam for your suggestions here. I was trying to automate Win10 Defender/Windows Security. AsAdmin, I could use autoIT to launch it, close it, move it but NOTHING worked to click on the controls inside the window, including all combinations of ControlClick to locations on the window. I had read windows UIAutomation was the likely problem and had forgotten about SendKeys. My goal was to automate the separate key presses to turn off RealTimeProtection VERY OFTEN, since it now [2024] randomly turns itself back on, sometimes only minutes later. The following opens the Defender window, navigates to the section showing the RTP setting, shrinks the window, and moves to the right lower corner, so I can see if RTP is on or not. The on/off slider is always in view, mainly so I can turn RTP off with one click. My screen resolution is 1600x900 for those WinMove settings Run(@ComSpec & " /c start windowsdefender: ") $hwnd = WinWaitActive('Windows Security') WinActivate($hwnd) WinSetState('Windows Security', "", @SW_MAXIMIZE) Sleep(2000) ;============ found \/ If $hwnd > 0 then WinActivate($hwnd) Send("{TAB 4}") Send("{SPACE}") Sleep(1000) ; Wait to see what happened. REDUCE ALL SLEEPS ONCE THIS WORKS Send("{TAB 5}") Send("{SPACE}") Sleep(2000) WinMove("Windows Security", "", 1460, 476, 50, 50, 1) EndIf ;============= found /\
  4. I know this is an old topic, but for HOURS now, I tried unsuccessfully to get autoIT to launch osk.exe in Win10. ABSOLUTELY NOTHING worked. The feedback in the DOS prompt, when using autoIT, was usually something like "there is no such file as C:\Windows\system32\osk.exe". Yet, there it was, and it worked if I ran from WinExplorer or even if I used a cmd prompt. Thanks Jos!! for the explanation and an autoIT example that will (haven't tried it yet) finally work.
  5. Thanks to TheSaint and Jokky !!! For the last 2-3 days I have been running around in coding circles. I too, wanted to monitor download progress by checking file size repeatedly. I too, noticed that WinExplorer does not refresh itself, so that didn't work. What I did notice was that if I manually checked the file's Properties, I could see the correct, current size. But even then, WinExplorer did not refresh itself even tho I had righclicked the actual file inside the WinExplorer window! Wasted LOTS of time trying to find a way to make WinExplorer refresh itself and trying to check file Properties. Luckily I found this 7 year old discussion of FileBuffers needing refreshing. But you need Handle to the actual file to do that. Again, thanks for showing me how to do both. Tony4219
  6. Thank you JohnOne!! I have been searching for a way to add a Pause to a working script I've been improving upon. All the ones I have run across here and other places were just Functions or used keyboard hotkeys that would probably interfere with other running apps. I doomscrolled and TADA! it was the last one posted here in 2015: a system tray version of Pause. Tested your example ... WORKS!
  7. feedback: I was finally able to get GimageX 2.1.1 to work in Win10PESE x64. I followed your Help info to place parts of the ADK in the same folder with GimageX itself (on the X: partition of X/Y usbstick. I used the Win10 ADK, since this is for Win10PESE preboot environment. I don't know if it helped or not but I added wofadk.sys to these: wimgapi.dll wimmount.sys wimmountadksetupamd64.exe wimprovider.dll wimserv.exe imagex.exe You do have to run "wimmountadksetupamd64.exe /install" each new session. You absolutely have to use a newly created, virgin, folder as the mountpoint each time. It WORKS! I was able to mount a WIM, modify it, Capture a new WIM and tested it ok. I don't know why Unmounting leaves the files behind or how it knows a preexisting folder is somehow 'dirty' but that must be due to Windows 10. On a Windows 10 computer with ADK installed the SAME thing happens: Unmounting leaves the files behind, and you cannot juse just any old empty folder but must create a new one each time. [in Win7PESE x64, with GimageX, older version, I can use the same mount point over and over] The Win7PESE script was written by someone else and had references to wimfltr, which is not a separate item in the Win10 ADK that I can find, BUT IF YOU TRY TO RENAME THE ORIGINAL WIM WITHOUT REBOOTING YOU GET A MESSAGE THAT WIMFLTR V 2 EXTRACTOR IS USING THE FILE.] Thanks! Tony4219
×
×
  • Create New...