brutal Posted December 25, 2018 Posted December 25, 2018 (edited) Update: Found the answer...As far as running a single little line of code such as: MsgBox(0, "remotely read!", "hello world!") Yet still haven't figured out how to run something like: Func test() MsgBox(0, "remotely read!", "hello world!") EndFunc From a remote file #include <MsgBoxConstants.au3> #include <INet.au3> $HTMLSource = _INetGetSource('http://example.com/test.txt') Execute($HTMLSource) --- Edited December 27, 2018 by brutal found solution and created more questions
RTFC Posted December 25, 2018 Posted December 25, 2018 Welcome to the forums. For an example of how this could be achieved, you could study the ExeQ(ueue) part of my Pool environment (link in sig). My Contributions and Wrappers Spoiler BitMaskSudokuSolver BuildPartitionTable CodeCrypter CodeScanner DigitalDisplay Eigen4AutoIt FAT Suite HighMem MetaCodeFileLibrary OSgrid Pool RdRand SecondDesktop SimulatedAnnealing Xbase I/O
Nine Posted December 26, 2018 Posted December 26, 2018 23 hours ago, brutal said: $HTMLSource = _INetGetSource('http://example.com/test.txt') Execute($HTMLSource) First _INetGetSource doesn't get the source of a au3 script, it gets the source of a html page. Second Execute will not execute multiple lines of code, it is intended for a single statement So something along those lines would work better InetGet ('http://example.com/test.txt', "MsgBox.au3" , options = $INET_FORCERELOAD ) RunWait (@AutoItExe & " /AutoIt3ExecuteScript " & '"TestMsgBox.au3"') Where TestMsgBox.au3 contains the #include <MsgBox.au3> you just downloaded “They did not know it was impossible, so they did it” ― Mark Twain Spoiler Block all input without UAC Save/Retrieve Images to/from Text Monitor Management (VCP commands) Tool to search in text (au3) files Date Range Picker Virtual Desktop Manager Sudoku Game 2020 Overlapped Named Pipe IPC HotString 2.0 - Hot keys with string x64 Bitwise Operations Multi-keyboards HotKeySet Recursive Array Display Fast and simple WCD IPC Multiple Folders Selector Printer Manager GIF Animation (cached) Debug Messages Monitor UDF Screen Scraping Round Corner GUI UDF Multi-Threading Made Easy Interface Object based on Tag
brutal Posted December 26, 2018 Author Posted December 26, 2018 Nine - You are a Rock Star! Thank you.
Nine Posted December 26, 2018 Posted December 26, 2018 11 minutes ago, brutal said: Nine - You are a Rock Star! Thank you. Glad you like it ! “They did not know it was impossible, so they did it” ― Mark Twain Spoiler Block all input without UAC Save/Retrieve Images to/from Text Monitor Management (VCP commands) Tool to search in text (au3) files Date Range Picker Virtual Desktop Manager Sudoku Game 2020 Overlapped Named Pipe IPC HotString 2.0 - Hot keys with string x64 Bitwise Operations Multi-keyboards HotKeySet Recursive Array Display Fast and simple WCD IPC Multiple Folders Selector Printer Manager GIF Animation (cached) Debug Messages Monitor UDF Screen Scraping Round Corner GUI UDF Multi-Threading Made Easy Interface Object based on Tag
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