Jump to content

Search the Community

Showing results for tags 'assignment of range'.

  • 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 1 result

  1. Okay this is likely due to my not properly understanding objects. I'm using _Word_DocRangeSet to extend a range (in this case to the end of a line). The issue I've encountered is that extending one range seems to affect another range. It may be that an object can't be assigned or equated. In any event the program and test file (place in the same directory) illustrate the issue. Test 1 - shows the documentation for _Word_DocRangeSet correctly shows how the range is extended and the assigned result is extended. No problem here just part of my learning. Test 2 - like Test 1 but no assignment of the result from _Word_DocRangeSet is needed. Again correct and my learning. Test 3 - here is where the issue is. After an assignment to a new object the old one seems to be affected by _Word_DocRangeSet. This I don't understand (perhaps the assignment is really a namespace pool and points to the same structure like aliases <-- wild guess). Test 4 - shows that using .Select can extend the range and leave the original range alone. Any hints/pointers on what's going on appreciated. Thanks WordRangeTesting v1c.au3 Test for WordRangeTesting v1c.docx
×
×
  • Create New...