Custom Query (3910 matches)
Results (337 - 339 of 3910)
| Ticket | Resolution | Summary | Owner | Reporter |
|---|---|---|---|---|
| #338 | Rejected | Run scripts with no need to save them | ||
| Description |
I think it's a good idea to insert a "Run" voice in SciTe which runs the script even if it's not saved I wrote an AutoIt script which does the work, but it would be much better in LUA, even because the script I wrote always comes up with a message from SciTe asking me to save the file. By clicking NO the script starts. I came uo with this: #include <file.au3>
$file = _TempFile(@TempDir,"~",".au3")
$oldclip = ClipGet()
FileOpen($file,2)
FileWrite($file,_ReadScite())
FileClose($file)
$AutoItProdexePath = RegRead("HKEY_LOCAL_MACHINE\SOFTWARE\AutoIt v3\AutoIt", "InstallDir")
$AutoItexePath = $AutoItProdexePath
Run('"' & $AutoItexePath & '\AutoIt3.exe "' & ' "' & $file & '"')
FileDelete($file)
ClipPut($oldclip)
Func _ReadScite()
Opt("WinTitleMatchMode", 4)
; Read text from SciTE (already open)
WinWait("[CLASS:SciTEWindow; INSTANCE:1]")
$hSciTE = WinGetHandle("[CLASS:SciTEWindow; INSTANCE:1]")
WinActivate($hSciTE)
WinWaitActive($hSciTE)
ControlFocus($hSciTE, "", "[CLASS:Scintilla; INSTANCE:1]")
ControlSend($hSciTE, "", "[CLASS:Scintilla; INSTANCE:1]", "^a")
ControlSend($hSciTE, "", "[CLASS:Scintilla; INSTANCE:1]", "^c")
ControlSend($hSciTE, "", "[CLASS:Scintilla; INSTANCE:1]", "{left}")
return ClipGet()
EndFunc
also see: http://www.autoitscript.com/forum/index.php?showtopic=72697&st=0&p=530328&#entry530328 |
|||
| #339 | Fixed | GUICtrlDelete() crashes at special occasions. | ||
| Description |
Getting hard crash with this code: GUICreate("",500,600)
$input = GUICtrlCreateInput("8", 10, 100 + 30, 200, 20)
$pic2 = GUICtrlCreatePic("", 0, 280, 450, 1)
GUISetState()
Do
$msg = GUIGetMsg()
Until $msg = -3
GUISetState(@SW_HIDE)
GUICtrlDelete($input)
GUICtrlDelete($pic2)
GUISetState(@SW_SHOW)
Sleep(1000)
Seems to only occur on vista machines. |
|||
| #340 | Rejected | Marquee progress bar | ||
| Description |
Add the ability to use marquee progress bars on ProgressOn, and to set the speed of the marquee on ProgressSet Also use GUICtrlSetData to set the speed of bars embedded in GUIs PS: This is available trought setting the progress style to 0x8 (undocumented) and using DllCall("user32.dll", "lparam", "SendMessage", "hwnd", GUICtrlGetHandle($controlID), "int", 0x40A, "wparam", (Boolean on/off), "lparam", (speed in ms)) to set the speed |
|||
