au3scr Posted October 10, 2008 Share Posted October 10, 2008 How to count how many items (elements) are in list? .. .. Global $FilesToArray = _FileListToArray(@ScriptDir&"\start", "*.lnk", 1) Global $Shortcuts[$FilesToArray[0] + 1] .. .. Link to comment Share on other sites More sharing options...
martin Posted October 10, 2008 Share Posted October 10, 2008 How to count how many items (elements) are in list? .. .. Global $FilesToArray = _FileListToArray(@ScriptDir&"\start", "*.lnk", 1) Global $Shortcuts[$FilesToArray[0] + 1] .. ..I know this is a bit of a drastic method, but have you considered looking in the help? (Please don't say you haven't got a help file.) Serial port communications UDF Includes functions for binary transmission and reception.printing UDF Useful for graphs, forms, labels, reports etc.Add User Call Tips to SciTE for functions in UDFs not included with AutoIt and for your own scripts.Functions with parameters in OnEvent mode and for Hot Keys One function replaces GuiSetOnEvent, GuiCtrlSetOnEvent and HotKeySet.UDF IsConnected2 for notification of status of connected state of many urls or IPs, without slowing the script. Link to comment Share on other sites More sharing options...
Aceguy Posted October 10, 2008 Share Posted October 10, 2008 the array $filestoarray[0] contain the numberof elements [u]My Projects.[/u]Launcher - not just for games & Apps (Mp3's & Network Files)Mp3 File RenamerMy File Backup UtilityFFXI - Realtime to Vana time Clock 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