Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 10/05/2018 in all areas

  1. The answer is No, so use WinExists() in a loop and build the logic yourself. Jos
    2 points
  2. Jos

    _ie speed

    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
    2 points
  3. 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)
    1 point
  4. You could alway just do a fileexists too, but to break down exactly what is failing is always helpful in logs
    1 point
  5. 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
    1 point
  6. @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
    1 point
  7. 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)
    1 point
  8. junkew

    _ie speed

    my guess is typing speed ;-) which is not there when you set the value Opt("SendKeyDelay", 5)
    1 point
  9. 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
    1 point
  10. caramen

    Hide button

    I a so stupid nvm GUICtrlSetState(-1, $GUI_HIDE)
    1 point
  11. 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:
    1 point
×
×
  • Create New...