Mousecolor weirdness and losing hair!

Getting into LiveCode for iOS? Ask your questions here.

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Dixie
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 1336
Joined: Sun Jul 12, 2009 10:53 am
Location: Bordeaux, France

Re: Mousecolor weirdness and losing hair!

Post by Dixie » Fri Jan 02, 2015 9:45 pm

Err...you are posting in 'iOS deployment' !

bn
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 4002
Joined: Sun Jan 07, 2007 9:12 pm
Location: Bochum, Germany

Re: Mousecolor weirdness and losing hair!

Post by bn » Sat Jan 03, 2015 12:07 pm

Hi da_elf,

it would be easier to help you if you would give more context of what you want to do.

I don't have a Windows Machine to test, so I am of little help there. Maybe someone with a PC Win7 could try the stack and tell us if it works.

Kind regards
Bernd

Da_Elf
Posts: 311
Joined: Sun Apr 27, 2014 2:45 am

Re: Mousecolor weirdness and losing hair!

Post by Da_Elf » Sun Jan 04, 2015 12:07 am

when i first posted i didnt realise it was under the ios area. All i wanted was for it to give me the color under the mouse pointer. all i get is 0,0,0

bn
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 4002
Joined: Sun Jan 07, 2007 9:12 pm
Location: Bochum, Germany

Re: Mousecolor weirdness and losing hair!

Post by bn » Sun Jan 04, 2015 5:05 pm

Hi da_elf,

I finally looked at Quality Control Center at bug

http://quality.runrev.com/show_bug.cgi?id=11502

from an entry by Paul Hibbert there:
I can also confirm this bug in LC 6.5.x where the mouseColor returns incorrect values on Mac OS X, but on Windows 7 in LC 6.5.x, the mouseColor returns 0,0,0 regardless of the colour below the mouse pointer <
So it seems that when you get 0,0,0 it is a bug in the 6.5.x series.

You might try the latest from the pre-refactoring series: 6.6.5 and see if it works.

Kind regards
Bernd

Da_Elf
Posts: 311
Joined: Sun Apr 27, 2014 2:45 am

Re: Mousecolor weirdness and losing hair!

Post by Da_Elf » Thu Jan 08, 2015 9:17 pm

thanks ill give that a try :)

jmburnod
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 2718
Joined: Sat Dec 22, 2007 5:35 pm
Location: Genève
Contact:

Re: Mousecolor weirdness and losing hair!

Post by jmburnod » Thu Jan 15, 2015 6:30 pm

Hi All,
I made some tries about mousecolor
IOS No
Windows XP standalone 6.7 OK
OSX 10.6 standalone OK
OSX 10.7 standalone OK
OSX 10.8 standalone: Machine 1 OK and Machine 2 (machine 2 is an image of Machine 1 !!!) :shock:
Is there someone who can explain these last results ?
Best regards
Jean-Marc
P.S: What do you think about make a new topic "Mousecolor error" in "Getting Started with LiveCode - Experienced Developers" ?
https://alternatic.ch

jmburnod
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 2718
Joined: Sat Dec 22, 2007 5:35 pm
Location: Genève
Contact:

Re: Mousecolor weirdness and losing hair!

Post by jmburnod » Sun Aug 23, 2015 2:28 pm

Hi All,
I don't remember if we have got a way to work around mousecolor on iOS.
I played with a Bernd's (thanks again) script and I found a way for iOS
Although I noticed some stranges results it work for an "Answer color" goal on iOS
It works with LC 7.0.5, iOS 8.4
Best regards
Jean-Marc
Attachments
getMyPixColor.livecode.zip
(61.27 KiB) Downloaded 153 times
https://alternatic.ch

Post Reply

Return to “iOS Deployment”