SetText does not work with Windows 10. ReplaceSell with windows 7.
![Crazy :crazy:](./images/smilies/icon_crazy.gif)
Code: Select all
; The rest
Gui, Add, Statusbar
SB_SetParts(10, 200)
GuiW := GuiH := 0
File := "C:\Users\user\Desktop\RichEdit\Test.rtf" ; <<<
If FileExist(File) { ; <<<
RE2.LoadFile(File, "Open") ; <<<
RE2.SetModified() ; <<<
Open_File := File ; <<<
} ; <<<
Gui Show, , % GuiTitle . (Open_File ? " - " . Open_File : "") ; <<<
OnMessage(WM_MOUSEMOVE := 0x200, "ShowSBHelp")
GuiControl, Focus, % RE2.HWND
GoSub, UpdateGui
Return
; ======================================================================================================================
; End of auto-execute section
; ======================================================================================================================
Return to “Scripts and Functions (v1)”
Users browsing this forum: Bing [Bot] and 206 guests