caramen Posted October 23, 2014 Share Posted October 23, 2014 I got this script expandcollapse popup#include <MsgBoxConstants.au3> #include <ButtonConstants.au3> #include <EditConstants.au3> #include <GUIConstantsEx.au3> #include <ListViewConstants.au3> #include <ButtonConstants.au3> #include <WindowsConstants.au3> #include <GuiListView.au3> #include <File.au3> Opt("GUIOnEventMode", 1) Global $Console = GUICreate("Console", 200, 200) Global $Var01 = 01 Global $ConsoleArea = GUICtrlCreateListView("", 10,10 , 180, 180,$LVS_LIST,$LVS_EX_FULLROWSELECT) GUISetState(@SW_SHOW, $Console) While 1 Message01 () WEnd Func Message01 () Local $iTimeout = 10 Sleep (300) $Var01 = $Var01 + 1 GUICtrlCreateListViewItem ("Numero de la variable = "& $Var01, $ConsoleArea) _GUICtrlListView_AddItem($ConsoleArea,"Numero de la variable = "& $Var01) EndFunc Help 1 I whould like to know How can i change the scale (left , right ) to a scale (up, down) Help 2 How can i keep focus on last line ? Damn i tryed so much thing and i cant get what i want ! My video tutorials : ( In construction ) || My Discord : https://discord.gg/S9AnwHw How to Ask Help || UIAutomation From Junkew || WebDriver From Danp2 || And Water's UDFs in the Quote Spoiler Water's UDFs:Active Directory (NEW 2018-10-19 - Version 1.4.10.0) - Download - General Help & Support - Example Scripts - WikiOutlookEX (2018-10-31 - Version 1.3.4.1) - Download - General Help & Support - Example Scripts - WikiExcelChart (2017-07-21 - Version 0.4.0.1) - Download - General Help & Support - Example ScriptsPowerPoint (2017-06-06 - Version 0.0.5.0) - Download - General Help & SupportExcel - Example Scripts - WikiWord - Wiki Tutorials:ADO - Wiki Link to comment Share on other sites More sharing options...
Danyfirex Posted October 23, 2014 Share Posted October 23, 2014 I don't got what you mean. Saludos Danysys.com AutoIt... UDFs: VirusTotal API 2.0 UDF - libZPlay UDF - Apps: Guitar Tab Tester - VirusTotal Hash Checker Examples: Text-to-Speech ISpVoice Interface - Get installed applications - Enable/Disable Network connection PrintHookProc - WINTRUST - Mute Microphone Level - Get Connected NetWorks - Create NetWork Connection ShortCut Link to comment Share on other sites More sharing options...
caramen Posted October 23, 2014 Author Share Posted October 23, 2014 (edited) ANSWER 1 I was getting confused becose of one thing i did not put a name into my function : Global $ConsoleArea = GUICtrlCreateListView("", 10,10 , 180, 180,$LVS_LIST,$LVS_EX_FULLROWSELECT) It is working like this :(so i can see the colum (cant without name )) Global $ConsoleArea = GUICtrlCreateListView("Console ", 10,10 , 180, 180,$LVS_LIST,$LVS_EX_FULLROWSELECT) About the Question 2 : I will explaine better : The list is making one item after one Value = 1 Value = 2 Value = 3 Value = 4 Value = 5 Value = 6 Value = 7 Value = 8 etc... When the value 10 is coming i cant see it i need to scroll the windows down I whould like to see the last item added without scrolling, it is possible ? EDIT : Danyfirex (Nyuuuuuuuuu! ) Edited October 23, 2014 by caramen My video tutorials : ( In construction ) || My Discord : https://discord.gg/S9AnwHw How to Ask Help || UIAutomation From Junkew || WebDriver From Danp2 || And Water's UDFs in the Quote Spoiler Water's UDFs:Active Directory (NEW 2018-10-19 - Version 1.4.10.0) - Download - General Help & Support - Example Scripts - WikiOutlookEX (2018-10-31 - Version 1.3.4.1) - Download - General Help & Support - Example Scripts - WikiExcelChart (2017-07-21 - Version 0.4.0.1) - Download - General Help & Support - Example ScriptsPowerPoint (2017-06-06 - Version 0.0.5.0) - Download - General Help & SupportExcel - Example Scripts - WikiWord - Wiki Tutorials:ADO - Wiki Link to comment Share on other sites More sharing options...
Danyfirex Posted October 23, 2014 Share Posted October 23, 2014 use _GUICtrlListView_Scroll Saludos Danysys.com AutoIt... UDFs: VirusTotal API 2.0 UDF - libZPlay UDF - Apps: Guitar Tab Tester - VirusTotal Hash Checker Examples: Text-to-Speech ISpVoice Interface - Get installed applications - Enable/Disable Network connection PrintHookProc - WINTRUST - Mute Microphone Level - Get Connected NetWorks - Create NetWork Connection ShortCut Link to comment Share on other sites More sharing options...
Solution Zedna Posted October 23, 2014 Solution Share Posted October 23, 2014 (edited) Help 2 How can i keep focus on last line ? Solution: _GUICtrlListView_EnsureVisible($ConsoleArea, _GUICtrlListView_GetItemCount($ConsoleArea)-1) ; scroll to the end of ListView Edited October 23, 2014 by Zedna caramen 1 Resources UDF ResourcesEx UDF AutoIt Forum Search Link to comment Share on other sites More sharing options...
caramen Posted October 23, 2014 Author Share Posted October 23, 2014 (edited) thx both solution is working but last one is much apreciated Thx to both of you guys Edited October 23, 2014 by caramen My video tutorials : ( In construction ) || My Discord : https://discord.gg/S9AnwHw How to Ask Help || UIAutomation From Junkew || WebDriver From Danp2 || And Water's UDFs in the Quote Spoiler Water's UDFs:Active Directory (NEW 2018-10-19 - Version 1.4.10.0) - Download - General Help & Support - Example Scripts - WikiOutlookEX (2018-10-31 - Version 1.3.4.1) - Download - General Help & Support - Example Scripts - WikiExcelChart (2017-07-21 - Version 0.4.0.1) - Download - General Help & Support - Example ScriptsPowerPoint (2017-06-06 - Version 0.0.5.0) - Download - General Help & SupportExcel - Example Scripts - WikiWord - Wiki Tutorials:ADO - Wiki Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now