There might be a more elegant way but the screenrects (must use the plural form) contains one line per monitor connected.
Pete lcSQL Software <http://www.lcsql.com> On Mon, Jun 3, 2013 at 3:11 PM, Ray Horsley <[email protected]> wrote: > Thanks Mark. Do you know of a way for me to detect more than one monitor > so I could warn users? > > On Jun 3, 2013, at 5:52 PM, Mark Schonewille 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
