Search the Community
Showing results for tags 'lua script'.
Win32 API GetOpenFileName using the function with lua. Can I open a file dialog box in the folder I am in with lua. FileOpenDialog ('Open a Text File', @ScriptDir ... and such. $FileOpenDialog = FileOpenDialog('Open a Text File', @ScriptDir, 'Text Files (*.txt)') I'm looking for a command like this FileOpenDialog = GetOpenFileName("Open a Text File", "txt\n*.txt", @ScriptDir)
Hello, I've read a article about lua functions here: https://debian-administration.org/article/264/Embedding_a_scripting_language_inside_your_C/C_code There are two ways of include lua scripts to your AutoIt code. 1. Run lua functions by Autoit. 2. Register Autoit function and run as lua. It's even possible to apply second way to AutoIt? As we can see on example there a few functions to make it possible. It's a lua file save as average.lua avg, sum = average(10, 20, 30, 40, 50) print("The average is ", avg) print("The sum is ", s