Search found 1550 matches

by [-hh]
Tue Dec 12, 2017 4:47 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Setting textSize in the clipboardData
Replies: 10
Views: 155

Re: Setting textSize in the clipboardData

With LC 8 use the fullClipboardData["RTF"]:

Code: Select all

on mouseUp
  lock the clipboard
  set the fullClipboardData to empty
  set the fullClipboardData["RTF"] to the rtfText of fld 1
  unlock the clipboard
end mouseUp
Then paste into TextEdit, Pages, OpenOffice, Word or whatever.
by [-hh]
Tue Dec 12, 2017 12:47 am
Forum: Announcements
Topic: FreeLibs for LiveCode
Replies: 15
Views: 375

Re: FreeLibs for LiveCode

You may watch a detailed progress here:
https://github.com/livecode/livecode/milestones
by [-hh]
Tue Dec 12, 2017 12:43 am
Forum: Educational Outreach
Topic: Children's Education App for Measuring with a Ruler
Replies: 7
Views: 115

Re: Children's Education App for Measuring with a Ruler

Interesting problem. We need more information. 1. Which OS? Which LC version? 2. What means "on the screen": A deliberate desktop image or the stack window? 3. What is the "unit" of the ruler? From a math point of view, it would be more interesting to explain the concept of a vector (angle and lengt...
by [-hh]
Mon Dec 11, 2017 1:03 pm
Forum: Talking LiveCode
Topic: Deprecation of numToChar()
Replies: 6
Views: 109

Re: Deprecation of numToChar()

No.

NumToCodePoint is the replacement for numToChar when using Unicode text (if really needed, for example with the famous DevaWriter). For UTF-8 input LC 8/9 usually doesn't require any transformations.

[And for images we can use numToByte instead.]
by [-hh]
Mon Dec 11, 2017 12:35 pm
Forum: Talking LiveCode
Topic: Deprecation of numToChar()
Replies: 6
Views: 109

Re: Deprecation of numToChar()

Possibly the problem is not numToChar but that your input text encoding changed.

If you switched to UTF-8 then your high bit (> 127) chars may have now a different code.

Why don't you simply use a 'direct' char replacement (replace "‘" with "'" etc.)?
by [-hh]
Wed Dec 06, 2017 5:50 pm
Forum: Announcements
Topic: FreeLibs for LiveCode
Replies: 15
Views: 375

Re: FreeLibs for LiveCode

From 8.0 to 8.2 and 9.0.0-dp1 to 9.0.0-dp10 we have at about 5 different module formats. Just open a LC 8 version and look at your 'unsupported' library module. You have to deinstall the currently installed 'unsupported' module and recompile the lcb file. Hopefully your code also works there. Thats ...
by [-hh]
Wed Dec 06, 2017 3:34 am
Forum: Announcements
Topic: FreeLibs for LiveCode
Replies: 15
Views: 375

Re: FreeLibs for LiveCode

This is really fine. Especially the notification handlers will be useful for many people.

You could think about adding a LC 8 version for people who are not using LCB (and don't know how to recompile by themselves)?

I look forward to a cross-platform version!
by [-hh]
Wed Dec 06, 2017 2:54 am
Forum: Off-Topic
Topic: Is livecode dead?
Replies: 73
Views: 1499

Re: Is livecode dead?

The Lego boys are for kinder-garden. Good at most for a few days or so, as a joke. Meanwhile very nasty, close to being aggressive, especially on the downloads page. This is by no means a showcase for interested people. Nobody closes such a popup and scrolls down, everybody older than five years clo...
by [-hh]
Mon Dec 04, 2017 6:44 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Color chooser for LC 6/7/8/9 on MacOS 10.13 [enhanced version]
Replies: 0
Views: 123

Color chooser for LC 6/7/8/9 on MacOS 10.13 [enhanced version]

Recently, there were several neat stacks on "Sample Stacks" that use LC 8/9 (a newer stackfileversion) and would be also useful on LC 6/7. The main reason for that, if not using widgets, was probably that on MacOS 10.13, using LC 6/7, closing the colorChooser ("answer color") **CRASHES** LiveCode im...
by [-hh]
Mon Dec 04, 2017 12:17 am
Forum: LiveCode Builder
Topic: Browser Widget usage examples
Replies: 10
Views: 2157

Re: Browser Widget usage examples

Widget usage example #8: **LiveCodeStars** The first of my end-of-this-year gifts to the community is dedicated to the LC Team, especially to the makers of the browser widget. It is a hybrid of LC animation and using (via javascript) CSS transforms. At the very end it looks like a glitter-flitter c...
by [-hh]
Tue Nov 21, 2017 7:28 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Having trouble creating functions for scientific calculator
Replies: 9
Views: 332

Re: Having trouble creating functions for scientific calculator

dunbarx wrote:And do you know that the arguments to trig functions are in radians?
Yes, I know. And I even know what radians are ;-)
by [-hh]
Mon Nov 13, 2017 11:42 pm
Forum: LiveCode Builder
Topic: [Q] Window pointer
Replies: 22
Views: 645

Re: [Q] Window pointer

shaosean wrote:Is there a way to get the window pointer?
You can see an example in the source code of the browser widget .
by [-hh]
Thu Nov 09, 2017 3:30 pm
Forum: HTML5
Topic: Successful test
Replies: 41
Views: 20085

Re: Successful test

Export Text to local file Rolf Kocherhans has contributed a HTML standalone that shows how to export UTF8-text from a standalone to a local UTF8-file. This uses javascript to create a download link that contains the (UTF8 text, base64 encoded) file contents. Your browser converts this when download...
by [-hh]
Thu Nov 09, 2017 10:48 am
Forum: LiveCode Builder
Topic: Stupid Questions #1
Replies: 9
Views: 1099

Re: Stupid Questions #1

So the most useful plan for all experienced devs is to do daily work in the latest build of the highest version number, and ship with the latest build with a frozen feature set ("Stable"). Sadly this strategy isn't possible if you are using LCB/ create widgets. Here LC 8 has a frozen "experimental"...

Go to advanced search