This is a read-only archive of the old Scratch 1.x Forums.
Try searching the current Scratch discussion forums.

#1 2009-12-16 10:28:50

samurai768
Scratcher
Registered: 2009-07-21
Posts: 1000+

When right mouse button down and vice-versa

It would be cool to have a "If right mouse button down" and vice versa button.

This would be helpful for people making OS's, and animations (right click to toggle sound)

Like the idea?

Offline

 

#2 2009-12-16 10:50:21

Greatdane
Scratcher
Registered: 2007-06-05
Posts: 1000+

Re: When right mouse button down and vice-versa

I remember if you did something like this:
http://www.imagebeast.net/images/7h8ip2t2jf2kbj83pae.gif
Would produce the same result.


The future belongs to those who believe in the beauty of their dreams.
        ~ Eleanor Roosevelt

Offline

 

#3 2009-12-16 11:06:32

fg123
Scratcher
Registered: 2008-11-13
Posts: 1000+

Re: When right mouse button down and vice-versa

I think its:
Green Flag
forever
if mouse down
   if not mouse down
      broadcast right click
   else
      broadcast left click
   end 2nd if
end 1'st if

Only works in download


Hai.

Offline

 

#4 2009-12-16 23:14:36

Chrischb
Scratcher
Registered: 2008-07-24
Posts: 1000+

Re: When right mouse button down and vice-versa

Hmm... I tried that, but it didn't work.  sad


I fall: It's a tragedy. You fall: It's comedy.
Hmph enjoy your fall - I get a lovely spring... without pans of new leaves.

Offline

 

#5 2009-12-16 23:19:27

martianshark
Scratcher
Registered: 2008-03-24
Posts: 1000+

Re: When right mouse button down and vice-versa

Greatdane wrote:

I remember if you did something like this:
http://www.imagebeast.net/images/7h8ip2t2jf2kbj83pae.gif
Would produce the same result.

No. It isn't sensing right click. It's just sensing whether or not the left mouse is down.


http://img.geocaching.com/stats/img.aspx?txt=martianshark&uid=e6cdc2c8-2476-4abd-9994-27f857396579&bg=1

Offline

 

#6 2009-12-16 23:41:07

Jonathanpb
Scratcher
Registered: 2008-07-25
Posts: 1000+

Re: When right mouse button down and vice-versa

martianshark wrote:

Greatdane wrote:

I remember if you did something like this:
http://www.imagebeast.net/images/7h8ip2 … j83pae.gif
Would produce the same result.

No. It isn't sensing right click. It's just sensing whether or not the left mouse is down.

Since there isn't an actual right-click sensing thing available, they're just using a similar method.  smile


"Human beings... must have action; and they will make it if they cannot find it.
-Charlotte Brontë

Offline

 

#7 2010-02-27 17:04:17

samurai768
Scratcher
Registered: 2009-07-21
Posts: 1000+

Re: When right mouse button down and vice-versa

'Bump'

I tried fg's thing and it didn't work.

Offline

 

#8 2010-02-27 17:06:48

The-Whiz
Scratcher
Registered: 2007-07-09
Posts: 1000+

Re: When right mouse button down and vice-versa

billyedward's Streak has that block in it...

Offline

 

Board footer