Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 07/17/2019 in all areas

  1. Figured, got the same problem, so I decided to go with 1440 x 900 resolution and 100% scaling, now everything works perfectly
    2 points
  2. Like this : '$1${2}0$3' BTW in this particular case, what about StringFormat ?
    2 points
  3. Hi all, just a little script I find useful. Always wanted to have an easy way to copy/mirror a complete folder with some kind of progressbar. Since robocopy is reliable and pre-installed in windows 10, it's the easiest way to achieve a copy of a folder. But there is no gui, the plain dosbox looks ugly... so I came up with this. It's a simple script, some would call it a stupid wrapper. The only interesting part of it is the ability to display progressbars for copied bytes and copied files. The script launches robocopy two times: at the first run, robocopy gets called with the /L Parameter, so it just logs what it WOULD do. So the script gathers the number of files and bytes which have to be processed. After that, robocopy gets called to actually do the job and the logfile is read out and compared to the total amount of files/bytes. Warning: there are two possible modes supported: copy and mirror. For gods and your own sake, if you don't know what "mirror" does, do not use this! Short Explanation: "mirror" will force the destination folder to be an exact copy of the source folder, so if there are files in the destination folder which are not in the source folder, robocopy will kill them without any warning! have fun, Marc robocopy.au3
    1 point
  4. water

    OutlookEX

    Version 1.7.0.1

    10,054 downloads

    Extensive library to control and manipulate Microsoft Outlook. This UDF holds the functions to automate items (folders, mails, contacts ...) in the background. Can be seen like an API. There are other UDFs available to automate Outlook: OutlookEX_GUI: This UDF holds the functions to automate the Outlook GUI. OutlookTools: Allows to import/export contacts and events to VCF/ICS files and much more. Threads: Development - General Help & Support - Example Scripts - Wiki BTW: If you like this UDF please click the "I like this" button. This tells me where to next put my development effort KNOWN BUGS (last changed: 2020-02-09) None
    1 point
  5. I want to thank you @Nine for pointing me in the right direction. Changed when looking for iFrames to this: $bFound = False While $bFound = False $oFrames = _IEFrameGetCollection($o_IE) $iNumFrames = @extended For $i = 0 to ($iNumFrames - 1) $oFrame = _IEFrameGetCollection($o_IE, $i) if $oFrame.name = "j_id53" Then sleep(500) $bFound = True $oSelects = _IETagNameGetCollection($oFrame, "select") ExitLoop EndIf Next sleep(100) WEnd and it works like a charm! (took me so long to respond because after I got this working, other areas were causing me grief so I had to take care of those first)
    1 point
  6. Thanks for answer. btw. There is a saying: The darkest place is under the lantern. I was searching in: https://www.autoitscript.com/autoit3/files/beta/autoit/docs/functions/StringRegExp.htm instead: https://www.autoitscript.com/autoit3/files/beta/autoit/docs/functions/StringRegExpReplace.htm
    1 point
  7. @mLipok So: _Example() Func _Example() Local $sText = '"10.9"' MsgBox(0, '', StringRegExpReplace($sText,'("\d+\.)(\d)(")','$1${2}0$3')) EndFunc Maybe a StringFormat could be more appropriate?
    1 point
  8. 4 possible solutions (or a mix of them) : 1- Loop doing a refresh until you find the frame by name 2- Use frame collection (in a loop or not, with refresh or not) 3- Get previous object and use nextSibling (element or child) to access the iframe 4- Navigate to the src of the iframe in case of cross-domain
    1 point
  9. Found the issue, which was indeed a bug. Please stand by for an updated bundle... CodeScannerCrypter bundle version 2.4 is now released, with many thanks to @Roman for flagging the bug.
    1 point
  10. you can get them to white-list it, I had MS do it online, it's free and fast.
    1 point
  11. Yes, it caught me again tonight. While a VHS tape has been copied to the hard disk, after 3.5 hours (30 minutes before the end) Windows has automatically rebooted after an update. That although activity was present. Thanks Micro scrap. Now I've created this script so it never happens again. Maybe it will help you too. Thanks to @argumentum for this new version. ; Switch off AutoReboot after Windows update ; Author: Exit ( http://www.autoitscript.com/forum/user/45639-exit ) ; Windows Registry Editor Version 5.00 ; [HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU] ; "NoAutoRebootWithLoggedOnUsers"=dword:00000001 #RequireAdmin ; otherwise error 1 Local Const $sRegkeyname = "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU" Local Const $sRegValuename = "NoAutoRebootWithLoggedOnUsers" Local $iAutoReboot = RegRead($sRegkeyname, $sRegValuename) Switch @error Case 0 Case 1, 2, -1 $iAutoReboot = 0 Case Else Exit MsgBox(64 + 262144, Default, "Error " & @error & " reading registry.", 0) EndSwitch If $iAutoReboot = 1 Then MsgBox(64 + 262144, Default, $sRegValuename & " switch was already ON." & @LF & @LF & "No further action required.", 0) Else Local $rc = RegWrite($sRegkeyname, $sRegValuename, "REG_DWORD", 1) If @error Then Exit MsgBox(64 + 262144, Default, "Error " & @error & " writing registry." & @LF & @LF & "#RequireAdmin missing?", 0) MsgBox(64 + 262144, Default, "NoAutoRebootWithLoggedOnUsers switch set ON." & @LF & @LF & "No AutoReboot will occour while you are logged on.", 0) EndIf Previous code in Spoiler.
    1 point
  12. Subz

    RegWrite with Windows 10

    @flaritycat - Although policies no longer work in Windows 10, just for future reference remember to use HKLM for accessing 32-bit keys and HKLM64 for 64-bit keys for example: Local $sHKLM = @OSArch = 'x64' ? 'HKLM64' : 'HKLM' RegWrite($sHKLM & "\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU", "NoAutoUpdate", "REG_DWORD", "0") RegWrite($sHKLM & "\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU", "AUOptions", "REG_DWORD", "2") RegWrite($sHKLM & "\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU", "ScheduledInstallDay", "REG_DWORD", "0") RegWrite($sHKLM & "\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU", "ScheduledInstallTime", "REG_DWORD", "3")
    1 point
  13. #include <Process.au3> #include <IE.au3> $text = "" $oIE = _IECreate("about:blank") WinsetState($oIE,"",@SW_MAXIMIZE) _IENavigate($oIE,"Http://www.yahoo.com/login.jsp") _IELoadWait($oIE) $oForm = _IEFormGetObjByName ($oIE, "login") $loginName = _IEFormElementGetObjByName ($oForm, "username") $loginPass = _IEFormElementGetObjByName ($oForm, "password") If @error Then MsgBox(48,"error",@error) EndIf _IEFormElementSetValue ($loginName, "XXX") _IEFormElementSetValue ($loginPass, "XXX") send("{tab 8}") sleep(1000) send("{Enter}") send("{Enter}") $oIE.visible =0 _IELoadWait($oIE) _IENavigate($oIE, "https://yahoo.com/500?fcf=00B60000004R87z") $text = _IEBodyReadHTML($oIE) $fileName = "C:\test.csv"
    1 point
×
×
  • Create New...