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 
fullClipBoardData[“html”] for pasting into Pages. That’s exactly how I put 
together the sample posted in the forum.

By doing this I could see that to export a soft return in a cell you would need 
to use the HTML  command in place of the return within the cell.

As far as I can see, importing a table (with returns in a cell) info into 
LiveCode is much trickier, mainly because LiveCode doesn’t appear to support 
soft returns within a table cell, so the only way I can see to achieve this 
would probably involve a more complex workaround where each cell would have to 
be represented by a field object.

The part I don’t understand is how you would represent or create this data in 
LiveCode, do you have an example you could share?

Paul

> On Feb 14, 2018, at 4:02 AM, Jean-Jacques Wagner via use-livecode 
>  wrote:
> 
> 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:
> http://lists.runrev.com/mailman/listinfo/use-livecode


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

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 url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


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 impact
user productivity.

Just my 2 cents for the day.

Cheers,

Rick



On Feb 13, 2018, at 11:02 PM, Sean Cole (Pi) via use-livecode 
 wrote:


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 Cole
*Pi Digital Productions Ltd*


Yeah, I got stuck in the middle of something similar.
It's amazing to me that the entire livecode hierarchy (livecode.com, 
livecode.org, the listserv, the forums, the mail servers, the activation 
and authorization servers...) was all down for several hours. I'd like 
to see a reasonable explanation from the mothership about what happened 
and how they're going to avoid this in the future. And please don't say 
that everything goes through a single gateway with no failover.




Still can't activate a license.
An error occurred while attempting to contact the server. Please try 
again later.


Anybody home?

--
 Mark Wieder
 ahsoftw...@gmail.com

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


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 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 
> wrote:
> >
> > 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 handlers, but I AM hiding and showing the datagrids based on a
> clicked tab.
> >
> > Bob S
> >
> >
> >> On Feb 14, 2018, at 14:13 , Bob Sneidar 
> wrote:
> >>
> >> 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 displaying.
> Refreshing the datagrid does no good. Editing the columns does no good.
> Believing I have another corrupted datagrid, I saved the dgprop columns,
> column labels and widths, then deleted the Vendors datagrid, then added a
> new datagrid, then restored the rect and column properties. All is well.
> >>
> >> I closed the stack then opened it later. This time the PO Master
> datagrid had the same problem but the Vendors datagrid was fine! So I did
> the same thing with the PO Detail datagrid. Next time I opened the stack
> the vendors and po master datagrids were fine, but now the po detail
> datagrid wasn't displaying!
> >>
> >> Guess what happened when I fixed the PO detail datagrid? Yup. The
> Vendors datagrid is hosed again! This has *got* to be a display bug!!!
> >>
> >> Bob S
> >
>
>
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


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:
>> 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 think they are your best solution.
>> 
>> Without more info thats all I can do.
>> 
>> JB
>> 
>> 
>>> On Feb 14, 2018, at 4:54 AM, Richmond Mathewson via use-livecode 
>>>  wrote:
>>> 
>>> 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 which point I am quite unable to get it 
>>> to expand.
>>> 
>>> Can anyone help me in this respect?
>>> 
>>> Richmond.
>>> ___
>>> use-livecode mailing list
>>> use-livecode@lists.runrev.com
>>> Please visit this url to subscribe, unsubscribe and manage your 
>>> subscription preferences:
>>> http://lists.runrev.com/mailman/listinfo/use-livecode
>>> 
>> 
>> ___
>> use-livecode mailing list
>> use-livecode@lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your subscription 
>> preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
> 


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


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.

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 think they are your best solution.

Without more info thats all I can do.

JB



On Feb 14, 2018, at 4:54 AM, Richmond Mathewson via use-livecode 
 wrote:

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 which point I am quite unable to get it to 
expand.

Can anyone help me in this respect?

Richmond.
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode



___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


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 displaying. 
Refreshing the datagrid does no good. Editing the columns does no good. 
Believing I have another corrupted datagrid, I saved the dgprop columns, column 
labels and widths, then deleted the Vendors datagrid, then added a new 
datagrid, then restored the rect and column properties. All is well. 

I closed the stack then opened it later. This time the PO Master datagrid had 
the same problem but the Vendors datagrid was fine! So I did the same thing 
with the PO Detail datagrid. Next time I opened the stack the vendors and po 
master datagrids were fine, but now the po detail datagrid wasn't 
displaying!

Guess what happened when I fixed the PO detail datagrid? Yup. The Vendors 
datagrid is hosed again! This has *got* to be a display bug!!!

Bob S
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


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 than the table field, and that the popup is not part of the group.
But "the target" refers to the table field itself, so i'm not sure thats
whats happening.  Either way.. The following script works when put into a
card or stack, NOT group, and not in the table field itself.  Kinda freaky
that the message is sent, just not to where I expect, despite "the target"
still pointing back at the table field.

on mouseup
   getline
   pass mouseup
end mouseup
on rawkeyup
   getline
   pass rawkeyup
end rawkeyup

command getline
   if the short name of the focusedobject contains "revCell-" then
   put the short name of the focusedobject into tName
   replace "revCell-" with empty in tname
   set the cCol of the target to item 1 of tName
   set the cRow of the target to item 2 of tName
   end if
end getline


On Wed, Feb 14, 2018 at 10:19 AM, Mike Bonner  wrote:

> 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 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 then move around, you will get "2'.
>> The 2 comes because you have exited the phantom, and entered the table
>> field. But the phantom exists as long as the selection does.
>>
>> Craig
>>
>>
>>
>> --
>> Sent from: http://runtime-revolution.278305.n4.nabble.com/Revolution-
>> User-f278306.html
>>
>> ___
>> use-livecode mailing list
>> use-livecode@lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your
>> subscription preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
>>
>
>
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


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  wrote:
> 
> 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 handlers, but I AM 
> hiding and showing the datagrids based on a clicked tab. 
> 
> Bob S
> 
> 
>> On Feb 14, 2018, at 14:13 , Bob Sneidar  wrote:
>> 
>> 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 displaying. 
>> Refreshing the datagrid does no good. Editing the columns does no good. 
>> Believing I have another corrupted datagrid, I saved the dgprop columns, 
>> column labels and widths, then deleted the Vendors datagrid, then added a 
>> new datagrid, then restored the rect and column properties. All is well. 
>> 
>> I closed the stack then opened it later. This time the PO Master datagrid 
>> had the same problem but the Vendors datagrid was fine! So I did the same 
>> thing with the PO Detail datagrid. Next time I opened the stack the vendors 
>> and po master datagrids were fine, but now the po detail datagrid wasn't 
>> displaying!
>> 
>> Guess what happened when I fixed the PO detail datagrid? Yup. The 
>> Vendors datagrid is hosed again! This has *got* to be a display bug!!!
>> 
>> Bob S
> 


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


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 handlers, but I AM hiding and 
showing the datagrids based on a clicked tab. 

Bob S


> On Feb 14, 2018, at 14:13 , Bob Sneidar  wrote:
> 
> 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 displaying. 
> Refreshing the datagrid does no good. Editing the columns does no good. 
> Believing I have another corrupted datagrid, I saved the dgprop columns, 
> column labels and widths, then deleted the Vendors datagrid, then added a new 
> datagrid, then restored the rect and column properties. All is well. 
> 
> I closed the stack then opened it later. This time the PO Master datagrid had 
> the same problem but the Vendors datagrid was fine! So I did the same thing 
> with the PO Detail datagrid. Next time I opened the stack the vendors and po 
> master datagrids were fine, but now the po detail datagrid wasn't 
> displaying!
> 
> Guess what happened when I fixed the PO detail datagrid? Yup. The Vendors 
> datagrid is hosed again! This has *got* to be a display bug!!!
> 
> Bob S


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/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
> use its interface to import the dump.  IIRC livecode doesn't like sending
> multi-line sql to mysql (though it works in sqlite) so it might be possible
> to parse the file line by line and send each line in sequence.  (No clue
> what other hoops you might need to jump through to do this though. )


I wanted to use my favorite tool, Livecode, to create a script to automate this 
but making a query for each dump line is not the cleanest. 


Thanks anyway

Ludovic
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

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 mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


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, Japan

On 2018.02.15 1:04, 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 each cell in
the form of:

revCell-2,2

Parse that and voila, you have your info.

On Wed, Feb 14, 2018 at 8:35 AM, dunbarx via use-livecode <
use-livecode@lists.runrev.com> wrote:


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 into fld 2
pass rawKeyUp
end rawKeyUp

And this works fine in a button:

on mouseUp
set the itemDel to tab
select item 2 of line 2 of fld 1
answer the selectedLine of fld 1
end mouseUp

But this does not in the table field:
on rawKeyDown tKey
put "" into fld 2
put the selectedLine into fld 2
pass rawKeyDown
end rawKeyDown

I always get "line 1 of field 3"  ()

  Kluge city to get the line from the selectedLoc, but that would indeed
work.

Is it that in a table field, if only one "cell" is selected, the
selectedLine just does not compute?

Craig Newman






--
Sent from: http://runtime-revolution.278305.n4.nabble.com/
Revolution-User-f278306.html

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your
subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode



___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


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 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


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:
http://lists.runrev.com/mailman/listinfo/use-livecode


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 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 Classic 9.1.2 it expands with 
>>> Stuffit Expander for Mac OS 9 3.5
>>> into a self-expanding archive, at which point I am quite unable to get it 
>>> to expand.
>>> 
>>> Can anyone help me in this respect?
>>> 
>>> Richmond.
> 
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
> 


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

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 Classic 9.1.2 it expands with 
>> Stuffit Expander for Mac OS 9 3.5
>> into a self-expanding archive, at which point I am quite unable to get it to 
>> expand.
>> 
>> Can anyone help me in this respect?
>> 
>> Richmond.


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


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 think they are your best solution.

Without more info thats all I can do.

JB


> On Feb 14, 2018, at 4:54 AM, Richmond Mathewson via use-livecode 
>  wrote:
> 
> 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 which point I am quite unable to get it to 
> expand.
> 
> Can anyone help me in this respect?
> 
> Richmond.
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
> 


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


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 use-livecode 
>  wrote:
> 
> 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 in sqlite) so it might be possible
> to parse the file line by line and send each line in sequence.  (No clue
> what other hoops you might need to jump through to do this though. )


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


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 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 then move around, you will get "2'.
> The 2 comes because you have exited the phantom, and entered the table
> field. But the phantom exists as long as the selection does.
>
> Craig
>
>
>
> --
> Sent from: http://runtime-revolution.278305.n4.nabble.com/
> Revolution-User-f278306.html
>
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


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 in sqlite) so it might be possible
to parse the file line by line and send each line in sequence.  (No clue
what other hoops you might need to jump through to do this though. )

On Wed, Feb 14, 2018 at 9:46 AM, Ludovic THEBAULT via use-livecode <
use-livecode@lists.runrev.com> wrote:

>
> > Le 14 févr. 2018 à 17:12, Mike Bonner via use-livecode <
> use-livecode@lists.runrev.com> 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" into tPath
> > put merge(".dump [[tpath]]") into tSql
> > revexecutesql tDatabaseId, tsql
> >
> > If the dump is IN to sqlite, but is from another db (mySQL or whatever)
> it
> > might not work.
> >
> > Oh, if its sqlite and you still have access to the first database file,
> it
> > should be possible to a) open the new database, b) attach the old
> database
> > and c) copy the tables you need from one to the other, then d) detach the
> > old database and you should be good to go.
>
> Thanks, but it’s for Mysql.
>
>
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

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 then move around, you will get "2'.
The 2 comes because you have exited the phantom, and entered the table
field. But the phantom exists as long as the selection does.

Craig



--
Sent from: 
http://runtime-revolution.278305.n4.nabble.com/Revolution-User-f278306.html

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


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" into tPath
> put merge(".dump [[tpath]]") into tSql
> revexecutesql tDatabaseId, tsql
> 
> If the dump is IN to sqlite, but is from another db (mySQL or whatever) it
> might not work.
> 
> Oh, if its sqlite and you still have access to the first database file, it
> should be possible to a) open the new database, b) attach the old database
> and c) copy the tables you need from one to the other, then d) detach the
> old database and you should be good to go.

Thanks, but it’s for Mysql.


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

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
table though, the first idea works great.

Time to poke some more.

On Wed, Feb 14, 2018 at 9:28 AM, Mike Bonner  wrote:

> 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 worried that it was a property and that I'd have to dig around much
> deeper to find it, but turns out it was much more straight forward than I
> expected.
>
> On Wed, Feb 14, 2018 at 9:24 AM, dunbarx via use-livecode <
> use-livecode@lists.runrev.com> wrote:
>
>> 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 found that,
>> and if I checked the dictionary, i definitely never would have thought of
>> it.
>>
>> A table field, after all, is but a single field, and the focusedObject
>> ought
>> to return a control reference, not a non existent "cell" gizmo.
>>
>> At the very least, the dictionary should include this valuable variant of
>> the property. And the user guide should have it in bold.
>>
>> Craig
>>
>>
>>
>> --
>> Sent from: http://runtime-revolution.278305.n4.nabble.com/Revolution-
>> User-f278306.html
>>
>> ___
>> use-livecode mailing list
>> use-livecode@lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your
>> subscription preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
>>
>
>
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


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 subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


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 each cell in
the form of:

revCell-2,2

Parse that and voila, you have your info.


Brilliant. Would never have guessed that one.

--
 Mark Wieder
 ahsoftw...@gmail.com

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


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.

Cheers,

Rick




On Feb 13, 2018, at 11:02 PM, Sean Cole (Pi) via use-livecode 
 wrote:

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 Cole
*Pi Digital Productions Ltd*


Yeah, I got stuck in the middle of something similar.
It's amazing to me that the entire livecode hierarchy (livecode.com, 
livecode.org, the listserv, the forums, the mail servers, the activation 
and authorization servers...) was all down for several hours. I'd like 
to see a reasonable explanation from the mothership about what happened 
and how they're going to avoid this in the future. And please don't say 
that everything goes through a single gateway with no failover.


--
 Mark Wieder
 ahsoftw...@gmail.com

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


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 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 found that,
> and if I checked the dictionary, i definitely never would have thought of
> it.
> 
> A table field, after all, is but a single field, and the focusedObject ought
> to return a control reference, not a non existent "cell" gizmo.
> 
> At the very least, the dictionary should include this valuable variant of
> the property. And the user guide should have it in bold.
> 
> Craig
> 
> 
> 
> --
> Sent from: 
> http://runtime-revolution.278305.n4.nabble.com/Revolution-User-f278306.html
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


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 worried that it was a property and that I'd have to dig around much
deeper to find it, but turns out it was much more straight forward than I
expected.

On Wed, Feb 14, 2018 at 9:24 AM, dunbarx via use-livecode <
use-livecode@lists.runrev.com> wrote:

> 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 found that,
> and if I checked the dictionary, i definitely never would have thought of
> it.
>
> A table field, after all, is but a single field, and the focusedObject
> ought
> to return a control reference, not a non existent "cell" gizmo.
>
> At the very least, the dictionary should include this valuable variant of
> the property. And the user guide should have it in bold.
>
> Craig
>
>
>
> --
> Sent from: http://runtime-revolution.278305.n4.nabble.com/
> Revolution-User-f278306.html
>
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


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 found that,
and if I checked the dictionary, i definitely never would have thought of
it.

A table field, after all, is but a single field, and the focusedObject ought
to return a control reference, not a non existent "cell" gizmo.

At the very least, the dictionary should include this valuable variant of
the property. And the user guide should have it in bold.

Craig



--
Sent from: 
http://runtime-revolution.278305.n4.nabble.com/Revolution-User-f278306.html

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


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 use-livecode 
>  wrote:
> 
> 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 Cole
> *Pi Digital Productions Ltd*

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


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 from another db (mySQL or whatever) it
might not work.

Oh, if its sqlite and you still have access to the first database file, it
should be possible to a) open the new database, b) attach the old database
and c) copy the tables you need from one to the other, then d) detach the
old database and you should be good to go.

On Wed, Feb 14, 2018 at 8:31 AM, Ludovic THEBAULT via use-livecode <
use-livecode@lists.runrev.com> wrote:

> 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
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

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 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


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, you have your info.

On Wed, Feb 14, 2018 at 8:35 AM, dunbarx via use-livecode <
use-livecode@lists.runrev.com> wrote:

> 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 into fld 2
>pass rawKeyUp
> end rawKeyUp
>
> And this works fine in a button:
>
> on mouseUp
>set the itemDel to tab
>select item 2 of line 2 of fld 1
>answer the selectedLine of fld 1
> end mouseUp
>
> But this does not in the table field:
> on rawKeyDown tKey
>put "" into fld 2
>put the selectedLine into fld 2
>pass rawKeyDown
> end rawKeyDown
>
> I always get "line 1 of field 3"  ()
>
>  Kluge city to get the line from the selectedLoc, but that would indeed
> work.
>
> Is it that in a table field, if only one "cell" is selected, the
> selectedLine just does not compute?
>
> Craig Newman
>
>
>
>
>
>
> --
> Sent from: http://runtime-revolution.278305.n4.nabble.com/
> Revolution-User-f278306.html
>
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


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 into fld 2
   pass rawKeyUp
end rawKeyUp

And this works fine in a button:

on mouseUp
   set the itemDel to tab
   select item 2 of line 2 of fld 1
   answer the selectedLine of fld 1
end mouseUp

But this does not in the table field:
on rawKeyDown tKey
   put "" into fld 2
   put the selectedLine into fld 2
   pass rawKeyDown
end rawKeyDown

I always get "line 1 of field 3"  ()

 Kluge city to get the line from the selectedLoc, but that would indeed
work.

Is it that in a table field, if only one "cell" is selected, the
selectedLine just does not compute?

Craig Newman






--
Sent from: 
http://runtime-revolution.278305.n4.nabble.com/Revolution-User-f278306.html

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


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
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

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 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? Rawkeyups and downs are being sent, but I have been 
unsuccessful in trapping them in the table field's script.


Any ideas?
Much appreciated.

Tim Selander
Tokyo, Japan

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your 
subscription preferences:

http://lists.runrev.com/mailman/listinfo/use-livecode


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


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? Rawkeyups and downs are being sent, 
but I have been unsuccessful in trapping them in the table 
field's script.


Any ideas?
Much appreciated.

Tim Selander
Tokyo, Japan

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


[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 which point I am quite unable to get 
it to expand.


Can anyone help me in this respect?

Richmond.
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


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. 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
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

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
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


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:
http://lists.runrev.com/mailman/listinfo/use-livecode


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

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 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 have a
startup script that goes
something like this:

set the width of stack "revInspectorTemplate" to 300
set the width of stack "revInspectorTemplate" to 500

HOWEVER: having just tried that, it doesn't seem to work.

Doing this:

set the width of stack "revInspector" to 300
set the width of stack "revInspector" to 500

while resizing the stack "revInspector" doesn't affect the Properties
palette.

Where am I getting things wrong?

Richmond.

On 14/2/2018 3:59 am, Mark Wieder via use-livecode wrote:


On 02/13/2018 02:19 PM, panagiotis merakos via use-livecode wrote:


Hi Richard,

This is probably a bug. We were discussing that with Mark Wieder in this
report: http://quality.livecode.com/show_bug.cgi?id=19880

If you are on Ubuntu and have found a reproducible recipe please add it
to
the report :)


Yes, please do. Panos can't replicate the problem. I *think* I have it
narrowed down to the resize routines in the behavior script, but I haven't
had time yet to delve any deeper.

I *did* find that narrowing the width down to the minimum and then
resizing works better than not, and that seems like a clue.



___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your
subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


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 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 have a
> startup script that goes
> something like this:
>
> set the width of stack "revInspectorTemplate" to 300
> set the width of stack "revInspectorTemplate" to 500
>
> HOWEVER: having just tried that, it doesn't seem to work.
>
> Doing this:
>
> set the width of stack "revInspector" to 300
> set the width of stack "revInspector" to 500
>
> while resizing the stack "revInspector" doesn't affect the Properties
> palette.
>
> Where am I getting things wrong?
>
> Richmond.
>
> On 14/2/2018 3:59 am, Mark Wieder via use-livecode wrote:
>
>> On 02/13/2018 02:19 PM, panagiotis merakos via use-livecode wrote:
>>
>>> Hi Richard,
>>>
>>> This is probably a bug. We were discussing that with Mark Wieder in this
>>> report: http://quality.livecode.com/show_bug.cgi?id=19880
>>>
>>> If you are on Ubuntu and have found a reproducible recipe please add it
>>> to
>>> the report :)
>>>
>>
>> Yes, please do. Panos can't replicate the problem. I *think* I have it
>> narrowed down to the resize routines in the behavior script, but I haven't
>> had time yet to delve any deeper.
>>
>> I *did* find that narrowing the width down to the minimum and then
>> resizing works better than not, and that seems like a clue.
>>
>>
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


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 have a 
startup script that goes

something like this:

set the width of stack "revInspectorTemplate" to 300
set the width of stack "revInspectorTemplate" to 500

HOWEVER: having just tried that, it doesn't seem to work.

Doing this:

set the width of stack "revInspector" to 300
set the width of stack "revInspector" to 500

while resizing the stack "revInspector" doesn't affect the Properties 
palette.


Where am I getting things wrong?

Richmond.

On 14/2/2018 3:59 am, Mark Wieder via use-livecode wrote:

On 02/13/2018 02:19 PM, panagiotis merakos via use-livecode wrote:

Hi Richard,

This is probably a bug. We were discussing that with Mark Wieder in this
report: http://quality.livecode.com/show_bug.cgi?id=19880

If you are on Ubuntu and have found a reproducible recipe please add 
it to

the report :)


Yes, please do. Panos can't replicate the problem. I *think* I have it 
narrowed down to the resize routines in the behavior script, but I 
haven't had time yet to delve any deeper.


I *did* find that narrowing the width down to the minimum and then 
resizing works better than not, and that seems like a clue.




___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


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 to the
same SDK path that worked fine with LC 8.1.8. The newer LC says it's
invalid.

So, I try to continue my Android work by going back to LC 8.1.8. But I
can't! Because the SDK path there has been erased from Preferences > Mobile.

Why was it erased? It had been working fine for months?!?

Finally, I try to re-enter the EXACT SAME SDK path into LC 8.1.8 -- a path
that I made sure to copy down in a txt file beforehand -- but LC tells me
it's now invalid.

How can a previously working SDK (and JDK) path suddenly be invalid?
Nothing in my Windows setup has changed between 9AM and 12PM.

BTW, on my Mac setup, no problem. I likewise updated to LC8.1.9 this
morning. And though the license can't be activated -- the forums are down
too so maybe there's a server problem at livecode.com -- at least I can
continue my Android work on my Mac because, in LC8.1.8, the SDK path wasn't
erased.

But maybe it will be after activation?!?!?!

Anyway, while I await this magically resolving itself like it did with the
8.1.0 to 8.1.8 change, I thought I'd post here and see if someone can help.

Thanks.

--
Nicolas Cueto
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/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:

​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 <
use-livecode@lists.runrev.com> wrote:


On 1/31/18 5:23 PM, Nicolas Cueto via use-livecode wrote:


I test my mobile stacks on a Nexus 5, and, in portrait orientation, many
bottom pixels are offscreen, even though for width and height I follow
exactly the numbers given in dp at the website Device Metrics
 .

Why is it cut off? And how can I avoid this? Is there an LC keyword, like
"effective" or "working", that I should be including if so, how?


Probably the area occupied by the status bar is pushing the stack down.
Get "the working screenrect" to find out the actual screen dimensions your
stack can use.

Since every Android device is different, it's usually easier to set the
fullscreenMode to "showAll" and let the LC engine adjust the size.


--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software   | http://www.hyperactivesw.com


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your
subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

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 <
use-livecode@lists.runrev.com> wrote:

> On 1/31/18 5:23 PM, Nicolas Cueto via use-livecode wrote:
>
>> I test my mobile stacks on a Nexus 5, and, in portrait orientation, many
>> bottom pixels are offscreen, even though for width and height I follow
>> exactly the numbers given in dp at the website Device Metrics
>>  .
>>
>> Why is it cut off? And how can I avoid this? Is there an LC keyword, like
>> "effective" or "working", that I should be including if so, how?
>>
>
> Probably the area occupied by the status bar is pushing the stack down.
> Get "the working screenrect" to find out the actual screen dimensions your
> stack can use.
>
> Since every Android device is different, it's usually easier to set the
> fullscreenMode to "showAll" and let the LC engine adjust the size.
>
>
> --
> Jacqueline Landman Gay | jac...@hyperactivesw.com
> HyperActive Software   | http://www.hyperactivesw.com
>
>
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

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 Cole
*Pi Digital Productions Ltd*
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


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,
> I did it in pages and its works. I had an other problem with the soft-return, 
> it is to import text with lines in the same cells. 
> 
> Can somebody tell me, how to do this. I tried with several chars, also 16 
> bits chars and never succeed.
> 
> Tanks
> 
> JJW
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

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 feel… I sometimes wonder about the huge effort 
going having the entire interface be some perfect match for iOS or 
MaterialDesign. If you are trying to do a utilitarian app, that needs to fit 
that genre of apps, maybe that would be ideal; but I've even started 
deprecating the native picker and use a translucent field or buttons in a 
group, instead, for short sets of choices.

Sometimes the native look and feel doesn't "match" with the look and feel of 
the app. I also don't buy that attitude (I could be wrong) where someone 
comments that "that's not the way apple does it" -- users don't really seem to 
care and we can make it "prettier"  and users actually think that, having it 
work differently is more cool and "lovely"

Fortunately, LC makes this easy.

BR



 

On 10/7/17, 5:59 AM, "use-livecode on behalf of Brian Milby via use-livecode" 
 wrote:

I've posted a PR that should address this issue:
https://github.com/livecode/livecode/pull/6044
I created a stack with a segmented control with a substack with a segmented
control.  As you described, the hiliteChanged message was dispatched for
both controls upon opening the stack.  In my case, I observed the substack
message coming first and then the parent stack message.  If you would like
assistance testing to see if the change corrects your situation, let me
know (there should just be 2 files that need to be replaced in your DP9
install).

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode