Dudewana Posted November 4, 2016 Share Posted November 4, 2016 I can't find a way to launch an ''_ArrayDisplayed'' file. $files = _FileListToArray(@UserProfileDir, "*.*", 1) _ArrayDisplay($files) I want the selected file to be openned) the same way as if i double clicked it (with a button or double click). Any way I can do this? Thanks for help i'm a beginner. Link to comment Share on other sites More sharing options...
orbs Posted November 4, 2016 Share Posted November 4, 2016 @Dudewana, welcome to AutoIt and to the forum. _ArrayDisplay was meant to help you debug your code. if you want to use it as a general-purpose listing tool, then look inside the function, see how it's built, and write a customized version for your needs. an easier approach might be to build your own GUI with a List control - look a the help for GUICtrlCreateList(). then populate the list with the files you found with _FileListToArray(), and ShellExecute a list entry upon click, or double-click. Dudewana 1 Signature - my forum contributions: Spoiler UDF: LFN - support for long file names (over 260 characters) InputImpose - impose valid characters in an input control TimeConvert - convert UTC to/from local time and/or reformat the string representation AMF - accept multiple files from Windows Explorer context menu DateDuration - literal description of the difference between given dates Apps: Touch - set the "modified" timestamp of a file to current time Show For Files - tray menu to show/hide files extensions, hidden & system files, and selection checkboxes SPDiff - Single-Pane Text Diff Link to comment Share on other sites More sharing options...
Dudewana Posted November 4, 2016 Author Share Posted November 4, 2016 Thank you for your super fast reply orbs I'll take a look at this. I just want to make a simple frontend for my emulators and roms and make it easier to launch them. If i'm not able to do so I might code it in html. Tha Link to comment Share on other sites More sharing options...
Dudewana Posted November 4, 2016 Author Share Posted November 4, 2016 Thanks again ** sorry didn't figured out how to edit my post 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