AlmarM 22 Posted September 7, 2010 Hiya! Using AutoItObject, isn't it possible to update a private variable using "$This._x += 1"? $This = _AutoItObject_Create() _AutoItObject_AddProperty($This, "_x", $ELSCOPE_PRIVATE, $iX) $This._x += 1 MinesweeperA minesweeper game created in autoit, source available._Mouse_UDFAn UDF for registering functions to mouse events, made in pure autoit.2D Hitbox EditorA 2D hitbox editor for quick creation of 2D sphere and rectangle hitboxes. Share this post Link to post Share on other sites
ProgAndy 88 Posted September 7, 2010 No, this is not possible. AutoIt's native object implementation doesn't support it. You have to use this: $This._x = $This._x + 1 *GERMAN* [note: you are not allowed to remove author / modified info from my UDFs]My UDFs:[_SetImageBinaryToCtrl] [_TaskDialog] [AutoItObject] [Animated GIF (GDI+)] [ClipPut for Image] [FreeImage] [GDI32 UDFs] [GDIPlus Progressbar] [Hotkey-Selector] [Multiline Inputbox] [MySQL without ODBC] [RichEdit UDFs] [SpeechAPI Example] [WinHTTP]UDFs included in AutoIt: FTP_Ex (as FTPEx), _WinAPI_SetLayeredWindowAttributes Share this post Link to post Share on other sites
AlmarM 22 Posted September 8, 2010 DOH! Ofcourse. Thank you ^^ MinesweeperA minesweeper game created in autoit, source available._Mouse_UDFAn UDF for registering functions to mouse events, made in pure autoit.2D Hitbox EditorA 2D hitbox editor for quick creation of 2D sphere and rectangle hitboxes. Share this post Link to post Share on other sites