sshrum Posted November 1, 2017 Share Posted November 1, 2017 I setup my scripts to pull the string data from the script stored online to do version evals. For some reason, the following isn't working: #include <inet.au3> ConsoleWrite(_InetGetSource('http://www.shrum.net/sean/code/hotrkeyz/hotrkeyz.au3'), TRUE) ConsoleWrite(_InetGetSource('http://www.shrum.net/sean/code/hotrkeyz/hotrkeyz.au3.txt'), TRUE) I did a txt extension just in case the server was having issues sending out the au3 file. This used to work in the past. If I do the helpfile sample code to autoitscript.com, it works. TIA Sean Shrum :: http://www.shrum.net All my published AU3-based apps and utilities 'Make it idiot-proof, and someone will make a better idiot' Link to comment Share on other sites More sharing options...
gruntydatsun Posted November 1, 2017 Share Posted November 1, 2017 both of those links are 404 and consolewrite only takes one argument, your brackets are a bit out of whack there. this: ConsoleWrite(_InetGetSource('http://www.shrum.net/sean/code/hotrkeyz/hotrkeyz.au3'), TRUE) should be this: ConsoleWrite(_InetGetSource('http://www.shrum.net/sean/code/hotrkeyz/hotrkeyz.au3', TRUE)) Link to comment Share on other sites More sharing options...
sshrum Posted November 1, 2017 Author Share Posted November 1, 2017 (edited) URL to folder is: http://shrum.net/sean/code/hotrkeys/ The two files are there. Chrome treats a .au3 file as a download (?), and the .au3.txt as a text file. They shouldn't report 404. EDIT: This has to be a server side issue...I'm getting the same flaky behavior just trying to access the files thru browsers. Edited November 1, 2017 by sshrum Sean Shrum :: http://www.shrum.net All my published AU3-based apps and utilities 'Make it idiot-proof, and someone will make a better idiot' Link to comment Share on other sites More sharing options...
sshrum Posted November 1, 2017 Author Share Posted November 1, 2017 F me. s <> z hotrkeys <> hotrkeyz Newb move. Sean Shrum :: http://www.shrum.net All my published AU3-based apps and utilities 'Make it idiot-proof, and someone will make a better idiot' Link to comment Share on other sites More sharing options...
gruntydatsun Posted November 1, 2017 Share Posted November 1, 2017 is it working now? this works on my end... #include <Inet.au3> ConsoleWrite(_InetGetSource('http://shrum.net/sean/code/hotrkeyz/hotrkeyz.au3')) 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