Jump to content
Sign in to follow this  
veerendra

Capture title of tabs in firefox

Recommended Posts

veerendra

Send("{BACKSPACE}www.gmail.com{DEL}{ENTER}")
 sleep(1000)
 _WinWaitActivate("Web Page Blocked! - Mozilla Firefox","") 
Sleep(1000)

Hi, i need to open a url in mozillafirefox, i want to capture the title of the tab.  but i did miskate , the code i attached is recorded one so it not correct for me.

please give me line of code to capture title of the tab what it opens and i want to pass that value to variable.

Share this post


Link to post
Share on other sites
Danp2

Suggest that you take a look at the FireFox UDF (FF.au3) and use that instead of your Send / WinWait combination.

Also, if you will provide a more detailed description of what you are attempting to do, then someone may jump in with some additional suggestions.

Share this post


Link to post
Share on other sites
veerendra

i want to open www.gmail.com in firefox. Now i want to read the title of the tab.

Share this post


Link to post
Share on other sites
water

What do you need the title of the Firefox tab for?

If you use the FireFox UDF then there might be better ways to do what you want.


My UDFs and Tutorials:

Spoiler

UDFs:
Active Directory (NEW 2018-12-03 - Version 1.4.11.0) - Download - General Help & Support - Example Scripts - Wiki
OutlookEX (2018-10-31 - Version 1.3.4.1) - Download - General Help & Support - Example Scripts - Wiki
ExcelChart (2017-07-21 - Version 0.4.0.1) - Download - General Help & Support - Example Scripts
PowerPoint (2017-06-06 - Version 0.0.5.0) - Download - General Help & Support
Excel - Example Scripts - Wiki
Word - Wiki
 
Tutorials:

ADO - Wiki

 

Share this post


Link to post
Share on other sites
veerendra

i want to test, when i enter url www.yahoo.com , it should display Yahoo Canada. know i want to know it opened Yahoo Canada or some other

Share this post


Link to post
Share on other sites
water

Maybe function _FF_GetTitle of the FF UDF does what you need.


My UDFs and Tutorials:

Spoiler

UDFs:
Active Directory (NEW 2018-12-03 - Version 1.4.11.0) - Download - General Help & Support - Example Scripts - Wiki
OutlookEX (2018-10-31 - Version 1.3.4.1) - Download - General Help & Support - Example Scripts - Wiki
ExcelChart (2017-07-21 - Version 0.4.0.1) - Download - General Help & Support - Example Scripts
PowerPoint (2017-06-06 - Version 0.0.5.0) - Download - General Help & Support
Excel - Example Scripts - Wiki
Word - Wiki
 
Tutorials:

ADO - Wiki

 

Share this post


Link to post
Share on other sites
veerendra

where can i get the explanation of function_FF_GetTitle of the FF UDF

Share this post


Link to post
Share on other sites
water

The Firefiox UDF can be found >here. There you will find all necessary files and links to the docu.


My UDFs and Tutorials:

Spoiler

UDFs:
Active Directory (NEW 2018-12-03 - Version 1.4.11.0) - Download - General Help & Support - Example Scripts - Wiki
OutlookEX (2018-10-31 - Version 1.3.4.1) - Download - General Help & Support - Example Scripts - Wiki
ExcelChart (2017-07-21 - Version 0.4.0.1) - Download - General Help & Support - Example Scripts
PowerPoint (2017-06-06 - Version 0.0.5.0) - Download - General Help & Support
Excel - Example Scripts - Wiki
Word - Wiki
 
Tutorials:

ADO - Wiki

 

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  

×