This will also work:

on mouseUp
     import snapshot from rectangle ( line 2 of the working screenRects)
end mouseUp


-- Tom McGrath III
http://lazyriver.on-rev.com
[email protected]

On Jun 3, 2013, at 10:22 PM, Thomas McGrath III <[email protected]> wrote:

> You can import snapshots from secondary and tertiary monitors using the 
> working screenRects:
> 
> on mouseUp
>     put line 1 of the working screenRects into tRect
>     import snapshot from rectangle tRect
> end mouseUp
> 
> on mouseUp
>     put line 2 of the working screenRects into tRect
>     import snapshot from rectangle tRect
> end mouseUp
> 
> on mouseUp
>     put line 3 of the working screenRects into tRect
>     import snapshot from rectangle tRect
> end mouseUp
> 
> 
> -- Tom McGrath III
> http://lazyriver.on-rev.com
> [email protected]
> 
> On Jun 3, 2013, at 5:52 PM, Mark Schonewille 
> <[email protected]> wrote:
> 
>> Hi Ray,
>> 
>> Snapshots don't work with secondary monitors. You can make snapshots of the 
>> main screen only. Perhaps you can use a command line utility instead.
>> 
>> --
>> Best regards,
>> 
>> Mark Schonewille
>> 
>> Economy-x-Talk Consulting and Software Engineering
>> Homepage: http://economy-x-talk.com
>> Twitter: http://twitter.com/xtalkprogrammer
>> KvK: 50277553
>> 
>> Use Color Converter to convert CMYK, RGB, RAL, XYZ, H.Lab and other colour 
>> spaces. http://www.color-converter.com
>> 
>> We have time for new software development projects. Contact me for a quote.
>> 
>> 
>> 
>> 
>> 
>> 
>> On 3 jun 2013, at 23:03, Ray Horsley wrote:
>> 
>>> I'm running into a variety of issues designing a standalone which will 
>>> import PDF's.  If quicktime isn't installed it seems impossible and even if 
>>> the user installs it (Windows) it often doesn't work for certain PDF's.
>>> 
>>> With this in mind I thought I'd let users open their PDF's in whatever 
>>> program they choose and use Livecode's import snapshot command.  I don't 
>>> pass a rectangle since I don't know where the image is on screen and 
>>> unfortunately it seems I can't get the rectangle [the user opens up] 
>>> returned to me.  I do, however, get an image imported, although on a system 
>>> with two monitors in extended display mode it seems almost random where the 
>>> actual snapshot gets taken from.  It's anything but where the user actually 
>>> dragged.
>>> 
>>> Does anybody have any suggestions for grabbing a snapshot of the same 
>>> rectangle the user opens up on the desktop or in another application?
>>> 
>>> Thanks,
>>> 
>>> Ray Horsley
>>> LinkIt! Software
>> 
>> 
>> 
>> _______________________________________________
>> use-livecode mailing list
>> [email protected]
>> Please visit this url to subscribe, unsubscribe and manage your subscription 
>> preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
> 
> _______________________________________________
> use-livecode mailing list
> [email protected]
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode

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

Reply via email to