Rev quits when I use the dropper tool on os x 10.5

Anything beyond the basics in using the LiveCode language. Share your handlers, functions and magic here.

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
Ericjp
Posts: 9
Joined: Thu May 08, 2008 8:14 am

Rev quits when I use the dropper tool on os x 10.5

Post by Ericjp » Sat Nov 22, 2008 12:36 am

When using the dropper tool in a stack on os x 10.4 it worked fine. I've had to buy a new mac (old one packed in) and now when using the stack on 10.5 Rev quits as soon as I click using the dropper tool. There are no messages, it just quits.

Any suggestions?

Thanks

Eric

Mark
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 5150
Joined: Thu Feb 23, 2006 9:24 pm
Contact:

Post by Mark » Fri Nov 28, 2008 12:55 am

Hi Eric,

Do you mean the magnifying glass from Mac OS X's color chooser, which appears after using the answer color command? I haven't had any problems with this lately (Rev 3.0). Which Rev version are you using?

Best,

Mark
The biggest LiveCode group on Facebook: https://www.facebook.com/groups/livecode.developers
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode

Ericjp
Posts: 9
Joined: Thu May 08, 2008 8:14 am

Post by Ericjp » Fri Nov 28, 2008 4:41 pm

Hi Mark, thanks for the reply.

No, I mean the dropper tool, which you use to 'pick up' a colour. I've selected it by using the command 'choose dropper tool' in the script, and it used to work in Rev.3.0 under Tiger, but doesn't in Rev.3.0 under Leopard.

Best,

Eric.

Mark
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 5150
Joined: Thu Feb 23, 2006 9:24 pm
Contact:

Post by Mark » Sat Nov 29, 2008 1:13 am

Hi Eric,

I understand it now. You are right, the dropper tool crashes Rev. Can you report it to the QCC and post the bug number here?

In the mean time, you can use the following script.

Code: Select all

on mouseUp
   set the cursor to cross
   wait until the mouseClick
   put the mouseColor -- into myVar or a field
end mouseUp
This is a blocking script. It is also possible to use a non-blocking script, e.g. with a repeat loop, which continuously shows the current mouseColor in a field.

Best,

Mark
The biggest LiveCode group on Facebook: https://www.facebook.com/groups/livecode.developers
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode

Ericjp
Posts: 9
Joined: Thu May 08, 2008 8:14 am

Post by Ericjp » Sat Nov 29, 2008 9:51 pm

Thanks again, Mark. I've posted a report, no. 7496. (Hope I did it ok, it's the first time I've used the QCC).

Best


Eric.

Mark
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 5150
Joined: Thu Feb 23, 2006 9:24 pm
Contact:

Post by Mark » Sat Nov 29, 2008 10:12 pm

Hi Eric,

(looks fine to me)

Mark
The biggest LiveCode group on Facebook: https://www.facebook.com/groups/livecode.developers
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode

Post Reply