473,386 Members | 1,698 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

simulation of left mouse click

Hi All.
I was looking for this script for some time now
But still didmf fined a salution. Pls help
I need a script that simulates a left mouse click on specified area of
the screen when the page is loaded. Any idea? Thank you
Jul 17 '05 #1
5 3052
I need a script that simulates a left mouse click on specified area of
the screen when the page is loaded. Any idea? Thank you


You're looking in a wrong place.

The fact that you need such functionality suggests that
your code/design is bad already,
redesign your page to act normally.

PHP can't simulate clicks.

--
* html {redirect-to: url(http://osiolki.net);}
Jul 17 '05 #2
MikeLory wrote:
I was looking for this script for some time now
But still didmf fined a salution. Pls help
I need a script that simulates a left mouse click on specified area of
the screen when the page is loaded. Any idea? Thank you


You need to find a javascript group as this is something done on the
client side. PHP is run on the web server and not in the client's
browser so it has no concept of the screen or mouse clicks.

--
Chris Hope - The Electric Toolbox - http://www.electrictoolbox.com/
Jul 17 '05 #3
MikeLory wrote:
Hi All.
I was looking for this script for some time now
But still didmf fined a salution. Pls help
I need a script that simulates a left mouse click on specified area of
the screen when the page is loaded. Any idea? Thank you


You need to do this using javascript, normally you would apply this to
an element rather than a particular area of the browser window (the
screen is not available).

Something like the following;

onload= function(){document.images[0].click();}

Which "clicks" the first image defined in a document.

Mick
Jul 17 '05 #4
.oO(MikeLory)
I need a script that simulates a left mouse click on specified area of
the screen when the page is loaded.
Why? Doesn't really make sense. Maybe you could explain what you're
trying to achieve.
Any idea?


What about systems/browsers without a pointing device/mouse support?

Micha
Jul 17 '05 #5
MikeLory wrote:
Hi All.
I was looking for this script for some time now
But still didmf fined a salution. Pls help
I need a script that simulates a left mouse click on specified area of the screen when the page is loaded. Any idea? Thank you


Not clear. Perhaps you're looking for Post2Host script?

--
<?php echo 'Just another PHP saint'; ?>
Email: rrjanbiah-at-Y!com Blog: http://rajeshanbiah.blogspot.com/

Jul 17 '05 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: Lakshmi Narayanan | last post by:
hi all, i have this problem.i want the user of my page to only click the link with the right mouse button and open a word document using the open in new window option.if he clicks on the left...
1
by: Trikki | last post by:
Hi, Im very new to Javascript and i'm in the very early learning stages. My question is: I have a web page with 8 links on, i want to disable the left mouse click on 6 of these links but...
3
by: mitsura | last post by:
Hi, I have included a small listing. The test program opens a panel and show a bitmap. What I want is to when the mouse is over the bitmap panel, I want to trap the left mouse click. The...
12
by: mdb | last post by:
My app has a notify icon in the systray. I want the left mouse click to initiate a menu, and a right-mouse click to do something else. Normally, for a button, I would listen to MouseDown and if I...
3
by: SteveMac | last post by:
I am using VS2003 VC++ .NET. I want to make a tray icon with a popup menu (like a context menu) that pops up for a left click. I can make the notifyicon with a context menu and that works fine,...
8
by: Chaitanya | last post by:
Hello, In my Application i want to know when user clicks both the "Left" and "Right" buttons of the Mouse. I am getting a number like this "3145728". But the MouseButtons Enum contains only Left,...
6
by: marss | last post by:
Hi, How can I define in Firefox whether the left mouse button is pressed when I move mouse over a html element? The documentation says that "e.button == 0 for standard 'click', usually left...
18
by: Shocky | last post by:
Hi there, I am trying to detect whether my IE6 users have pressed both right and left mouse buttons simultaneously in my Javascript code, by using: if(event.button==3) {alert("Both right and...
2
by: wizi | last post by:
Hi everyone, I am writing an application that allows users change Left Click to Right and Double Click. For example: if an user hit the "Double Click" button, Left click = Double Click. For...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.