cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

display search path in wildfire 3.0

SOLVED

Re: display search path in wildfire 3.0

Hi Martin and Jason,

To keep this moving along until Martin is back ... you'll need to try some simple things with AutoIt to understand how to use it.

AutoIT has a function called WinList and an attached example in the help file for it:

#include <Array.au3>


Example()

Func Example()
; Retrieve a list of window handles using a regular expression. The regular expression looks for titles that contain the word SciTE or Internet Explorer.
Local $aWinList = WinList("[REGEXPTITLE:(?i)(.*SciTE.*|.*Internet Explorer.*)]")
_ArrayDisplay($aWinList)
EndFunc ;==>Example

You can copy and paste their example from the help file for WinList into SciTE and run the script from there.

**********

For your needs, you are searching for a window with the word "Active" and "ENGINEER" in the title.

Start AutoIt; it automatically opens a blank page; copy the following and paste it into the AutoIt window:

#include <Array.au3>

Example()

Func Example()
; Retrieve a list of window handles using a regular expression. The regular expression looks for titles that contain the word Active and ENGINEER.
Local $aWinList = WinList("[REGEXPTITLE:(?i)(.*Active.*&.*ENGINEER.*)]")
_ArrayDisplay($aWinList)
EndFunc ;==>Example

I'm rusty with regex, but I think this will work; in regex a "." matches any character and "*" matches multiples of the preceding character.

You run the script from Tools/Run; it automatically saves before it runs. I'm away from my AutoIt install, but tonight I can get better descriptions.

Re: display search path in wildfire 3.0

Got to the computer with AutoIt; to run the script it's under the AutoIt menu Tools/Go. (Run is from VBA.)

Before it can run the script needs to be saved with a ".au3" suffix.

I hope you can give this a try, because a lot of things are so much easier with a decent scripting tool available.

Re: display search path in wildfire 3.0

Re: display search path in wildfire 3.0

Jason,

you can download and use my script.

Good luck

Martin Hanak


Martin Hanák

View solution in original post

Highlighted

Re: display search path in wildfire 3.0

that worked, thanks Martin

Re: display search path in wildfire 3.0

Hello to all,

I have created version of the script for Creo Parametric 2.0 for Joe Grant.

Martin Hanak


Martin Hanák
Announcements
LiveWorx Call For Papers Happening Now!