Jump to content

Search the Community

Showing results for tags '_word_docfind'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • General
    • Announcements and Site News
    • Administration
  • AutoIt v3
    • AutoIt Help and Support
    • AutoIt Technical Discussion
    • AutoIt Example Scripts
  • Scripting and Development
    • Developer General Discussion
    • Language Specific Discussion
  • IT Administration
    • Operating System Deployment
    • Windows Client
    • Windows Server
    • Office

Categories

  • AutoIt Team
    • Beta
    • MVP
  • AutoIt
    • Automation
    • Databases and web connections
    • Data compression
    • Encryption and hash
    • Games
    • GUI Additions
    • Hardware
    • Information gathering
    • Internet protocol suite
    • Maths
    • Media
    • PDF
    • Security
    • Social Media and other Website API
    • Windows
  • Scripting and Development
  • IT Administration
    • Operating System Deployment
    • Windows Client
    • Windows Server
    • Office

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Member Title


Location


WWW


Interests

Found 2 results

  1. Okay I've hacked down a large program to illustrate the problem I'm having. I'm using the built-in Word UDF (which is great) and am finding a range and then copying it to the clipboard and sticking it in an array for viewing. Then extending the range and again copying it to a clipboard and sticking it into the array. It seems to drop the ranges randomly. I can't figure out what I'm doing wrong (or if there's a better way to get a range into a variable). Run the program with the test file and you'll see entries being dropped (put test file in same directory as the program). Any pointers or help much appreciated. Hacked down program for testing Range extend and copy v3c.au3 Test for Range Copy v1a.docx
  2. Hi all, The below string works if the searched term exists, however if it does not - I don't get an '@error' or '@extended' - the scrip appears to just keep running? Local $result = _Word_DocFind($oDoc, $ComString, 0, Default, True, False, True, True) I can get errors with other combination of parameters but not with the above however only the above does what i need. It seems to be the combination of: $bMatchWildcards $bMatchWholeWord that is does not like if a term can not be matched, as changing one of these allows for an error to be found but then also no matches are found. I seek to create an 'if' statement using the above string so when it finds a match is does one set of things, and if no match is found then it does something else. With out an error being generated i can only do something when a match is found and when a match is not found the script just hangs as does not set and error so as such does not move on? Scratching my head on this one. Thank you in advance. V3.3.14.2
×
×
  • Create New...