I'm writing a VBScript that is trying to turn on AutoRefresh Window on a file at
index(2).

    Set obj = newEditor()
    obj.assignEditorByIndex(2)
    obj.activate()
    runPSPadAction "aAutoRefresh"

When I run this instead of toggling the AutoRefresh icon for the file at
index(2), the AutoRefresh icon toggles on the last file I used the Window >>
Autorefresh Window menu item on.  

Is there anyway to get the focus correctly on index(2) before I execute the
runPSPadAction "aAutoRefresh" command? Thanks  

PSPad version 4.5.3 [2298]

-- 
<http://forum.pspad.com/read.php?2,52257,52257>
PSPad freeware editor http://www.pspad.com

Odpovedet emailem