Jump to content

system24

Active Members
  • Posts

    551
  • Joined

  • Last visited

Profile Information

  • Member Title
    It has been a while.

Recent Profile Visitors

363 profile views

system24's Achievements

Universalist

Universalist (7/7)

1

Reputation

  1. Which Touhou game? I once used my ScreenCapture app to take some screenshots of the game at full screen mode, but for some reason it can't.
  2. http://www.autoitscript.com/forum/index.php?showtopic=81467
  3. Nothing that I can think of. The order of INSTANCE is controlled by the order the windows are activated. Sorry if I don't have to reiterate the obvious.
  4. Does "[LAST]" mean the last active window?
  5. Use Eval() to read the variables. Eval("$x = $" & $name);Example TBH this is not quite a good idea, but I can't find a better alternative except using arrays. Like this. Global $troopstot=2 Global $troop[$troopstot][4] $troop[0][0] = GUICtrlCreateLabel("troop_1",10,10);Creates the first group of troop's data $troop[0][1] = GUICtrlCreateInput("troop_1_2",10,10) $troop[0][2] = GUICtrlCreateInput("troop_1_3",10,10) $troop[0][3] = GUICtrlCreateInput("troop_1_4",10,10) $troop[1][0] = GUICtrlCreateLabel("troop_2",20,10);Creates the 2nd group of troop's data $troop[1][1] = GUICtrlCreateInput("troop_2_2",20,10) $troop[1][2] = GUICtrlCreateInput("troop_2_3",20,10) $troop[1][3] = GUICtrlCreateInput("troop_2_4",20,10) GUICtrlSetOnEvent($Button, "AddTroop") ;On button pressed event adds a group of troop data to the pre-existing ones (incremental) Func AddTroop() $troopstot += 1 ReDim $troop[$troopstot][4] $troop[$troopstot][0] = GUICtrlCreateLabel("troop_2",20,10) $troop[$troopstot][1] = GUICtrlCreateInput("troop_2_2",20,10) $troop[$troopstot][2] = GUICtrlCreateInput("troop_2_3",20,10) $troop[$troopstot][3] = GUICtrlCreateInput("troop_2_4",20,10) EndFunc
  6. Try to put Sleep(100) after EndSelect and see what happens.
  7. You could use Assign() to make such variable, or you could use arrays.
  8. Dim $Date Dim $Time _DateTimeSplit($NewTime, $Date, $Time) $TimeStr = StringFormat("%02i:%02i", $Time[1], $Time[2])
  9. Hmm... this is so wrong. Maybe this. AutoIt syntax for what?
  10. While 1 $hWin = WinGetHandle("MetaStock", "Save changes to Layo") If @error = 1 Then ExitLoop Else WinActivate($hWin) Send("!n") EndIf WEnd
  11. Try If $firm_check = 0 Then... @error only returns 1 if either the first or second parameter is invalid.
  12. Yeah, confusing at best.
  13. So, both char *str and char str[25] are pointer-based strings?
  14. So you can't use pointer-based strings for input. Everytime I do that this happens...
  15. StringRegExp('newdid=104010">City Of Birth<', 'newdid=(\d+)">|(.+)<', 3) Note that I replaced "\w" with ".". "\w" doesn't work as expected.
×
×
  • Create New...