Re: how to format text for copy-pasting as a spreadsheet table

2018-02-14 Thread Jean-Jacques Wagner via use-livecode
Hi, primarely from live code to pages, but also from pages to live code Thanks JJW ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences:

Getting current line number of a table field.

2018-02-14 Thread Tim Selander via use-livecode
Hi, Editing a table field (not datagrid) and need to track the number of the line that is being edited. If I click into a new line, "selectionchanged" will let me figure out what line I'm editing. But if I hit return or tab to go to a new line, how can I track what line the cursor is in?

Re: Getting current line number of a table field.

2018-02-14 Thread Richmond Mathewson via use-livecode
Hey-Ho . . . I tried this script in the tableField: on mouseDown put the selectedLine of me end mouseDown and it returned the line where I clicked. Richmond. On 14/2/2018 3:06 pm, Tim Selander via use-livecode wrote: Hi, Editing a table field (not datagrid) and need to track the number

[OT] self-expanding archives in Mac Classic

2018-02-14 Thread Richmond Mathewson via use-livecode
I have just downloaded a phonetic font I used in 1994 on Mac OS 7.1 when I was doing a Masters degree at SIUC Carbondale. It comes as a .cpt.hqx file. On my iMac PPC G5 running Mac OS 10.4.11 and Classic 9.1.2 it expands with Stuffit Expander for Mac OS 9 3.5 into a self-expanding archive, at

Re: Segmented Control Bugs?

2018-02-14 Thread Sannyasin Brahmanathaswami via use-livecode
Thanks, but for now I completely removed it and went back to the "old fashioned" way: three buttons in a group side by side…catch the target. Works like a charm for this use case, not quite as perfect native look and feel on devices, but still looks quite good. Side thoughts on native look and

Re: Inspector - resizable or not?

2018-02-14 Thread Richmond Mathewson via use-livecode
If by "Inspector" you mean what I think of as the "Properties Palette" on Xubuntu 17.10 I always (8.1.9) get a fairly "normal" thing when I first open it. I can increase the WIDTH of the Inspector, but I cannot increase its HEIGHT. I would suppose (?) a "happy little work around" might be to

Re: how to format text for copy-pasting as a spreadsheet table

2018-02-14 Thread Paul Hibbert via use-livecode
Could you give a little more info… Do you want to import from Pages into LiveCode or import from LiveCode into Pages? Paul Paul p...@livecode.org Mac OS Sierra 10.12.1 > On Feb 13, 2018, at 3:14 AM, Jean-Jacques Wagner via use-livecode > wrote: > > Hallo, >

Livecode.com server down

2018-02-14 Thread Sean Cole (Pi) via use-livecode
Hi all, Just tried activating the latest version of LC but the server is apparently down. Needed to urgently create an iOS standalone for XCode 9.2 but stopped in my tracks. The downloads page and the whole livecode.com site is not responding. Sigh. Now need to explain this to my client. Sean

Re: Inspector - resizable or not?

2018-02-14 Thread panagiotis merakos via use-livecode
@Richmond The ability to resize the property inspector vertically was introduced in LC 9 DP-7: https://github.com/livecode/livecode-ide/pull/1566/files Panos -- On Wed, Feb 14, 2018 at 9:32 AM, Richmond Mathewson via use-livecode < use-livecode@lists.runrev.com> wrote: > If by "Inspector" you

updating LC on Windows breaks SDK path

2018-02-14 Thread Nicolas Cueto via use-livecode
A previously working setup for Android development on Windows has suddenly stopped working. Again! Twice this has happened. First, back in January, when updating from 8.1.0 to 8.1.8, and now this morning, from 8.1.8 to 8.1.9. First sign of a problem is I can't point LC 8.1.9 after installation

Re: Inspector - resizable or not?

2018-02-14 Thread Richmond Mathewson via use-livecode
Aha. Thanks. I wonder why it was restricted in the first place. Richmond. On 14/2/2018 11:41 am, panagiotis merakos via use-livecode wrote: @Richmond The ability to resize the property inspector vertically was introduced in LC 9 DP-7: https://github.com/livecode/livecode-ide/pull/1566/files

Re: discrepancy between official device metric and LC stack size

2018-02-14 Thread Nicolas Cueto via use-livecode
​Ok. Took Jacque's advice​, and my stack's working screenRect is 0,24,360,592. Now I'm unsure whether my stack's size is 360 x 592, or (width = item 3 - item) x (height = item 4 -item 2). Thanks. -- Nicolas Cueto On 2 February 2018 at 17:53, J. Landman Gay via use-livecode <

Re: discrepancy between official device metric and LC stack size

2018-02-14 Thread Richmond Mathewson via use-livecode
As my school Maths teacher said, many years ago: "You go into the house before going up the stairs." Although, to be fair, LiveCode is a bit warped insofar as you "go into the house, and then down into the cellar." Best, Richmond. On 14/2/2018 7:33 am, Nicolas Cueto via use-livecode wrote:

Re: Livecode.com server down

2018-02-14 Thread Rick Harrison via use-livecode
Hi Sean, I have gone back to using the manual method of activating LC for that very reason. You may want to do this in the near future. LC server downtime should never impact user productivity. Just my 2 cents for the day. Cheers, Rick > On Feb 13, 2018, at 11:02 PM, Sean Cole (Pi) via

Re: Getting current line number of a table field.

2018-02-14 Thread Mike Bonner via use-livecode
Try this... on rawkeyup pkey send "getline" to me in 10 millisec pass rawkeyup end rawkeyup command getline put the short name of the focusedobject end getline This gives you the name of the editing field that appears for each cell in the form of: revCell-2,2 Parse that and voila,

Mysql load dump

2018-02-14 Thread Ludovic THEBAULT via use-livecode
Hello, I want to load a dump from an livecode app but i don’t know how to do it. I’ve tried : answer file « Your dump :" put "source " & quote & it & quote into tSQL revExecuteSQL tDatabaseID, tSQL Without success. Any ideas ? Thanks ___

Re: Mysql load dump

2018-02-14 Thread Mike Bonner via use-livecode
If this is sqlite, you might be able to use the .read dot command.. (note the nearly invisible period that begins .read) Untested, but this might work. put "path/to/dump.sql" into tPath put merge(".dump [[tpath]]") into tSql revexecutesql tDatabaseId, tsql If the dump is IN to sqlite, but is

Re: LC-Magick #11

2018-02-14 Thread Jim Lambert via use-livecode
The LC-Magick Collection is very useful and instructional. Herman et al, Thank you so much for this. Jim Lambert ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription

Re: Getting current line number of a table field.

2018-02-14 Thread dunbarx via use-livecode
You know, this proved more of a problem than I thought. Richmond, the issue is with tab and return keyPresses, not mouse clicks. Anyway, given a table field 1 and another field 2, this works if you tab or return in the table field: on rawKeyUp tKey put the selectedLoc && the selectedChunk

Re: Getting current line number of a table field.

2018-02-14 Thread dunbarx via use-livecode
You know, I have given advice many times to people trying to find the selected field in a DG. The target is always of the form, for example, "field Col 3 0005". But how does the focussedObject return similar data in a table field? The fact that is does is marvelous indeed, but I never would have

Re: Getting current line number of a table field.

2018-02-14 Thread Bob Sneidar via use-livecode
the mouseControl will give you the control number. If you get the long id of control (word 2 of the mouseControl) you will have the clicked object. Courtesy Trevor Devore. Bob S > On Feb 14, 2018, at 08:24 , dunbarx via use-livecode > wrote: > > You know, I

Levure update 0.9.5

2018-02-14 Thread Trevor DeVore via use-livecode
Howdy folks, Version 0.9.5 of the Levure framework is now available. https://github.com/trevordevore/levure/releases -- Trevor DeVore ScreenSteps www.screensteps.com ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to

Re: Mysql load dump

2018-02-14 Thread Mike Bonner via use-livecode
DOH, I see it in the subject now. If you can get to a command line where the db server resides, you can use the mysql client to do the import, or if phpmyadmin is available, you can use its interface to import the dump. IIRC livecode doesn't like sending multi-line sql to mysql (though it works

Re: Getting current line number of a table field.

2018-02-14 Thread Mike Bonner via use-livecode
Hmm. There is a potential issue that would need to be worked around. The field name is the same whether one has a single table field or 12. Perhaps watching focus changes? I'm back to thinking there is a property that tracks which field to update on close of the editing overlay. For a single

Re: Getting current line number of a table field.

2018-02-14 Thread dunbarx via use-livecode
The extra field is what I once called a "phantom" field, ephemeral and elusive. But it does exist: In a table field script: on mouseEnter put the number of flds end mouseEnter If you move around the table field without a selection, you get 1, If you click on a "cell" to "select" it, and

Re: Mysql load dump

2018-02-14 Thread Bob Sneidar via use-livecode
mySQLWorkbench has an import/export feature you may be able to use. It's free. If you are trying to build this feature into LC, I would attempt the sql syntax in an editor on a test database first and see if it generates any errors. Bob S > On Feb 14, 2018, at 09:18 , Mike Bonner via

Re: Getting current line number of a table field.

2018-02-14 Thread Mark Wieder via use-livecode
On 02/14/2018 08:04 AM, Mike Bonner via use-livecode wrote: Try this... on rawkeyup pkey send "getline" to me in 10 millisec pass rawkeyup end rawkeyup command getline put the short name of the focusedobject end getline This gives you the name of the editing field that appears for

Re: Livecode.com server down

2018-02-14 Thread Mark Wieder via use-livecode
On 02/14/2018 08:16 AM, Rick Harrison via use-livecode wrote: Hi Sean, I have gone back to using the manual method of activating LC for that very reason. You may want to do this in the near future. LC server downtime should never impact user productivity. Just my 2 cents for the day.

iOS sim orientation.

2018-02-14 Thread Pi Digital via use-livecode
Hi all Has orientation on the iPad simulator stopped working now? In Xcode 9.1, LC 8.1.8, iPad ios11. When it rotates the orientation is detected and resizes but the display does not rotate. Orientation is unlocked. Any help appreciated. Sean Cole Pi Digital

Re: iOS sim orientation. Retraction

2018-02-14 Thread Pi Digital via use-livecode
My bad! I’d doubled up an orientation lock command. All sorted. Sean Cole Pi Digital > On 14 Feb 2018, at 12:21, Pi Digital via use-livecode > wrote: > > Hi all > Has orientation on the iPad simulator stopped working now? In Xcode 9.1, LC > 8.1.8, iPad ios11.

Unicode Stretch

2018-02-14 Thread Richmond Mathewson via use-livecode
Does numToCodePoint "stretch" to Supplementary Private Use Area-B (plane 16) Range: 10-10FFFD Richmond. ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription

Re: Getting current line number of a table field.

2018-02-14 Thread Tim Selander via use-livecode
Hi Mike, Thanks! I put the script in the table field itself with no luck. But when I moved it to the card script, it works! Great! I never would have come up with that in a million years. This list is fantastic. Oh, and I just re-named the table field to "Opera" ;-) Tim Selander Tokyo,

Re: Unicode Stretch

2018-02-14 Thread Richmond Mathewson via use-livecode
Answering my own post (nothing new in this area): YES! Richmond. On 15/2/2018 12:51 am, Richmond Mathewson wrote: Does numToCodePoint "stretch" to Supplementary Private Use Area-B (plane 16) Range: 10-10FFFD Richmond. ___ use-livecode

Re: Mysql load dump

2018-02-14 Thread Ludovic THEBAULT via use-livecode
> Le 14 févr. 2018 à 18:18, Mike Bonner via use-livecode > a écrit : > > DOH, I see it in the subject now. > > If you can get to a command line where the db server resides, you can use > the mysql client to do the import, or if phpmyadmin is available, you can >

Re: New Wierd Display Bug

2018-02-14 Thread Bob Sneidar via use-livecode
UPDATE: If I show invisible objects, the datagrid header becomes visible. So I set the visible of group "dgHeader" of the respective datagrid to true and it appears again. The question is, what is hiding it??? I checked my scripts and I am not even referring to the dgHeader group in my

Re: New Wierd Display Bug

2018-02-14 Thread Bob Sneidar via use-livecode
AHH HAA HAAHHAHHAA@! I just figured out why I have this problem!! One of my tabs is called Header. My script assumes the datagrid is named "dg" and the name of the tab. So I end up hiding group "dgHeader". BAAH HAHAHA HAHA HAHAAHAHA@ Bob S > On Feb 14, 2018, at 15:35 , Bob Sneidar

Re: Getting current line number of a table field.

2018-02-14 Thread Mike Bonner via use-livecode
a table field ISN'T a single field, its a field bundled with an extra "editing" field that pops up as an overlay. I figured there had to be a way to pass the cell data back to the field proper, and poked around till I found out that the transfer mechanism is the name of the overlay field. I was

Re: Mysql load dump

2018-02-14 Thread Ludovic THEBAULT via use-livecode
> Le 14 févr. 2018 à 17:12, Mike Bonner via use-livecode > a écrit : > > If this is sqlite, you might be able to use the .read dot command.. (note > the nearly invisible period that begins .read) > > Untested, but this might work. > > put "path/to/dump.sql"

Re: Getting current line number of a table field.

2018-02-14 Thread Mike Bonner via use-livecode
For some reason I now want to name a table field "Opera." On Wed, Feb 14, 2018 at 10:09 AM, dunbarx via use-livecode < use-livecode@lists.runrev.com> wrote: > The extra field is what I once called a "phantom" field, ephemeral and > elusive. But it does exist: > > In a table field script: > > on

Re: [OT] self-expanding archives in Mac Classic

2018-02-14 Thread JB via use-livecode
What type of self expanding archive? There are different versions of stuffit expander and it might be a disk image that needs to be mounted. Macintosh Garden has expanders and image mounters for just about any type of archive. They have a search engine that will show a lot of applications and I

Re: [OT] self-expanding archives in Mac Classic

2018-02-14 Thread Bob Sneidar via use-livecode
It's an OS 9 executable. Unless you can open it in SheepShaver or some emulator, I think you will have to open it in a computer running OS 9. Bob S > On Feb 14, 2018, at 10:53 , JB via use-livecode > wrote: > >> On my iMac PPC G5 running Mac OS 10.4.11 and

Re: [OT] self-expanding archives in Mac Classic

2018-02-14 Thread JB via use-livecode
I have not used Classic OS 9 in years but since he is using it why won’t it work in that? JB > On Feb 14, 2018, at 11:12 AM, Bob Sneidar via use-livecode > wrote: > > It's an OS 9 executable. Unless you can open it in SheepShaver or some > emulator, I think

Re: [OT] self-expanding archives in Mac Classic

2018-02-14 Thread Bob Sneidar via use-livecode
Is this something like what you are looking for? https://www.vulgarlang.com/ipafonts.html Bob S ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences:

Re: [OT] self-expanding archives in Mac Classic

2018-02-14 Thread Richmond Mathewson via use-livecode
Actually I managed to find a way to get Stuffit expander 3.5 on Mac OS 9 to do the job :) Richmond. On 14/2/2018 8:53 pm, JB via use-livecode wrote: What type of self expanding archive? There are different versions of stuffit expander and it might be a disk image that needs to be mounted.

Re: Getting current line number of a table field.

2018-02-14 Thread Mike Bonner via use-livecode
Found an interesting behavior.. I was trying to set up a custom control that keeps track of the current row and column and put the script in the group, but rawkeyup or rawkeydown messages never reach the group. I'm wondering if its because the message is sent to the figmentary popup field rather

New Wierd Display Bug

2018-02-14 Thread Bob Sneidar via use-livecode
Hi all. I have 3 datagrids on a card, one for vendors, one for purchase order master records, and a third for po detail records. That's not important now. What IS important is that when I attempted to do some work on the card, I noticed the header labels for the vendors datagrid were not

Re: [OT] self-expanding archives in Mac Classic

2018-02-14 Thread JB via use-livecode
That is good! JB > On Feb 14, 2018, at 1:21 PM, Richmond Mathewson via use-livecode > wrote: > > Actually I managed to find a way to get Stuffit expander 3.5 on Mac OS 9 to > do the job :) > > Richmond. > > On 14/2/2018 8:53 pm, JB via use-livecode wrote: >>

Re: New Wierd Display Bug

2018-02-14 Thread Tom Glod via use-livecode
sounds like a great time bob :) On Wed, Feb 14, 2018 at 6:39 PM, Bob Sneidar via use-livecode < use-livecode@lists.runrev.com> wrote: > AHH HAA HAAHHAHHAA@! I just figured out why I have this problem!! One of > my tabs is called Header. My script assumes the datagrid is named "dg" and > the name

Re: New Wierd Display Bug

2018-02-14 Thread Mark Wieder via use-livecode
On 02/14/2018 05:06 PM, Tom Glod via use-livecode wrote: sounds like a great time bob :) Yeah. Somebody's been having too much fun. -- Mark Wieder ahsoftw...@gmail.com ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this

Re: how to format text for copy-pasting as a spreadsheet table

2018-02-14 Thread Paul Hibbert via use-livecode
The best place to start is by analysing the clipBoard data, in this case, copy a small table from Pages and then look at the fullClipBoardData[“html”] in LiveCode to see how the table is represented as html. You can then use this as a model to build a table in html and place it on the

Re: Livecode.com server down

2018-02-14 Thread Mark Wieder via use-livecode
On 02/14/2018 08:36 AM, Mark Wieder via use-livecode wrote: On 02/14/2018 08:16 AM, Rick Harrison via use-livecode wrote: Hi Sean, I have gone back to using the manual method of activating LC for that very reason. You may want to do this in the near future. LC server downtime should never