Jump to content
Sign in to follow this  

Identifying 2 firefox and one excel instance

Recommended Posts


I hope I have 2 instances of firefox and 1 of Excel open.

My problem is that in both instances of firefox I have mult tabs. each instance has a unique tab, one has the tab titled 'cases' and in the other instance has a tab titled 'history'. these tabs may not be in the first tabs position and I would like to be able to see if both instances are running and if not display an error. something like 'the firfox program with the tab 'Case' is not open

Also The Excel spreadsheet name is todays date so changes each day, is it possabel to display an error if excel is running and if the current date is in the name is not todays?

Share this post

Link to post
Share on other sites

For the Excel piece, you can always call the workbook  name, and compare to the current date:

#include <Date.au3>
#include <Excel.au3>
$oExcel = _ExcelBookNew(1)
 If $oExcel.ActiveWorkBook.Name <> _NowDate() Then
  ; Do Stuff
  ;Do Other Stuff

√-1 2^3 ∑ π, and it was delicious!

How to get your question answered on this forum!

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