Sign in to follow this  
Followers 0
d4rk

winsettitle on tab title ?

8 posts in this topic

#1 ·  Posted (edited)

hello everyone,

i've these code

Opt("WinTitleMatchMode",2)
while 1
    sleep(100)
if not @error then
    WinSetTitle(" - TheWorld Browser","","changed")
;MsgBox(64,"OK","Title is Changed")
    
EndIf
WEnd

yeah, that's work so good but only with the title of the browser window, not the title of tab, so is there any way to change also the title of tab ? thanks for reading

edit : missing a line of code

Edited by d4rk

[quote]Don't expect for a perfect life ... Expect a least troubles ones[/quote]Contact me : ass@kiss.toWhat I Have Done :Favorites Manager Mangage your favorite's folder, that's coolPC Waker For those who want to save stickersWebScipts Supporter For those who've just started with Web and WebScriptsTemporary Looker Simple but powerful to manage your Temporary folder, you know what you downloaded[UDF] _NumberFormat() Better performance on number display[UDF] _DirGet() What a folder contain [how many (hidden,normal,...) files], with one line of code[UDF] _IsPressEs() Just like _IsPress() but for a group of keys

Share this post


Link to post
Share on other sites



#2 ·  Posted (edited)

WinSetTitle is not for that use. The title of your window is ... - TheWorld Browser, the tab is a control.

Edited by Aassdd

Share this post


Link to post
Share on other sites

GUICtrlSetData() works with tab controls....

Share this post


Link to post
Share on other sites

GUICtrlSetData() works with tab controls....

thanks but must i have a GUI to use this ?

[quote]Don't expect for a perfect life ... Expect a least troubles ones[/quote]Contact me : ass@kiss.toWhat I Have Done :Favorites Manager Mangage your favorite's folder, that's coolPC Waker For those who want to save stickersWebScipts Supporter For those who've just started with Web and WebScriptsTemporary Looker Simple but powerful to manage your Temporary folder, you know what you downloaded[UDF] _NumberFormat() Better performance on number display[UDF] _DirGet() What a folder contain [how many (hidden,normal,...) files], with one line of code[UDF] _IsPressEs() Just like _IsPress() but for a group of keys

Share this post


Link to post
Share on other sites

Your description didn't make it very clear that this is for an external program.

Share this post


Link to post
Share on other sites

sorry and yes, i want to make this for an external, a browser with TAB (like FF) , in my question, it's TheWorld browser


[quote]Don't expect for a perfect life ... Expect a least troubles ones[/quote]Contact me : ass@kiss.toWhat I Have Done :Favorites Manager Mangage your favorite's folder, that's coolPC Waker For those who want to save stickersWebScipts Supporter For those who've just started with Web and WebScriptsTemporary Looker Simple but powerful to manage your Temporary folder, you know what you downloaded[UDF] _NumberFormat() Better performance on number display[UDF] _DirGet() What a folder contain [how many (hidden,normal,...) files], with one line of code[UDF] _IsPressEs() Just like _IsPress() but for a group of keys

Share this post


Link to post
Share on other sites

thanks but must i have a GUI to use this ?

Try this:

#include <WinAPI.au3>
#include <GuiTab.au3>

Dim $title = "Свойства системы" ;type here a title of a system properties window, because my OS is russian
Dim $ItemCount

Send("#{Pause}")

WinWait($title)

$hWnd = _WinAPI_FindWindow("#32770", $title)
If $hWnd = 0 Then Exit

$hWnd = ControlGetHandle($hWnd, "", "SysTabControl321")
If @error Then Exit

$ItemCount = _GUICtrlTab_GetItemCount($hWnd)

For $i = 0 To $ItemCount - 1
    _GUICtrlTab_SetItemText($hWnd, $i, "AutoIt forever :)")
Next

:)

Share this post


Link to post
Share on other sites

yoh, thanks all but maybe i'll find a different way to complete my program, thanks again


[quote]Don't expect for a perfect life ... Expect a least troubles ones[/quote]Contact me : ass@kiss.toWhat I Have Done :Favorites Manager Mangage your favorite's folder, that's coolPC Waker For those who want to save stickersWebScipts Supporter For those who've just started with Web and WebScriptsTemporary Looker Simple but powerful to manage your Temporary folder, you know what you downloaded[UDF] _NumberFormat() Better performance on number display[UDF] _DirGet() What a folder contain [how many (hidden,normal,...) files], with one line of code[UDF] _IsPressEs() Just like _IsPress() but for a group of keys

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