Import Snapshot Speed...?

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

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
jpatten
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 45
Joined: Tue May 06, 2008 11:24 pm

Import Snapshot Speed...?

Post by jpatten » Fri Jan 16, 2009 10:21 pm

Hi All...

I using import snapshot from a button to capture a part of an image on the card. When I click the button to begin the capture it takes about 11 seconds for the cross hairs to appear. Is there any way to speed up the process of snapshot so that it does not take 11 seconds from the time the command is given (button is clicked) and the cross hairs appear?

Thanks in advance!

bn
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 4166
Joined: Sun Jan 07, 2007 9:12 pm

Post by bn » Sat Jan 17, 2009 11:04 am

Hi jpatten,

in my experience it takes about a second for the cursor to change to a cross. this is on a macbook pro 2.33 GHz. Rev 3.0
I have no idea why it takes 11 seconds on your machine.
Which version of Rev are you using?
What machine are you using?
Does it take always 11 seconds to start showing the haircross cursor? Even after restarting the computer and then opening Rev? Is your stack very large?
In my experience there were some issues with the snapshot when the rect is selected by the user, not so when taking a snapshot from a given rectangle.

What I did notice is that the cursor does not reset after the snapshot. If I add

Code: Select all

set cursor to 1
after the snapshot line the cursor is resetted
I am afraid I am of little help unless you specify a little more.
regards
bernd

jpatten
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 45
Joined: Tue May 06, 2008 11:24 pm

Post by jpatten » Sun Jan 18, 2009 12:04 am

I tried it out back home on my PowerMac G5 and it worked like you describe. I was experiencing the slow down on the machine at work (latest iMac). I could have very well had some process running in the background that were slowing it down,...I did not do a restart to see if that would have helped. I'll try that next, without firing anythings else up. I did have the cursor sticking and your post should help eliminate the cross hairs after capturing screen. I'm using Rev 3.0.

Thank you!

Post Reply