Hi I'm currently trying my best to learn and write a simple applescript. I basically want to open firefox with two new tabs, this bit I have managed but the part I am finding tricky is I want there to be a variable that if Firefox is already open then two new tabs are opened in the current window without relaunching the whole program again.
Is Firefox open?
Yes - two new tabs
No - launch Firefox, open two new tabs
I'm sure it's simple but I could really use some help.
Thanks
Is Firefox open?
Yes - two new tabs
No - launch Firefox, open two new tabs
I'm sure it's simple but I could really use some help.
Thanks