au3scr Posted November 12, 2007 Share Posted November 12, 2007 how i change windowtitle to path to current file? It seems not working Global $title = "notepad" $Form1 = GUICreate($title, 611, 411, 193, 115) ... ... ... Case $open $path = FileOpenDialog("Select file:","", "text (*.txt;*.ini;*.au3;*.inf)") If Not @error Then GUICtrlSetData($Edit1,FileRead($path)) EndIf $title = $path anything wrong here? any ideas? Link to comment Share on other sites More sharing options...
Nahuel Posted November 12, 2007 Share Posted November 12, 2007 Replace: $title = $path With: WinSetTitle($Form1,"",$path) 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