Jump to content

apr1985

Members
  • Posts

    6
  • Joined

  • Last visited

apr1985's Achievements

Seeker

Seeker (1/7)

0

Reputation

  1. Cool, that seems like a sensible compromise, untill Win8 is completly supported Cheers Adam
  2. Hello. I am testing my scripts on Windows 8 Release Preview (which I am guessing isnt supported by AutoIT yet). Most of it all seems to be working fine except for Run and RunWait commands used to kick off an exe. I can get the exe to start by doing RunWait(@comspec & "/c c:\prog\CLI.exe" , "c:\windows\system32", @SW_SHOW) but not RunWait("c:\prog\CLI.exe") - Which works on all other OS's. Has anyone else come across this problem and found a way to get it working? Cheers Adam
  3. Cheers for the reply. What I am looking at matching is the path down the tree. i.e. My Computer|Coll on 'viper' (V:)|Box1 or Computer|Coll (viper) (V:)|Box1 Usually to match either of these paths the standard wildcard character * could be used *Computer|Coll * (V:)|Box1 but this doesnt seem to work in autoit I want to be match either path and check Box1 with a single ControlTreeView command.
  4. Hello. I am looking to check some boxes on a TreeView, and was wondering if there is away to pattern match in the path, as this is different on different OS's. e.g. Pre-Vista tree: -My Computer -Coll on 'viper' (V:\) -Box1 Post Vista tree: -Computer -Coll (\\viper) (V:\) -Box1 At the moment I have to detect the OS and then run a different ControlTreeView command, e.g. ControlTreeView("Title","text","[CLASS:SysTreeView32; INSTANCE:1]","check","My Computer|Coll on 'viper' (V:\)|Box1") or ControlTreeView("Title","text","[CLASS:SysTreeView32; INSTANCE:1]","check","Computer|Coll (\\viper) (V:\)|Box1") Is there away fo me to be able to pattern match so that I can just write a single command which will work in either case? e.g. ControlTreeView("Title","text","[CLASS:SysTreeView32; INSTANCE:1]","check","*Computer|Coll * viper * (V:\)|Box1") I am currently using Opt("WinTitleMatchMode", 2). Any help appriciated. Adam
  5. Thanks very much!! That works perfectly (although I changed it to an msgbox rather than console text ). Those winapi functions will come in handy as well. Cheers Adam
  6. Hello The application that I am testing occasionally flashes up what I think is an MSI window for a split second, but I dont know the name of it. Is there a function in AutoIt that would sit and wait and when this rogue window flashes up would send an alert message containing some useful info on the window, or even do a print screen while the box is up?? I know usually I would use a winwaitactive command but as I say I dont know the name or any details of the window Cheers for any help Adam
×
×
  • Create New...