Re: OT: ConcertWare Font

2019-04-08 Thread Ron Metzker via use-livecode
BR, Here you go. You can get the font here for free. https://sightcreations.wordpress.com/2014/06/02/25-years-the-unsung-music-symbols-font/ Best Regards Ron > On Apr 8, 2019, at 3:30 PM, Sannyasin

OT: ConcertWare Font

2019-04-08 Thread Sannyasin Brahmanathaswami via use-livecode
Way off topic, but we have some old mac users here, many into music. I am looking for a music notation font called ConcertWare. A music/midi program circa 2000 made by Chad Mitchell, Great Wave Software, later owned by Jump! Software. Then went out of business, I have some old eps document

Re: Browser selections

2019-04-08 Thread J. Landman Gay via use-livecode
Actually, I need to hilite a portion of the text in the browser rather than just get the whole content. Are you doing that? Eventually I may need to get the user's drag-selection too, but not yet. On 4/8/19 12:22 PM, JJS via use-livecode wrote: you can use this:

Re: Browser selections

2019-04-08 Thread J. Landman Gay via use-livecode
Thanks. I don't know JavaScript so it's a little over my head, but I'll try it. On 4/8/19 6:22 AM, hh via use-livecode wrote: (Getting the selection of a browser widget: Aee my previous post). Setting the selection of a browser widget: Assume you have an element click me in your webpage.

Re: Browser selections

2019-04-08 Thread JJS via use-livecode
you can use this: *put*thehtmlTextofwidget"browser"intotT i use this now for an api which redirects to a php file which echoes a line of text (as normally it would use the URL scheme, but this does not work with the widget) this way i could use the  browser widget and stay in the

LC 9.0.4 rc2 no longer hangs with modal dialogs!

2019-04-08 Thread Bob Sneidar via use-livecode
Thanks to the LC dev team, building an app no longer hangs when a modal dialog is opened. While a minor nuisance, this did get a little annoying at times. Bob S ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to

RE: Saving a tab formatted field to a file and retaining its formatting

2019-04-08 Thread Mark Waddingham via use-livecode
On 2019-04-08 18:27, Ralph DiMola via use-livecode wrote: No tabstops using the styledText property either. This is the one I would have expected to include the tab stops/widths. Both styledText and htmlText representations do include the tabStops (and tabAlign) settings - however both those

Re: Saving a tab formatted field to a file and retaining its formatting

2019-04-08 Thread Bob Sneidar via use-livecode
This is a bit more useful. Pass the long id of the field object: function fieldToHTMLTable pFieldID if not there is a field pFieldID then return "ERROR: Field object does not exist!" put the htmltext of pFieldID into ht put the effective textSize of pFieldID into fs put the tabstops

RE: Saving a tab formatted field to a file and retaining its formatting

2019-04-08 Thread Ralph DiMola via use-livecode
No tabstops using the styledText property either. This is the one I would have expected to include the tab stops/widths. Ralph DiMola IT Director Evergreen Information Services rdim...@evergreeninfo.net -Original Message- From: use-livecode [mailto:use-livecode-boun...@lists.runrev.com]

Re: Saving a tab formatted field to a file and retaining its formatting

2019-04-08 Thread Robert J. Earp via use-livecode
Thanks for the reply Paul. Yes, tried that but there are problems. It saves a .rtf file but when you open that in MSWord (OS X or Windows) the tabs are changed to underscores. If you open the file in OS X TextEdit it does have tabs but the position/spacing is not retained. I’ve created a

Re: Saving a tab formatted field to a file and retaining its formatting

2019-04-08 Thread hh via use-livecode
-- Converts a simple table field with tabstops to a html http://lists.runrev.com/pipermail/use-livecode/2019-March/253271.html ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your

Re: Saving a tab formatted field to a file and retaining its formatting

2019-04-08 Thread Richard Gaskin via use-livecode
Robert J. Earp wrote: > Dear all, we have a field that is formatted nicely with tabs and want > to save that as a file, retaining the tab formatting. The saved file > format ideally should be .rtf but we may be able to use other formats > such as .pdf > > Anybody got any ideas how to do this ?

Re: Saving a tab formatted field to a file and retaining its formatting

2019-04-08 Thread Bob Sneidar via use-livecode
I just tested with htmltext. Tab stops are NOT preserved. Bob S > On Apr 8, 2019, at 07:55 , Paul Dupuis via use-livecode > wrote: > > On 4/7/2019 9:00 PM, Paul Dupuis via use-livecode wrote: >> I take it your have tried: >> >> put the rtfText of field "X" into URL >>

Re: Saving a tab formatted field to a file and retaining its formatting

2019-04-08 Thread Bob Sneidar via use-livecode
Because the tab stops are not part of the data of any formatted text properties. You can test this by creating a table field, setting the tab stops to whatever you want, typing some information, setting the clipBoardData ["rtftext"] to the rtftext of the table field, then pasting into a word

Re: Saving a tab formatted field to a file and retaining its formatting

2019-04-08 Thread Paul Dupuis via use-livecode
On 4/7/2019 9:00 PM, Paul Dupuis via use-livecode wrote: I take it your have tried: put the rtfText of field "X" into URL ("file:"("desktop")&"savedfield.rtf") And then reading it back to a new field with: set the rtfText of field "Y" to URL ("file:"("desktop")&"savedfield.rtf") and the

Re: Saving a tab formatted field to a file and retaining its formatting

2019-04-08 Thread dunbarxx via use-livecode
I am usually very good at describing problems. I am not so good at describing solutions. Craig -- Sent from: http://runtime-revolution.278305.n4.nabble.com/Revolution-User-f278306.html ___ use-livecode mailing list use-livecode@lists.runrev.com

Re: Confirm Bug in Button - iconGravity and margins

2019-04-08 Thread Sannyasin Brahmanathaswami via use-livecode
Strange, re-booted my Mac and Livecode... Set iconGravity is btn "hello" to top now works.. BR  Paul Hibbert Not seeing this behaviour here on Mac. Paul macOS Mojave 10.14.4 ___ use-livecode mailing list

Re: Saving a tab formatted field to a file and retaining its formatting

2019-04-08 Thread Roger Guay via use-livecode
That is a very clear explanation of what I think the problem is. Roger > On Apr 8, 2019, at 7:03 AM, dunbarxx via use-livecode > wrote: > > But that is a property of a field, not of text, and I do not think such > information can be similarly "transmitted", regardless of how that text is >

Re: Saving a tab formatted field to a file and retaining its formatting

2019-04-08 Thread dunbarxx via use-livecode
Aha. TabStops. Unless I am missing something, is it that the data in a tabStop formatted field is to be copied somehow, so that if loaded into a brand new field, the tabStops property is also "loaded" into that field? But that is a property of a field, not of text, and I do not think such

Re: Saving a tab formatted field to a file and retaining its formatting

2019-04-08 Thread Brian Milby via use-livecode
I don’t think it is the tab character but rather the tab stops that are the problem. Brian On Apr 8, 2019, 9:26 AM -0400, dunbarxx via use-livecode , wrote: > Hi. > > I am always missing something. Why is there an issue retaining tabs in a > body of ordinary text? > > I have a table field with

Re: Saving a tab formatted field to a file and retaining its formatting

2019-04-08 Thread dunbarxx via use-livecode
Hi. I am always missing something. Why is there an issue retaining tabs in a body of ordinary text? I have a table field with "A" & tab & "B" & tab & "C" in it. If I write that text into a file on my desktop and then load it back into the second line of that field: on mouseUp get fld 1

Re: Browser selections

2019-04-08 Thread hh via use-livecode
(Getting the selection of a browser widget: Aee my previous post). Setting the selection of a browser widget: Assume you have an element click me in your webpage. Then the following selects char 1 to 4 of the link text (= "clic"). on mouseUp put "var node =

Re: Browser selections

2019-04-08 Thread hh via use-livecode
> Is there a way to get/set selected text in a browser widget? > I couldn't find anything. Why is the LC Builder forum not among your search places? With LC Script: No. With JavaScript. Yes. http://forums.livecode.com/viewtopic.php?p=174936#p174936