Jump to content

eleblanc

Members
  • Posts

    6
  • Joined

  • Last visited

eleblanc's Achievements

Seeker

Seeker (1/7)

0

Reputation

  1. Sorry but i'll need more explanation to understand your exemple, Do i need Opt and MsgBox in my exemple? What is REGEXPTITLE? is ? the wildcard? if so will replacing * with ? in my exemple work?
  2. Can i use wildcard, here section of the script WinWait,NR2003 WinSetTitle,NR2003, ,NRrs%numrs% WinMinimize,NR2003rs%numrs% Could this work WinWait,NR* WinSetTitle,NR*, ,NRrs%numrs% WinMinimize,NR*rs%numrs% My issue is that the window could be NR2003 or NR"something else"
  3. I have a script i've done a few years back with winwait, is there any way to specify more then one name. For exemple Winwait,test1 or test2.
  4. Awsome, thanks Btw i didn't receive email notification for you post, is this fonction working on the forum?
  5. I have many scripts with version 2.6, here is a run command i use. Run, C:\\folder\\folder\\program.exe -ko"0:communications:net_server_port:59700",, Has you can see the option for program.exe uses "" So i haven't been able to use the new autoit V3 because of this? anywork around this? When i use version 3 with this line i get a error Run (C:\folder\folder\program.exe -ko"0:communications:net_server_port:59700", "",) The error Run (C:\folder\folder\program.exe -ko"0^ERROR
  6. Hi all, I've been using script to lunch different instance of the same application simply renamed, server1.exe,server2.exe,server3.exe,server4.exe, etc. Is there any know issue when running autoit 2.64 on windows 2003. I was running the script on windows 2000 for more then one year without issue. I have upgraded to a faster server running 2003 and here is the part i am having trouble with; run, C:\\racingservers\\Program\\StartNR2003.exe %numrs%\",, min WinWaitActive, NR2003 WinSetTitle,NR2003, ,NR2003rs%numrs% Now with the above, the application would open and close quickly and never get rename until i click on it on the menu bar, then it would settitle and script would continu. Seem like this new server simply minimize the windows to fast for the winwaitactive. So i modified the script like below, run, C:\\racingservers\\Program\\StartNR2003.exe %numrs%\" WinWaitActive, NR2003 WinSetTitle,NR2003, ,NR2003rs%numrs% WinMinimize,NR2003rs%numrs% I tested this and seemed to work ok. But when user started lunching there application i went on the server and i had a bunch of instance/windows still named NR2003 and not renamed correctly. And that caused the next instance lunch to simply rename wrong windows and create havoc on the window/instance naming. I am questioning if i really need winwaitactive, it has been a long time since i did this. Need help here. Thanks Eric
×
×
  • Create New...