Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 07/30/2021 in all areas

  1. As the help for _ArrayAdd() says:
    2 points
  2. Loc, Sorry to hear that. We will still be here when you are released. M23
    2 points
  3. Nice remark ajag #include <Array.au3> GLOBAL $GROUP = INIReadSection(@ScriptDir & "\config.ini", "GROUP") _ArrayDisplay($GROUP) $GROUP[0][0] = _ArrayAdd($GROUP, "X|") $GROUP[0][0] = _ArrayAdd($GROUP, "Y|") _ArrayDisplay($GROUP)
    1 point
  4. Nope What exactly did you use for search criteria? Did you try Googling for "woocommerce bulk add products"? P.S. Not sure why you would even consider ImageSearch UDF for this task. 🙄
    1 point
  5. [Update]Ported everything over to my workstation & it's using 35% of my 64 threads with 16 PP(parallel processors)! I am processing data that usually takes 3-4 hours on my laptop in 10 minutes!
    1 point
  6. It matters to some people. Anybody that answers questions with custom code must have a reason for the effort: Some may do it for the likes, Some say they do it for the thanks, Some claim they do it as a personal challenge, and Some will tell you they do it just to help out someone in need. But I say many do it to be judged on their solution amongst their peers. This explains why a desperate sounding post regarding Send() or WinActive() might languish for days with just a few replies, yet a tasty RegEx problem will get 10 replies in the first hour
    1 point
  7. You would need to update the first array item using something like: $GROUP[0][0] = Ubound($GROUP) - 1 Or you can use Ubound for looping For $i = 1 To Ubound($GROUP) - 1 ConsoleWrite($GROUP[$i][0] & @CRLF) Next
    1 point
  8. Melba23

    Change color multiple labels

    Loc, Try this: #include <GUIConstantsEx.au3> #include <StaticConstants.au3> ; Arrays to hold table ControlIDs and states Global $aTables[5], $aState[5] ; Array of required colours Global $aColours[3] = [0x0000FF, 0xFF0000, 0xFFFFFF] $hGUI = GUICreate("Test", 500, 500) GUISetBkColor(0xC4C4C4) ; Create the labels usign an algorithm For $i = 0 To 4 $aTables[$i] = GUICtrlCreateLabel($i + 1, ($i * 100) + 5, 5, 90, 90, BitOr($SS_NOTIFY, $SS_CENTER, $SS_CENTERIMAGE)) GUICtrlSetFont($aTables[$i], 24, 800) ; Ste intial colour GUICtrlSetColor($aTables[$i], 0xFF8000) GUICtrlSetBkColor($aTables[$i], $aColours[0]) Next GUISetState() While 1 $iMsg = GUIGetMsg() Switch $iMsg Case $GUI_EVENT_CLOSE Exit EndSwitch ; Look for a table being clicked For $i = 0 To 4 If $iMsg = $aTables[$i] Then ; Increase table state - using Mod automatically resets to 0 when required $aState[$i] = Mod($aState[$i] + 1, 3) ; Now set table tot he correct colour GUICtrlSetBkColor($aTables[$i], $aColours[$aState[$i]]) ; No point in looking further ExitLoop EndIf Next WEnd How does that look? M23
    1 point
  9. Use: SetProxySettings hresult(int;wstr;wstr) Edit: line above will need you pass direct string $sProxyList and $sProxyBypassList. if you want to keep using the structure as parameters. Use: SetProxySettings hresult(int;struct*;struct*); Saludos
    1 point
  10. for $i = 0 to 36 assign("n" & $i , $i) Next for $i = 0 to 36 ConsoleWrite(eval("n" & $i ) & @CRLF) Next
    1 point
  11. RafaelGioffi, I suggest using an array to store those variables - reading the Arrays tutorial in the Wiki will give you the idea. M23
    1 point
  12. Loc

    Change color multiple labels

    I'm currently quarantined due to the corona virus so I don't have a PC to try 😰 Thank you M23
    0 points
×
×
  • Create New...