Search found 257 matches

by thatkeith
Tue Mar 27, 2018 6:55 pm
Forum: Talking LiveCode
Topic: Compare two lists (comparing fontName before/after)
Replies: 44
Views: 3278

Re: Compare two lists (comparing fontName before/after)

It’s quite simple - I first saw ‘start using font’ from a mailing list thread, so I started with that. Then when I saw revFontLoad it seemed to be exactly the same except for two factors: it's older (minor), and it’s less flexible. :)
by thatkeith
Tue Mar 27, 2018 2:53 pm
Forum: Talking LiveCode
Topic: Compare two lists (comparing fontName before/after)
Replies: 44
Views: 3278

Re: Compare two lists (comparing fontName before/after)

revFontLoad presumably (?) that's how you are going to 'start using' a font. You are not very clear on this point. Many apologies! I did actually mean the "start using font" command. I saw revFontLoad in the LC 8.1.9 dictionary but I presumed as that was very similar to a newer command but lacked t...
by thatkeith
Tue Mar 27, 2018 2:33 pm
Forum: Talking LiveCode
Topic: Compare two lists (comparing fontName before/after)
Replies: 44
Views: 3278

Re: Compare two lists (comparing fontName before/after)

the main content is unscrollable both in Safari and Chrome. That's not good: over "here" with Firefox (outdated version) on Mac OS 10.7.5 it scrolls well: but I fail to see the relevance of LCB to the font listing 'problem'. Possibly no relevance at all. I started looking there because of what Rich...
by thatkeith
Tue Mar 27, 2018 9:40 am
Forum: Talking LiveCode
Topic: Compare two lists (comparing fontName before/after)
Replies: 44
Views: 3278

Re: Compare two lists (comparing fontName before/after)

The example hander was really helpful btw! I've adjusted it and got that side of things working really well, thanks. Onward and upward! :) /* Aside: Re the mess that is font naming, there is of course a logical structure but it's rather complex. Styles are normally the expected italic, bold, regular...
by thatkeith
Tue Mar 27, 2018 9:14 am
Forum: Talking LiveCode
Topic: Compare two lists (comparing fontName before/after)
Replies: 44
Views: 3278

Re: Compare two lists (comparing fontName before/after)

I wonder too. But I'm a bit stuck trying to find out anything about LCB... I got here from a search: https://livecode.com/topic/livecode-builder-language-reference/ and the main content is unscrollable both in Safari and Chrome. Perhaps I've arrived at the page in some unexpected way – but it's pret...
by thatkeith
Mon Mar 26, 2018 9:40 am
Forum: Talking LiveCode
Topic: Compare two lists (comparing fontName before/after)
Replies: 44
Views: 3278

Re: Compare two lists (comparing fontName before/after)

One line!? Wow – that just clinched it! I'm downloading the latest RC for 9 right now. Thanks! :) As for knowing the name... if only it was that simple! It's all a bit like the White Knight's song in Alice through the Looking Glass; the name of the font, what it's called and what it *is* can be quit...
by thatkeith
Sun Mar 25, 2018 11:08 pm
Forum: Talking LiveCode
Topic: Compare two lists (comparing fontName before/after)
Replies: 44
Views: 3278

Compare two lists (comparing fontName before/after)

I'm working with 'start using font', and it's actually helping tremendously now that my copy of Suitcase (the font management utility) is glitching a little with the current Mac OS. But I'm having trouble getting a reliable and efficient way of referencing the font I start using. The fontNames funct...
by thatkeith
Sun Mar 18, 2018 11:28 pm
Forum: Talking LiveCode
Topic: Dimensions of an image file?
Replies: 3
Views: 414

Re: Dimensions of an image file?

Wow - when in doubt, shell. :D

I had a bit of a search for a CLI solution (honest, I did!) but I was too hung up on my 'close but no cigar' efforts with AppleScript. This is superb and easy to weave into my experiments – many thanks!

k
by thatkeith
Sun Mar 18, 2018 9:07 pm
Forum: Talking LiveCode
Topic: Dimensions of an image file?
Replies: 3
Views: 414

Dimensions of an image file?

I'm working on a tool that will help my students understand image resolution in relation to page layout for print. One thing I need to do is find the pixel dimensions (width, height) of any given image file: JPEG, TIFF, PSD and other bitmap image formats. I'm getting somewhere with AppleScript, alth...
by thatkeith
Fri Mar 16, 2018 11:36 am
Forum: iOS Deployment
Topic: revSpeak for iOS?
Replies: 7
Views: 1273

Re: revSpeak for iOS?

That looks very interesting, and the ability to pause and resume could be very handy. However... It appears to be iOS-only rather than Mac and iOS (or, better still, Mac/Win/iOS), which would certainly complicate my development experiments. It doesn't appear to be currently available to purchase (ev...
by thatkeith
Thu Mar 15, 2018 5:13 pm
Forum: iOS Deployment
Topic: revSpeak for iOS?
Replies: 7
Views: 1273

Re: revSpeak for iOS?

I figured it was a bit long in the tooth, what with the 'rev' name. :cry: Text to speech is a great ability – it's a bit of a jaw-dropper when I demo LiveCode to students, and it's also 'actually' useful. Apple is continually adding voices (current count is over 100) and it's supported well across M...
by thatkeith
Thu Mar 15, 2018 12:55 pm
Forum: iOS Deployment
Topic: revSpeak for iOS?
Replies: 7
Views: 1273

revSpeak for iOS?

In the Dictionary the revSpeak and related items have "mac, windows" listed for the supported operating systems. But text to speech is part of iOS and many of the voices are the same across both Mac OS and iOS. Is text to speech really a desktop OS-only feature in LiveCode?

k
by thatkeith
Wed Mar 14, 2018 10:14 pm
Forum: Rich Media
Topic: Export snapshot with effects?
Replies: 9
Views: 1825

Re: Export snapshot with effects?

Brilliant, thanks Jacque! Quick & dirty test:

Code: Select all

put globalLoc(the topLeft of image 1) & "," & globalLoc(the bottomRight of image 1) into theArea
export snapshot from rect theArea to image 2
Works exactly as I wanted – an exact imageData replica of the specified area. Happy bunny. :)

k
by thatkeith
Wed Mar 14, 2018 10:25 am
Forum: Rich Media
Topic: Export snapshot with effects?
Replies: 9
Views: 1825

Re: Export snapshot with effects?

Here's a boiled down example of this 'working' – i.e. capturing a snapshot with some visual effects intact but not including any non-srcCopy ink appearance: cameraControlDo "camera1", "takePicture" put the result into image "source" (The "source" image's ink is set to blendOverlay; it looks good at ...
by thatkeith
Wed Mar 14, 2018 9:14 am
Forum: Rich Media
Topic: Export snapshot with effects?
Replies: 9
Views: 1825

Re: Export snapshot with effects?

Aha! That's very enlightening - thanks! I got it working to the level in your screengrab, and the example in the page you suggested is also helpful. It does seem that the export snapshot process is logically inconsistent, in that it doesn't actually capture literally the full visual state of the are...

Go to advanced search