Jump to content

Recommended Posts

Posted

UrlDownloadToFile, http://google.com, text.sh
FileRead, A, test.sh
FileDelete, test.sh
IfInString, A, %Code%
{
 GuiControl, , TEXT, success
 Gui, Font, cGreen
 GuiControl, Font, TEXT
 GuiControl, Enable, S
}
Else
{
 GuiControl, , TEXT, fail
 Gui, Font, c4B4B4B
 GuiControl, Font, TEXT
}
GuiControl, Enable, HDC
Return

 

Please give me a hint to study...

 

Posted

Posting AHK code in the AutoIt forum.....not good. Here is a hint - go to the AutoHotKey forum and post your code there.....

​sorry...

Not easy to convert.

  • Moderators
Posted

Hi, qwer7824, welcome to the forum. If you're looking to convert the code, I would look at the following in the help file:

InetGet
FileRead
FileDelete
StringInStr

 

"Profanity is the last vestige of the feeble mind. For the man who cannot express himself forcibly through intellect must do so through shock and awe" - Spencer W. Kimball

How to get your question answered on this forum!

Posted

Just to be complete: if you installed the full AutoIt package, the helpfile is available from the Scite editor by placing the cursor on a command (in a saved file!) and pressing F1. 
Or, alternatively, look here: https://www.autoitscript.com/autoit3/docs/ (though doing AutoIt from the full package Scite editor is recommended).

Another command that you'll need to convert is GUICtrlSetColor. Like every other one, that help file also has a working example to get you started.

Good luck!

Roses are FF0000, violets are 0000FF... All my base are belong to you.

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...