Jump to content
Sign in to follow this  
meomeo192

AutoIT FF.au3 with 2 windows Firefox

Recommended Posts

Hi all.

First, i wrote 2 files .au3 on Firefox, then convert them to .exe, i want both run with a time, but this don't act. I tried with 2 windows Firefox have 2 different profiles but is still unsuccessful.

Anybody know the way to run a time 2 files .exe on 2 Windows Firefox, please tell me.

Thanks you very much.

Share this post


Link to post
Share on other sites

Hi all.

First, i wrote 2 files .au3 on Firefox, then convert them to .exe, i want both run with a time, but this don't act. I tried with 2 windows Firefox have 2 different profiles but is still unsuccessful.

Anybody know the way to run a time 2 files .exe on 2 Windows Firefox, please tell me.

Thanks you very much.

Who know this? Please tell me.

Share this post


Link to post
Share on other sites

Hi, Meomeo192. Your question is a bit confusing, can you please try explaining more succinctly what you are trying to accomplish? Also, if you have code, please post. Sometimes code is easier than trying to traverse the language barrier :)


"Profanity is the last vestige of the feeble mind. For the man who cannot express himself forcibly through intellect must do so through shock and awe" - Spencer W. Kimball

How to get your question answered on this forum!

Share this post


Link to post
Share on other sites

<br />

Hi, Meomeo192. Your question is a bit confusing, can you please try explaining more succinctly what you are trying to accomplish? Also, if you have code, please post. Sometimes code is easier than trying to traverse the language barrier <img src='http://www.autoitscript.com/forum/public/style_emoticons/autoit/smile.gif' class='bbc_emoticon' alt=' :)' /><br />

Ok, this is my example.file 1.au3:

Include FF.au3

HotKeySet("{s}","start")

HotKeySet("{e}","exit")

_FFStart()

While 1

Sleep(1000)

WEnd

Func start()

While 1

_FFOpenURL("http://google.com",0)

Sleep(10000)

EndFunc

Func exit()

MsgBox(0,"Exit file 1","Exit 1")

ExitEndFunc

file 2.au3:

#Include FF.au3

HotKeySet("{s}","start")

HotKeySet("{e}","exit")

_FFStart()

While 1

Sleep(1000)

WEnd

Func start()

While 1

_FFOpenURL("http://gmail.com",0)

Sleep(10000)

EndFunc

Func exit()

MsgBox(0,"Exit file 2","Exit 2")

Exit

EndFunc

I want 2 files run on 2 window Firefox at the same time. But cann't, 2 file run on 1 window Firefox. I tried with 2 profile Firefox:

replace code: _FFStart() by _FFStart("about:blank","1") in file 1.au3 (open profile 1)

and replace: _FFStart() by _FFStart("about:blank","2") in file 2.au3 (open profile 2)

But it still don't successful.

Are you right?

If you know, please tell me.

Thanks you very much. (sorry, i don't know post code in quote)

Edited by meomeo192

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  

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...