Sign in to follow this  
Followers 0
au3scr

Window title

2 posts in this topic

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?


Share this post


Link to post
Share on other sites

Replace:

$title = $path

With:

WinSetTitle($Form1,"",$path)

Share this post


Link to post
Share on other sites

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
Sign in to follow this  
Followers 0