John,

The 'import snapShot' command works OK if I pass parameters such as 'import 
snapshot from rect 250,250,450,450', but not if I use it without parameters to 
allow the user to snap an area from screen using the crosshair cursor, so a 
button with…

on mouseUp
        import snapshot
end mouseUp

…will return a garbage image when clicked and an area chosen, it's the correct 
size, but just full of random pixels that don't even come close to representing 
the snapped area.

There was a long standing problem with 'import snapShot' on Mac and Windows 
(not sure about Linux), where it would often include some of the grey colour 
used to define the snap area, so hopefully this will push RR into fixing the 
issue.

I'm on a quad core Intel MacPro running Mac OS X 10.7.3 and LC 5.0.2 and this 
behaviour started as soon as I upgraded to Lion. It has also been confirmed as 
a bug by the engineers at RunRev.

Are you are passing parameters with your use of import snapShot?

Paul

 
On 23 Feb 2012, at 03:33, John wrote:

> 
>> 
>> I have reported 2 bugs (#6430 & #9980) and posted the issues on here that 
>> I've had with LC5.0.2 on Lion, they are 'mouseColor' and 'import snapShot', 
>> they both return total garbage. The worst issue is that if mouseColor is 
>> active, LC or a standalone will crash if the cursor is moved to the top of 
>> the screen.
> 
> 
> I upgraded to Lion and lost the ability to import snapshot also. But, I was 
> using using LC 4.5.3. I have since upgraded to LC 5.0.2 and now the import 
> snapshot seems to be working fine. Is it still a problem for you?
> 
> 
> _______________________________________________
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode

_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to