firefox window problem | send page down

Technical support and scripting issues

Moderators: JRL, Dorian (MJT support)

Post Reply
pedroz
Newbie
Posts: 6
Joined: Wed Jul 25, 2007 5:25 pm

firefox window problem | send page down

Post by pedroz » Wed Jul 25, 2007 5:33 pm

Hi.

I started two days ago testing this program and I am writing here because I have a problem with a macro.

Macro Working:
If I have a firefox window opened alone [no tabs] and I execute the macro it runs perfectly, the macro write what I want in the webpage form with the command Send> after being pointed with a click position.

Same Macro NOT Working scenario:
HOWEVER, if I have the webpage opened in a firefox window with several tabs it does not work. It open the window but the macro scroll down the window and there is no Send> input.

Anyone of you had this problem! Thanks.
________
T2xx
Last edited by pedroz on Tue Feb 01, 2011 4:09 pm, edited 1 time in total.

User avatar
Marcus Tettmar
Site Admin
Posts: 7395
Joined: Thu Sep 19, 2002 3:00 pm
Location: Dorset, UK
Contact:

Post by Marcus Tettmar » Wed Jul 25, 2007 5:52 pm

It might help if you sent your code. You're probably just running into an issue with focus - getting the right part of the window focused.
Marcus Tettmar
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar

Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?

pedroz
Newbie
Posts: 6
Joined: Wed Jul 25, 2007 5:25 pm

Post by pedroz » Wed Jul 25, 2007 5:58 pm

Hi Marcus.

As I told above when I run it with a single firefox window it runs prefect but when I have the firefox window with several tabs opened, it open the window but scroll down the page and do not write the command Send>

Here is the code bellow:
...
...
SetFocus>WebForm
MouseMove>600,250
Wait>0.10
LClick
Wait>0.10
Send Character/Text>%line_5%

Thanks
________
Chrysler E platform history
Last edited by pedroz on Tue Feb 01, 2011 4:09 pm, edited 1 time in total.

pedroz
Newbie
Posts: 6
Joined: Wed Jul 25, 2007 5:25 pm

Post by pedroz » Wed Jul 25, 2007 6:44 pm

I forgot the * in the SetFocus>WebForm*
but it is still not working because it scrolls the firefox window like pressing the End keyboard button
________
silversurfer reviews
Last edited by pedroz on Tue Feb 01, 2011 4:10 pm, edited 1 time in total.

User avatar
Marcus Tettmar
Site Admin
Posts: 7395
Joined: Thu Sep 19, 2002 3:00 pm
Location: Dorset, UK
Contact:

Post by Marcus Tettmar » Wed Jul 25, 2007 7:54 pm

What is at position 600,250 on your screen and what happens when you click on it?

When I do this it just clicks in the middle of the page. Exactly what I expect to happen, happens.
Marcus Tettmar
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar

Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?

pedroz
Newbie
Posts: 6
Joined: Wed Jul 25, 2007 5:25 pm

Post by pedroz » Wed Jul 25, 2007 8:07 pm

That position is a textarea as this one where I am writing right now.

As I told you before If I have a firefox window opened with only the webpage with the textarea form it works perfectly.

The problem is when I have the same window with several tabs open on it.

Thanks for your attention
________
Mercedes-Benz W164 specifications
Last edited by pedroz on Tue Feb 01, 2011 4:10 pm, edited 1 time in total.

User avatar
Marcus Tettmar
Site Admin
Posts: 7395
Joined: Thu Sep 19, 2002 3:00 pm
Location: Dorset, UK
Contact:

Post by Marcus Tettmar » Wed Jul 25, 2007 8:12 pm

Odd. Your script works the same way in both cases for me.

What is the value of the line_5 variable?

Is this the complete script or is there some other code we're not seeing. It could be affected but that other code.
Marcus Tettmar
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar

Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?

pedroz
Newbie
Posts: 6
Joined: Wed Jul 25, 2007 5:25 pm

Post by pedroz » Wed Jul 25, 2007 8:17 pm

You are right. it is something behind the code!

I will check what is it because I have a dialog on it. I did not post here to avoid a lot of trash in the screen. I will be back...
________
justin bieber fans
Last edited by pedroz on Tue Feb 01, 2011 4:10 pm, edited 1 time in total.

nemanja
Newbie
Posts: 3
Joined: Wed Jun 13, 2007 8:27 pm

Post by nemanja » Sun Jul 29, 2007 2:35 pm

I haved same problem but when you open new TAB you will see that entire web page is little down now so cordinates are not same.

Post Reply
Sign up to our newsletter for free automation tips, tricks & discounts