Re: revigniter.com - Temporarily closed for maintenance purposes.

2019-11-13 Thread Riko Abadi via use-livecode
Sory Ralf.
I thought the revigniter site was closed but now I know it's just for
maintenance.
Thanks made revigniter come back to life.

Pada tanggal Rab, 13 Nov 2019 pukul 20.05 Ralf Bitter via use-livecode <
use-livecode@lists.runrev.com> menulis:

> Sorry, I should have read the subject. So, of course
> the uncertainty comes from the closed site.
>
> Ralf
>
> > On 13. Nov 2019, at 13:55, Ralf Bitter via use-livecode <
> use-livecode@lists.runrev.com> wrote:
> >
> > Hi Riko,
> >
> > don’t know where the uncertainty comes from. May be because
> > the official site was closed for maintenance purposes.
>
> ___
> 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


unable to locate the play service dependency base version 9.4.0

2019-11-13 Thread Todd Fabacher via use-livecode
In 9.5 stable I have added the Android barcode widget. With that and a
button just to test it. But when I try and compile I get an error
message:

unable to locate the play service dependency base version 9.4.0

Am I missing something?  - Any help would be appreciated. I am under
the gun and I  need to get barcode working on Android.

--Todd

___
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: Commands on server and lack of examples

2019-11-13 Thread Richard Gaskin via use-livecode

JJS wrote:
> Op 12-11-2019 om 19:34 schreef Brian Milby via use-livecode:
>> Unless you are doing a HTML5 app (entire stack resides in a web
>> page), none of the GUI stuff applies.  The LC code is pretty much
>> a replacement for PHP code, so the GUI piece would be the same
>> (whatever HTML/JS frameworks you choose).
>
> So actually the Dictionary needs some updates of stuff that is not an
> error but also doing nothing when used on server.

GUI elements can be useful in LC Server for creating custom screen 
shots, which can be exported and that file data returned to the client 
for display in a browser or an LC app.


That's the good news.

That bad news is that 100% of all LC Server use is slower than it needs 
to be because it's initializing fonts for the 0.001% of CGIs using 
custom graphics export with specified fonts.


I've discussed the situation with several people at LC Ltd, and while 
they're not in a position to put a solution in place right now they are 
quite open to accepting a pull request for it, which should be a 
relatively simple matter for anyone with C++ skills.


I've outlined the problem and the proposed solution in detail here:

http://lists.runrev.com/pipermail/use-livecode/2019-March/253723.html


--
 Richard Gaskin
 Fourth World Systems
 Software Design and Development for the Desktop, Mobile, and the Web
 
 ambassa...@fourthworld.comhttp://www.FourthWorld.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: Y coordinate for a line of text

2019-11-13 Thread J. Landman Gay via use-livecode

On 11/13/19 10:11 AM, dunbarx--- via use-livecode wrote:

The selectedLoc will give the loc in window coordinates, not the "local" Y 
coordinate within the field of interest, which is what I thought you wanted. I cannot 
imagine what value that would have, since it depends on where the stack window is 
currently placed.
Craig


SelectedLoc uses local (card) coordinates, not screen coordinates. It 
does not give coordinates relative to the field itself though, as you 
said. It doesn't matter where the stack is placed on screen since the 
coordinates are based on the topleft of the card.


I've used it for aligning other controls, like a semi-transparent field 
to simulate "dragging" a line of text.


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


Re: Y coordinate for a line of text

2019-11-13 Thread dunbarx--- via use-livecode
Mark,
Yep, that will do the translation. But I am no longer sure what the OP 
originally wanted.
OP?
Craig


-Original Message-
From: Mark Wieder via use-livecode 
To: dunbarx--- via use-livecode 
Cc: Mark Wieder 
Sent: Wed, Nov 13, 2019 11:20 am
Subject: Re: Y coordinate for a line of text

On 11/13/19 8:11 AM, dunbarx--- via use-livecode wrote:
> The selectedLoc will give the loc in window coordinates, not the "local" Y 
> coordinate within the field of interest, which is what I thought you wanted. 
> I cannot imagine what value that would have, since it depends on where the 
> stack window is currently placed.

localLoc()

-- 
  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
___
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: Y coordinate for a line of text

2019-11-13 Thread Mark Wieder via use-livecode

On 11/13/19 8:11 AM, dunbarx--- via use-livecode wrote:

The selectedLoc will give the loc in window coordinates, not the "local" Y 
coordinate within the field of interest, which is what I thought you wanted. I cannot 
imagine what value that would have, since it depends on where the stack window is 
currently placed.


localLoc()

--
 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: Disappearing "column lables" of Datagrid

2019-11-13 Thread Klaus major-k via use-livecode
Hi Zryip,

> Am 13.11.2019 um 17:08 schrieb zryip theSlug via use-livecode 
> :
> 
> Hi Klaus,
> 
> This should be "resetList"
> *send* "resetList" to grp "datagrid 1"

thank you, will try this.

Five  minutes later...
Seems to work, muchas gracias! :-)

> Do you have a custom header script? You can check this by using this
> command:
> *put* the dgProp["default header behavior"] of grp "datagrid 1"

No header scripts involved.

> Best Regards,
> 
> On Wed, Nov 13, 2019 at 1:26 PM Klaus major-k via use-livecode <
> use-livecode@lists.runrev.com> wrote:
> 
>> Hi all,
>> 
>>> Am 12.11.2019 um 17:59 schrieb Klaus major-k via use-livecode <
>> use-livecode@lists.runrev.com>:
>>> 
>>> Hi friends,
>>> 
>>> what might cause the fact that in my datagrids on card 2
>>> the "column labels" disapear whenever I (re-)open that stack
>>> 
>>> NO scripting involved so far, the labels are just gone!?
>>> 
>>> "refreshline/refreshindex/refreshlist" does NOT work in a script.
>>> I have to click "Refresh" in the inspector for these two datagrids
>>> to make then appear again. This is driving me crazy! :-/
>>> 
>>> macOS 10.14.6, LC 9.0.5, same with LC 9.5.
>>> Thanks for any hints.
>> 
>> this is a real showstopper for my current project! :-/
>> 
>> Maybe someone knows what command(s) is/are hiding behind the
>> "refresh" button in the inspector for a datagrid?
>> Or where in the may behavior scripts I will find the answer?
>> 
>> Clicking that button seems to be the only way to make the labels appear
>> again.

Best

Klaus

--
Klaus Major
https://www.major-k.de
kl...@major-k.de


___
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: Y coordinate for a line of text

2019-11-13 Thread dunbarx--- via use-livecode
The selectedLoc will give the loc in window coordinates, not the "local" Y 
coordinate within the field of interest, which is what I thought you wanted. I 
cannot imagine what value that would have, since it depends on where the stack 
window is currently placed.
Craig


-Original Message-
From: scott--- via use-livecode 
To: How to use LiveCode 
Cc: sc...@elementarysoftware.com 
Sent: Tue, Nov 12, 2019 10:12 pm
Subject: Re: Y coordinate for a line of text

Thank you Craig and Paul. Your answers were what I was hoping for. Devin, it 
turned out that selectedLoc() was the easiest to implement. How did I not know 
about that function!
Thanks!

Scott Morrow

Elementary Software
(Now with 20% less chalk dust!)
web      https://elementarysoftware.com/
email    sc...@elementarysoftware.com
booth    1-800-615-0867
--



> On Nov 12, 2019, at 8:46 AM, Devin Asay via use-livecode 
>  wrote:
> 
> The selectedLoc function may also be helpful.
> 
> 
>> On Nov 12, 2019, at 7:27 AM, Paul Dupuis via use-livecode 
>>  wrote:
>> 
>> You may want to look at the Dictionary entry for "measureText"
>> 
>> 
>> On 11/12/2019 1:43 AM, scott--- via use-livecode wrote:
>>> I’m needing to know the coordinate (Y is the tricky one) for a line of 
>>> text. I’m not do a very good job at calculating it. I think I remember a 
>>> newish LC command or function that achieved this but I can’t locate it in 
>>> the dictionary. Am I imagining?
>>> 
>>> --
>>> Scott Morrow
>>> 
>>> Elementary Software
>>> (Now with 20% less chalk dust!)
>>> web      https://elementarysoftware.com/
>>> email    sc...@elementarysoftware.com
>>> booth    1-800-615-0867
>>> 
>>> --
>>> 
>>> 
>>> 
>>> 
>>> 
>>> 
>>> 
>>> 
>>> ___
>>> 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
> 
> Devin Asay
> Director
> Office of Digital Humanities
> Brigham Young University
> 
> ___
> 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: Disappearing "column lables" of Datagrid

2019-11-13 Thread zryip theSlug via use-livecode
Hi Klaus,

This should be "resetList"

*send* "resetList" to grp "datagrid 1"

Do you have a custom header script? You can check this by using this
command:

*put* the dgProp["default header behavior"] of grp "datagrid 1"


Best Regards,

On Wed, Nov 13, 2019 at 1:26 PM Klaus major-k via use-livecode <
use-livecode@lists.runrev.com> wrote:

> Hi all,
>
> > Am 12.11.2019 um 17:59 schrieb Klaus major-k via use-livecode <
> use-livecode@lists.runrev.com>:
> >
> > Hi friends,
> >
> > what might cause the fact that in my datagrids on card 2
> > the "column labels" disapear whenever I (re-)open that stack
> >
> > NO scripting involved so far, the labels are just gone!?
> >
> > "refreshline/refreshindex/refreshlist" does NOT work in a script.
> > I have to click "Refresh" in the inspector for these two datagrids
> > to make then appear again. This is driving me crazy! :-/
> >
> > macOS 10.14.6, LC 9.0.5, same with LC 9.5.
> > Thanks for any hints.
>
> this is a real showstopper for my current project! :-/
>
> Maybe someone knows what command(s) is/are hiding behind the
> "refresh" button in the inspector for a datagrid?
> Or where in the may behavior scripts I will find the answer?
>
> Clicking that button seems to be the only way to make the labels appear
> again.
>
> Thank you!
>
>
> Best
>
> Klaus
>
> --
> Klaus Major
> https://www.major-k.de
> kl...@major-k.de
>
>
> ___
> 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
>


-- 
Zryip TheSlug
http://www.aslugontheroad.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: REST API's, JSON Web Tokens & Hash Algorithms

2019-11-13 Thread Bleiler, Timothy via use-livecode
Thanks Mark,

I have the Box account set up correctly and I can test things using the command 
line SDK provided by Box.
Now I have to figure out the authorization process and how to construct the 
token in Livecode. 
I haven’t done anything like this before so it’s a slow process. I appreciate 
your help.

Tim


> On Nov 12, 2019, at 5:06 PM, Mark Wieder via use-livecode 
>  wrote:
> 
> On 11/12/19 6:23 AM, Bleiler, Timothy via use-livecode wrote:
>> Hi,
>> I’ve seen some great presentations in the last few years from the 
>> conferences and Livecode Global sessions using Livecode to access REST API’s 
>> from web services, so I’m hoping someone can help me out here.
>> I need to access a web service (Box.com) from my Livecode 
>> app using JSON web tokens.
>> The service  documentation states that they only support RS256, RS384, and 
>> RS512 for hashing the signature in the token. Unfortunately, in the 139 
>> options and variations listed by the Livecode CipherNames function I don’t 
>> see these.
>> Have I missed or misunderstood something or am I out of luck for using 
>> Livecode for this task?
> 
> Box integration has been on my back burner for a while now, so I'll be very 
> much interested in what you come up with here.
> 
> Are you referring to the authorization step for the Box api?
> If so, this might help... this should be a one-time thing, so I would just do 
> this once at the command line by hand and then grab the existing key with 
> LiveCode.
> 
> ssh-keygen -t rsa -b 4096 -m PEM -f jwtRS256.key
> openssl rsa -in jwtRS256.key -pubout -outform PEM -out jwtRS256.key.pub
> 
> That will give you both the private and public keys to pass to the Box api.
> 
> -- 
> 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

___
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: revigniter.com - Temporarily closed for maintenance purposes.

2019-11-13 Thread Ralf Bitter via use-livecode
Sorry, I should have read the subject. So, of course
the uncertainty comes from the closed site.

Ralf

> On 13. Nov 2019, at 13:55, Ralf Bitter via use-livecode 
>  wrote:
> 
> Hi Riko,
> 
> don’t know where the uncertainty comes from. May be because
> the official site was closed for maintenance purposes.

___
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: revigniter.com - Temporarily closed for maintenance purposes.

2019-11-13 Thread Ralf Bitter via use-livecode
Hi Riko,

don’t know where the uncertainty comes from. May be because
the official site was closed for maintenance purposes.
Yesterday I happened to find out that the value of the
$_GET variable has changed for some reason without
any effort on my part. This caused a “Page not found”
error because the retrieval of the URI string was based
on the $_GET variable. Fixed the issue by changing
the URI protocol setting and everything is fine again.

revIgniter is alive and kicking.
In case you have any questions regarding revIgniter don’t
hesitate to ask.
I recommend to use the revIgniter discussion list:

http://lists.livecodejournal.com/listinfo.cgi/revigniter-livecodejournal.com


Ralf


> On 13. Nov 2019, at 05:33, Riko Abadi via use-livecode 
>  wrote:
> 
> Hello,
> 
> I am new to the world of livecode.
> I found https://revigniter.com/  whether this 
> framework can still be used
> for livecode projects?
> 
> Thanks.
> RIko


___
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: Disappearing "column lables" of Datagrid

2019-11-13 Thread Klaus major-k via use-livecode
Hi all,

> Am 12.11.2019 um 17:59 schrieb Klaus major-k via use-livecode 
> :
> 
> Hi friends,
> 
> what might cause the fact that in my datagrids on card 2
> the "column labels" disapear whenever I (re-)open that stack
> 
> NO scripting involved so far, the labels are just gone!?
> 
> "refreshline/refreshindex/refreshlist" does NOT work in a script.
> I have to click "Refresh" in the inspector for these two datagrids
> to make then appear again. This is driving me crazy! :-/
> 
> macOS 10.14.6, LC 9.0.5, same with LC 9.5.
> Thanks for any hints.

this is a real showstopper for my current project! :-/

Maybe someone knows what command(s) is/are hiding behind the 
"refresh" button in the inspector for a datagrid?
Or where in the may behavior scripts I will find the answer?

Clicking that button seems to be the only way to make the labels appear again.

Thank you!


Best

Klaus

--
Klaus Major
https://www.major-k.de
kl...@major-k.de


___
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