I give up when somebody can't be bothered to try and explain himself after being here for 7 years, having posted 600+ questions and 1140+ posts and moreover having been told ample times to be clearer and more explicit. Language can't be the only issue.
Jos
As someone said recently, StringRegExp... everywhere
#Include <Array.au3>
$sys_CONFQ = "POW:AC +2.000000E+01,+3,(@1)"
; change both space and comma in one shot
Msgbox(0,"", StringRegExpReplace($sys_CONFQ, '\s|,', "|"))
; or get the array directly, hey why not ?
$a = StringRegExp($sys_CONFQ, '[^\s,]+', 3)
_ArrayDisplay($a)
Create a loop where you continue until your wait time expires. in the loop, exit if winexist returns true for either window.
Edit: slow typing in mobile
@caramen
WinWait() returns an handle to the requested window, so, you would going to compare logically two handles...
It depends from what you're trying to do
What you want to do is use the result from the first replace in the second one, like this:
$sys_CONFQ = "POW:AC +2.000000E+01,+3,(@1)"
$sr_CONFQ = StringReplace($sys_CONFQ, " ","|")
ConsoleWrite('$sr_CONFQ - '& $sr_CONFQ &@CRLF)
$sr2_CONFQ = StringReplace($sr_CONFQ, ",","|") ;the source string is $sr_CONFQ from the previous replace
ConsoleWrite('$sr2_CONFQ - '& $sr2_CONFQ &@CRLF)
send('your string with # in it',1)
Check the help file.
Much more reliable routes are to use the _ie* functions to set the data...or if that's a gui application: controlcommand or controlsettext
That's fine. Because you have set the workbook to invisible when you open it and you do not make it visible again before saving then it's still invisibile when you open it manually. You have to make it visible again. It it described in the remarks of _Excel_BookOpen: