Terry,
If your concern is that the area of the card doesn’t print exactly as you see
it on screen, it looks to me like the printMargins are set at the default 72
all round.
Try setting the printMargins to 0
set the printMargins to "0,0,0,0"
Paul
Paul
p...@livecode.org
Mac OS Sierra
On 06/30/2017 04:35 PM, Stephen Barncard via use-livecode wrote:
They put it into the ice.
RIP Orange Sunshine:
https://boingboing.net/2017/05/17/nicholas-sand-orange-sunshine.html
--
Mark Wieder
ahsoftw...@gmail.com
___
use-livecode mailing
@Terry.
Because we make a snapshot this is independent of the browser's content.
So at least for isolating the problem you will find below a variant that
'snapshots' directly to a file in your stack's folder.
Then the file is opened with preview via applescript. Here I get exactly
what I want.
Frankly just a rehash and a tart-up of something I made in about 2002;
maybe useful:
https://www.dropbox.com/s/okypdc1f9sx0ghu/STS.livecode.zip?dl=0
Love, Richmond.
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to
Hi,
Thanks for your suggestion but I am afraid it’s not working here:
I have prepared a short movie on dropbox so you can see what happens when I
print it and then open as PDF in MacOS Preview.
Not sure at all what is going wrong. Could it be something to do with the
scaling in the amCharts
Hermann,
I'll definitely share a demo. Re a LC Global talk, I'm unable to commit full
day slots this summer, so sorry for that. I'm hoping I can get some of the new
techniques and info from future docs and discussions and, except for this
Google maps issue, I'm on top of my project.
Thanks
@Bill.
No thank for that. I started to work with javascript in November 2016 when
the HTML5 standalone builder introduced "do as javascript". It was now a
good exercise because your javascript source is by an expert, written very
clear and clean.
Please show us your final product (doesn't matter
Hermann:
This is looking really good! I will be doing more testing as I integrate it
into my project, but at this stage, it is behaving as expected.
Thanks so much. Hoping I can repay you in some way. Let me know.
Best,
Bill P
> On Jun 30, 2017, at 8:58 PM, prothero--- via use-livecode
>
This works here.
on mouseUp
local ii="myImage", bb="Browser"
if there is no img ii then create img ii
put globalLoc(the topLeft of widget bb) into TL
put globalLoc(the botRight of widget bb) into BR
export snapshot from rect (TL,BR) to img ii as PNG
hide widget bb -- avoid artefacts
This is the script I use to capture screenshots from particular areas
*on* snapCaptureButtMouseUp pLine
*-- clicked in node details to capture a screenshot from the previously
committed captureArea rect*
*-- set the loc of stack "captureArea" to -1000,-1000*
*-- close stack "captureArea"*
*--
On 7/1/2017 10:05 AM, Terence Heaford via use-livecode wrote:
> Sorry about that, I should have realised (must be slow on the uptake today)
> but….
>
>
> I still get the grey area when I print the card.
> Do you have any insight into why this should happen?
> (see thread “Capturing screen into
Sorry about that, I should have realised (must be slow on the uptake today)
but….
I still get the grey area when I print the card.
Do you have any insight into why this should happen?
(see thread “Capturing screen into image”)?
Thanks
Terry
> On 1 Jul 2017, at 14:02, Paul Dupuis via
This is correctly reporting A4 with an 8px non-printable area around the
edge:
8.27 × 11.69 inches 8.2772 595.44
210 × 297 mm11.69 72 841.68
8,8,834,587 834 8 842
l,t,r,b
587 8 595
A4 is 210 x
Thanks for your help.
I have changed the script to below and it does not work.
set the lockLoc of image "myImage" to false
export snapshot from rectangle (the rect of widget "Browser") to pictVariable
as PNG
put pictVariable into image "myImage"
set the width of image "myImage" to the
Made me think of earlier versions of iTunes.
Richmond.
On 7/1/17 1:41 am, Phil Davis via use-livecode wrote:
After watching a couple minutes of this, I started getting
light-headed and felt like I was going back to the late 60s.
Phil Davis
On 6/30/17 1:44 PM, Mark Wieder via use-livecode
Thanks for your explanation. It does seem logical.
But where does 587 come from in 8,8,834,587 ?
A4 is 553.
Thanks
Terry
> On 30 Jun 2017, at 20:56, Bob Sneidar via use-livecode
> wrote:
>
> Almost no toner based printer can do this. It's called Full
16 matches
Mail list logo