Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 08/29/2019 in all areas

  1. I am not saying you are wrong, just that you need to consider the skill level of the OP .... where often easiest is best, until they know better ... coding is a journey you grow into in stages.
    2 points
  2. The Microsoft Windows Task Scheduler offers a lot of features. The two existing UDFs are a bit "complex" to use and miss help files and examples for each function. Based on a discussion on the german forum we would like to create a new UDF based on the existing "template" UDFs. Which functions do you miss in the existing UDFs? Should there be more examples? Should there be a help file? Should there be a wiki entry explaining the concepts? Which functions should be made easier to use? What else? Basic conditions Only Task Scheduler 2.0 will be supported (>= Windows Vista, Windows Server 2008). The UDF will use COM; neither AT.exe nor SCHTASKS.exe will be used. It will support as many of the objects and parameters as sensible. The UDF should be useable for everyone (beginners and experts) to suit their needs. Completed functions (fully documented including examples) - last changed: 2019-12-03 Planned functions (functions we are working on) - last changed: 2019-10-25 Suggested functions (we need to discuss if they schould be implemented) - last changed: 2019-11-03 Postponed functions (we will discuss this functions when the need arises) - last changed: 2019-09-30
    1 point
  3. TreatJ

    Find Text in Files

    Attached to this post is a Windows 10 Zipped File that contains a Text Finding program. I coded, tested and compiled it on Windows 10 Home / 64-bit OS... I have not tested it on any other version of Windows (ex... Win7, 8.0, 8.1). Will not work on x86 (32-bit). Just download...unzip... and place main folder "TxtFinderV475" on any drive you like... Then just double click on "TxtFinderV475.au3" ... Creating a shortcut to it works very well. I have done alot of debugging but I am not perfect... If anyone finds any issues with it please let me know! Thanks ***** Windows 11 Notepad 11.2302.16.0 now has tabs... I updated my program to work with it.... My latest versions is 5.12.... I also added a "Copy Text" button to the File Viewer window TxtFinderV475.zip TxtFinderV512.zip
    1 point
  4. Are you aware of excel udf where you directly can do a workbook.saveas in right location. Then no need for struggle with gui automation. https://www.autoitscript.com/autoit3/docs/libfunctions/_Excel_BookSaveAs.htm Search for listview and uiautomation and you will find examples. Search also for virtual listview if you have more items then shown on screen.
    1 point
  5. Welcome to the AutoIt forum. Unfortunately you appear to have missed the Forum rules on your way in. Please read them now - particularly the bit about not discussing game automation - and then you will understand why you will get no help and this thread will now be locked. See you soon with a legitimate question I hope. The Moderation team
    1 point
  6. Got it Flag 32 just tells to return the full path. But none of the flags that tells the function what to do is set. So it should be at least 33: 1 (save the item) + 32 (Return the full path)
    1 point
  7. You could try increasing the Sleep time or maybe looping until the _IEAttach succeeds. You could also try launching the website manually and then using _IEAttach to connect with this browser tab. Finally, review the help file for _IEAttach. There are multiple options for the parameter $sMode. If you can't get "url" working, then try one of the others.
    1 point
  8. TheDcoder

    AutoIt Snippets

    I agree @Inpho You may wrap scripting.dictionary like BrewManNH has suggested, you can use these functions as inspiration: _Map_DictObjectToMap _Map_MapToDictObject
    1 point
  9. ? $str = "this is a star * and a backslash \, these are ( parentheses ) and this is NUL" & @crlf $str &= _ "*, \2A" & @CRLF & _ "(, \28" & @CRLF & _ "), \29" & @CRLF & _ "\, \5C" & @CRLF & _ "NUL, \00" $res = StringRegExpReplace(Execute('"' & StringRegExpReplace($str, '(\*|\(|\)|\\(?![[:xdigit:]]{2}))', '" & "\\" & hex(ascw("$1"),2) & "') & '"'), '(NUL)', "\\00") Msgbox(0,"", $res)
    1 point
  10. #Include <Array.au3> #Include <WinAPIEx.au3> Opt('MustDeclareVars', 1) Global $Data = _WinAPI_EnumProcessWindows(ProcessExists('SciTE.exe')) If IsArray($Data) Then _ArrayDisplay($Data, '_WinAPI_EnumProcessWindows') EndIfWinAPIEx.au3
    1 point
×
×
  • Create New...