assuming the html source is in a file called for example HTML_Table.html, you can use these 4 lines of code to extract the data from the table and have it returned in an array:
#include <_HtmlTable2Array.au3> ; <-- Get this here: https://www.autoitscript.com/forum/topic/167679-read-data-from-html-tables-from-raw-html-source/
Local $Source = FileRead("html_Table.html")
Local $aTableData = _HtmlTableWriteToArray($Source)
_ArrayDisplay($aTableData)
no MouseMove(1827,105,3,$hWnd) move nothing is wrong, give the error: MouseMove() [built-in] called with wrong number of args.
if it helps
If WinExists("[CLASS:Notepad]") Then
Local $aPos = WinGetPos("[CLASS:Notepad]")
;[0]=X position ; [1]=Y position ; [2]=Width ; [3]=Height
MouseMove($aPos[0] + 50, $aPos[1] + 50)
EndIf
@mLipok,
I have uploaded a separate zip file with an update for the LUA files for testing. Could you download that and use this version for generating the log files in case there is still an issue?
For anyone who follows this project:
Would it be useful (or worth my time) to generate a help file for this app?
Does anyone have a suggestion for an easy way to create help files? That is new for me.
Edit: I think I found a decent solution using Microsoft HTML Help Workshop
BTW: Please add meaningful titles to your threads. "a question" doesn't tell us much. You will get more replies when users see in the title what your problem is.
Replace your line 68 (which miss one double quote sign):
FileCopy($sfldr1 & "\license.dat", "C:\ & @MyDocumentsDir & "\Documents\VirtualDJ\", 1)
with this:
Local Const $sTargetFolder = @MyDocumentsDir & '\VirtualDJ\'
FileCopy($sfldr1 & '\license.dat', $sTargetFolder, 1)
💡 Notice: Now the macro @MyDocumentsDir is in use (better one 👍).
Best regards
Sven
Neat feature alert! Check the first post for the latest update v1.0.0-beta5. You can now add code/events to buttons, labels, etc.. by using the right-click context menu or double-clicking on the control. This works for both Msg mode as well as OnEvent mode. The extra code is added dynamically only for those controls who have event code assigned, so you won't have tons of extra and unneeded bloat in the generated code.
ADDED: Add events to controls (right-click menu or double click)
ADDED: Add options to code preview window for convenience
FIXED: Could not 'undo' drawing of new control
Example of a MsgBox assigned to $Button_1 in Msg mode:
And here is the generated code for OnEvent mode:
I'm thinking about possibly adding a default code input, such as ConsoleWrite("Event: Button_1" & @CRLF) since most people would be using this for prototyping and not full-on coding.