Search found 49 matches

by sp27
Mon Aug 01, 2011 1:35 pm
Forum: Mac OS
Topic: revBrowser on Mac: bad display of Unicode chars
Replies: 4
Views: 5729

Re: revBrowser on Mac: bad display of Unicode chars

Thanks for working on this, Bernd. I'm now going to post the issue on the dev list. Perhaps someone there has an idea.

Be well,

S.
by sp27
Mon Aug 01, 2011 4:43 am
Forum: Mac OS
Topic: revBrowser on Mac: bad display of Unicode chars
Replies: 4
Views: 5729

Re: revBrowser on Mac: bad display of Unicode chars

Hi Bernd! Many thanks for thinking and testing. I attach a zip archive (made in Windows) that has a very small and simple stack and an HTML file. Nothing else is required. When run in Windows 7, all buttons work, everything is beautiful. When run on my Mac G5 10.5.8 or MacBook 10.6.8, these problems...
by sp27
Sun Jul 31, 2011 5:37 pm
Forum: Using Externals
Topic: revBrowserCallScript() not working in Mac OS X
Replies: 0
Views: 3679

revBrowserCallScript() not working in Mac OS X

My application (LC 4.6.3) does this: revBrowserSet(sBrowserID, "htmltext", tMyHTML) tMyHTML is a fully-formed Web page that includes this function: function SetFontSize(FSizeStr) { document.body.style.fontSize = FSizeStr; } A button on the same card as the revBrowser instance does this: revBrowserCa...
by sp27
Sun Jul 31, 2011 5:30 pm
Forum: Mac OS
Topic: revBrowser on Mac: bad display of Unicode chars
Replies: 4
Views: 5729

revBrowser on Mac: bad display of Unicode chars

Short version: revBrowser does not display Unicode characters in Mac OS X (PPC/Tiger and Intel/Snow Leopard). LC 4.6.2 and 4.6.3. Long version: I finished writing and testing my Russian dictionary application in Windows and started testing it in Mac OS X. My first surprise is that revBrowser does no...
by sp27
Sat Jun 25, 2011 4:53 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: recording sound
Replies: 2
Views: 2944

Re: recording sound

Thanks, Mark. This is sad. I don't feel good about telling the users who don't already have QT installed on their Windows machines that they must install it so just for my application. And RR will have to find a different solution for Android. I have read all there is in the Dictionary about recordi...
by sp27
Fri Jun 24, 2011 6:31 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: recording sound
Replies: 2
Views: 2944

recording sound

For recording sound, the online version of the Dictionary says "The record sound command uses QuickTime to record" Yet I found some posts in various forums that claim you don't need to have QT installed. I'd rather not uninstall QT from my Windows machine just to test this. I need to allow the user ...
by sp27
Mon Jun 20, 2011 3:37 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: workaround for replace() in Unicode fields
Replies: 0
Views: 1710

workaround for replace() in Unicode fields

The replace() function in LC 4.6.1 cannot be used to replace a string with another string in a Unicode field. Here is a workaround: on mouseUp --this handler amounts to a home-made custom replace() function for UTF-16 fields; --it searches field InputField for word 1 from field WordToFind --and repl...
by sp27
Sun Jun 19, 2011 6:29 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: workaround for Unicode and the clickText
Replies: 0
Views: 2329

workaround for Unicode and the clickText

Any user of LC 4.6.1 who needs to use "the clickText" in a double-byte (Unicode) field will discover that it just doesn't work. I am posting here a workaround that resulted from a day-long discussions among jacque, Bernd, Mark S., Malte, Richmond and myself. on mouseUp --this is attached to field "T...
by sp27
Sat Jun 04, 2011 5:41 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Android - quitting application fails
Replies: 7
Views: 7521

Re: Android - quitting application fails

I use an Android tablet with 2.3.3. Almost all the apps I have display an app-specific menu when I press the system Menu button. Can such a menu be constructed for an LC app?

sp27
by sp27
Wed Jun 01, 2011 3:16 pm
Forum: Databases
Topic: Unicode, SQLite, and Database Library
Replies: 2
Views: 4386

Re: Unicode, SQLite, and Database Library

I am posting the solution: my script had a bug, pointed out by Dave C. Thanks, Dave! To turn the UTF-16 text in the field into a UTF-8 string for use as a search target, I should have used uniDecode(myText, "UTF8"). Now this code works perfectly: a Russian word is found in my SQLite UTF-8 database: ...
by sp27
Wed Jun 01, 2011 1:09 am
Forum: Databases
Topic: Unicode, SQLite, and Database Library
Replies: 2
Views: 4386

Unicode, SQLite, and Database Library

I am building a front end to a Russian-English dictionary database (SQLite). The data is in Unicode. I've overcome several hurdles of Unicode in LC and have now gotten to the point where my scripts are ready to retrieve the data: put "SELECT RecNum FROM RDTKeys WHERE (RDTKey = :1)" into locSQLString...
by sp27
Mon May 30, 2011 2:09 am
Forum: Using Externals
Topic: callback messages from revBrowser to the stack
Replies: 2
Views: 6841

Re: callback messages from revBrowser to the stack

Thanks to the good folks in the LC community, I'm posting a solution that works for me, plus an idea for further work. Most of this discussion took place on the use-livecode list. Context: we have an instance of revBrowser in the card, and we can control the contents of the Web page that it is showi...
by sp27
Sun May 29, 2011 10:52 pm
Forum: Using Externals
Topic: browserClick: minor glitch in Dictionary?
Replies: 0
Views: 3453

browserClick: minor glitch in Dictionary?

In the entry for browserClick, the LC Dictionary (4.6.1) says this: The browserClick message is sent to the current card of a stack containing a browser object when the mouse is clicked in the browser. The instanceId is the integer identifier of the browser object The elementId is the id of the html...
by sp27
Sun May 29, 2011 7:20 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: path to the .livecode file I'm working on
Replies: 10
Views: 9136

Re: path to the .livecode file I'm working on

This is not relevant to the discussion, but please be careful when you quote other posters. Poster "sp27" would never have said "...sorta kinda makes out like you can..." It's just not his style :D