53 posts in this topic
Toggle a form state
Any ideas on how I can have a combo box change it's guistate. Below is my code:
$comboBox = GUICtrlCreateCombo("-- Select Type --", 280, 104, 145, 25, BitOR($CBS_DROPDOWN, $CBS_AUTOHSCROLL, $WS_DISABLED)) GUICtrlSetData(-1, "One|Two|Three|Four") So basically, once I click on a button, the $combo box's state will change from being disabled to being active again.
Thanks in advance.
scite buttons under the menu too small
Hi guys, wow, it's been awhile since I was last on this forum. Anyway, I've loaded up AutoIt and opened scite to a nice surprise,
Any way to get those buttons under the menu a bit bigger?
Can SciTE display the last lines that have been previously modified?
I hope this is the right place to ask. I have a somewhat large AutoIt script that I occasionally expand on, but I often forget what I last changed in the script, so it would be nice to have a visual distinction. In SciTE, Is it possible to see which lines of the script have been modified lately?
I had the idea, for example, that lines that have been modified lately could be in shades of green, while lines that haven't been modified in a while don't have any color overlay.
I've attached an example of what I mean.
Does something like this exist for the SciTE/AutoIT editor?
Help with copying and pasting into variables
The code below is intended to copy and paste highlighted text but I've been running into trouble.
The Text is already highlighted via the Mouseclicks and I've tried selecting text myself and then running code but I've no such luck. The issue is with the send("^C") part of the code I believe because ClipGet() works when I manually copy something. Any help is appreciated.
#include <Array.au3> #include <MsgBoxConstants.au3> Sleep(1000) MouseClick("left",1162, 497,2,1) send("^C") sleep(2000) $Time = ClipGet() MsgBox(1,"",$Time,0)
Update : I've just ran Send("^c") on its own in blank page in autoit to see what it entered and the photo below shows just that.
Further obfuscation with Au3Stripper
I was thinking that assigning native function names to variables could further obfuscate the legibility of the code.
$a = MsgBox $a(0, "Title", "Test") Maybe this could be added to Au3Stripper?