Re: Encrypting Stack Breaks Field References

2020-12-23 Thread Trevor DeVore via use-livecode
On Tue, Dec 22, 2020 at 6:23 PM Bob Sneidar via use-livecode <
use-livecode@lists.runrev.com> wrote:

> Hmmm… Isn’t Levure almost completely based on script only stacks?


You can use binary or script only stacks with Levure. It doesn’t care one
way or the other.  It’s just reading in stack files you add to your app
folder.

-- 
Trevor DeVore
ScreenSteps

>
___
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: move cursor to the end of a line in a field

2020-12-23 Thread Mark Wieder via use-livecode

On 12/23/20 12:57 PM, matthias rebbe via use-livecode wrote:


That's the end of the *field* not the *line*.


But it would work, because Douglas wrote that it is a single line field.


Ah. I just assumed it was a bit of mistyping and should have been

"single line of a field"

...and yes, I know what they say about assuming... 

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


move cursor to the end of a line in a field addendum

2020-12-23 Thread Douglas A. Ruisaard via use-livecode
Thanks to all that replied... what a great community!  Actually "select after 
line 1 of the focusedObject" works best for me  .. kinda of a combo of several 
of the suggestions

Douglas Ruisaard
   
Trilogy Software
  (250) 573-3935


-Original Message-
From: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] On Behalf Of 
Brian Milby via use-livecode
Sent: Wednesday, December 23, 2020 12:26 PM
To: How to use LiveCode
Cc: Brian Milby
Subject: Re: move cursor to the end of a line in a field

To improve on my initial suggestion...

select after char -1 of field 1

Sent from my iPhone

> On Dec 23, 2020, at 3:22 PM, matthias rebbe via use-livecode 
>  wrote:
> 
> Douglas,
> 
> you can use
> 
> select after line x of fld y 
> 
> for this. 
> For example to place the cursor after line 3 of fld "text" you would write
> 
> select after line 3 of fld "text"
> 
> 
> Regards,
> 
> Matthias
> 
> 
> -
> Matthias Rebbe
> Life Is Too Short For Boring Code
> 
>> Am 23.12.2020 um 20:57 schrieb Douglas A. Ruisaard via use-livecode 
>> :
>> 
>> I need to position the cursor at the end of the contents of a single line
>> field.  This can be "manually" done by pressing the "END" key while the
>> cursor is in that field.  I want to do that positioning programmatically...
>> but ...
>> 
>> I've searched all of the "...KeyDown" message options (e.g. commandKeyDown,
>> controlKeyDown, optionKeyDown) and the other "key" message options (e.g.
>> functionKey) and cannot find one which will tell me what the "END" key is...
>> a Windows resource tells me it is "35" 
>> 
>> "rawKeyDown" tells me the raw key is 65367 ... but how do I "send" a rawkey
>> value to the active field?  Or, ideally, can someone tell me how to
>> "emulate" the "END" key and position the cursor at the end of the contents
>> of a single line field?
>> 
>> Likely simple but I just can't work it out.  Thanks in advance! 
>> 
>> Douglas Ruisaard
>> 
>>   Trilogy Software
>> (250) 573-3935
>> 
>> 
>> 
>> 
>> ___
>> 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: move cursor to the end of a line in a field

2020-12-23 Thread Tore Nilsen via use-livecode
And if you have a multiline field and would like to go to the end of the 
current line use this:

on rawKeyDown theKey

if theKey = 65367 then

put word 2 of the selectedLine of me into tLine

select after line tLine of me

else

pass rawKeyDown

end if

end rawKeyDown


> 23. des. 2020 kl. 22:49 skrev Tore Nilsen via use-livecode 
> :
> 
> 
> 
>> 23. des. 2020 kl. 20:57 skrev Douglas A. Ruisaard via use-livecode 
>> :
>> 
>> "rawKeyDown" tells me the raw key is 65367 ... but how do I "send" a rawkey
>> value to the active field?  Or, ideally, can someone tell me how to
>> "emulate" the "END" key and position the cursor at the end of the contents
>> of a single line field?
> 
> You could try this in the field script:
> 
> on rawKeyDown theKey
>   if theKey = 65367 then
>  select after me
>   else
>  pass rawKeyDown
>  end if
> end rawKeyDown
> 
> This will allow the normal behavior for all other keys when the field is 
> active.
> 
> Best regards
> Tore Nilsen
> ___
> 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: move cursor to the end of a line in a field

2020-12-23 Thread Tore Nilsen via use-livecode



> 23. des. 2020 kl. 20:57 skrev Douglas A. Ruisaard via use-livecode 
> :
> 
> "rawKeyDown" tells me the raw key is 65367 ... but how do I "send" a rawkey
> value to the active field?  Or, ideally, can someone tell me how to
> "emulate" the "END" key and position the cursor at the end of the contents
> of a single line field?

You could try this in the field script:

on rawKeyDown theKey
   if theKey = 65367 then
  select after me
   else
  pass rawKeyDown
  end if
end rawKeyDown

This will allow the normal behavior for all other keys when the field is active.

Best regards
Tore Nilsen
___
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: move cursor to the end of a line in a field

2020-12-23 Thread matthias rebbe via use-livecode


-
Matthias Rebbe
Life Is Too Short For Boring Code

> Am 23.12.2020 um 21:50 schrieb Mark Wieder via use-livecode 
> :
> 
> On 12/23/20 12:26 PM, Brian Milby via use-livecode wrote:
>> To improve on my initial suggestion...
>> select after char -1 of field 1
> 
> That's the end of the *field* not the *line*.

But it would work, because Douglas wrote that it is a single line field.

> 
> -- 
> 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: move cursor to the end of a line in a field

2020-12-23 Thread Mark Wieder via use-livecode

On 12/23/20 12:26 PM, Brian Milby via use-livecode wrote:

To improve on my initial suggestion...

select after char -1 of field 1


That's the end of the *field* not the *line*.

--
 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: move cursor to the end of a line in a field

2020-12-23 Thread matthias rebbe via use-livecode



-
Matthias Rebbe
Life Is Too Short For Boring Code

> Am 23.12.2020 um 21:26 schrieb Brian Milby via use-livecode 
> :
> 
> To improve on my initial suggestion...
> 
> select after char -1 of field 1
> 
or to improve your 2nd suggestion..

select after fld 1  

would do the same. ;) 

> Sent from my iPhone
> 
>> On Dec 23, 2020, at 3:22 PM, matthias rebbe via use-livecode 
>>  wrote:
>> 
>> Douglas,
>> 
>> you can use
>> 
>> select after line x of fld y 
>> 
>> for this. 
>> For example to place the cursor after line 3 of fld "text" you would write
>> 
>> select after line 3 of fld "text"
>> 
>> 
>> Regards,
>> 
>> Matthias
>> 
>> 
>> -
>> Matthias Rebbe
>> Life Is Too Short For Boring Code
>> 
>>> Am 23.12.2020 um 20:57 schrieb Douglas A. Ruisaard via use-livecode 
>>> :
>>> 
>>> I need to position the cursor at the end of the contents of a single line
>>> field.  This can be "manually" done by pressing the "END" key while the
>>> cursor is in that field.  I want to do that positioning programmatically...
>>> but ...
>>> 
>>> I've searched all of the "...KeyDown" message options (e.g. commandKeyDown,
>>> controlKeyDown, optionKeyDown) and the other "key" message options (e.g.
>>> functionKey) and cannot find one which will tell me what the "END" key is...
>>> a Windows resource tells me it is "35" 
>>> 
>>> "rawKeyDown" tells me the raw key is 65367 ... but how do I "send" a rawkey
>>> value to the active field?  Or, ideally, can someone tell me how to
>>> "emulate" the "END" key and position the cursor at the end of the contents
>>> of a single line field?
>>> 
>>> Likely simple but I just can't work it out.  Thanks in advance! 
>>> 
>>> Douglas Ruisaard
>>> 
>>>  Trilogy Software
>>>(250) 573-3935
>>> 
>>> 
>>> 
>>> 
>>> ___
>>> 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: move cursor to the end of a line in a field

2020-12-23 Thread Bob Sneidar via use-livecode
off the top of my head, select char -1 to -1 of the focusedObject (or me if in 
the script of the field itself). Trouble is I am trying this in the field 
script itself and it doesn’t work, but if I enter select char -1 to -1 of field 
7 in the message box it DOES work. 

Bob S


> On Dec 23, 2020, at 11:57 AM, Douglas A. Ruisaard via use-livecode 
>  wrote:
> 
> I need to position the cursor at the end of the contents of a single line
> field.  This can be "manually" done by pressing the "END" key while the
> cursor is in that field.  I want to do that positioning programmatically...
> but ...
> 
> I've searched all of the "...KeyDown" message options (e.g. commandKeyDown,
> controlKeyDown, optionKeyDown) and the other "key" message options (e.g.
> functionKey) and cannot find one which will tell me what the "END" key is...
> a Windows resource tells me it is "35" 
> 
> "rawKeyDown" tells me the raw key is 65367 ... but how do I "send" a rawkey
> value to the active field?  Or, ideally, can someone tell me how to
> "emulate" the "END" key and position the cursor at the end of the contents
> of a single line field?
> 
> Likely simple but I just can't work it out.  Thanks in advance! 
> 
> Douglas Ruisaard
> 
>Trilogy Software
>  (250) 573-3935
> 
> 
> 
> 
> ___
> 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


rotatedText widget and others

2020-12-23 Thread Terence Heaford via use-livecode
Has anyone tried using this widget?

The “get the formatted height of widget” function does not appear to return the 
correct result.

Whats the point of Livecode providing a widget that does not function correctly.

It may rotate text but try aligning a number of these widgets without the 
dimensions being correct.

A complete waste of my time.

If anyone can provide details that I am missing to get this “so called” widget 
to function correctly I’ll gladly get down on my knees and apologise for this 
rant.




I’ve looked at the line chart widget, not enough functionality for a true line 
chart, rather simplistic.

Pie chart, as line chart.

End of second rant.

——

Are any of these “so called” widgets provided by LC designed to provide any 
true functionality or am I just wasting my time trying to use them.
They appear to have been knocked up during someones tea break. Not a great way 
to advertise LC’s abilities.


Terry




___
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: move cursor to the end of a line in a field

2020-12-23 Thread Brian Milby via use-livecode
To improve on my initial suggestion...

select after char -1 of field 1

Sent from my iPhone

> On Dec 23, 2020, at 3:22 PM, matthias rebbe via use-livecode 
>  wrote:
> 
> Douglas,
> 
> you can use
> 
> select after line x of fld y 
> 
> for this. 
> For example to place the cursor after line 3 of fld "text" you would write
> 
> select after line 3 of fld "text"
> 
> 
> Regards,
> 
> Matthias
> 
> 
> -
> Matthias Rebbe
> Life Is Too Short For Boring Code
> 
>> Am 23.12.2020 um 20:57 schrieb Douglas A. Ruisaard via use-livecode 
>> :
>> 
>> I need to position the cursor at the end of the contents of a single line
>> field.  This can be "manually" done by pressing the "END" key while the
>> cursor is in that field.  I want to do that positioning programmatically...
>> but ...
>> 
>> I've searched all of the "...KeyDown" message options (e.g. commandKeyDown,
>> controlKeyDown, optionKeyDown) and the other "key" message options (e.g.
>> functionKey) and cannot find one which will tell me what the "END" key is...
>> a Windows resource tells me it is "35" 
>> 
>> "rawKeyDown" tells me the raw key is 65367 ... but how do I "send" a rawkey
>> value to the active field?  Or, ideally, can someone tell me how to
>> "emulate" the "END" key and position the cursor at the end of the contents
>> of a single line field?
>> 
>> Likely simple but I just can't work it out.  Thanks in advance! 
>> 
>> Douglas Ruisaard
>> 
>>   Trilogy Software
>> (250) 573-3935
>> 
>> 
>> 
>> 
>> ___
>> 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: move cursor to the end of a line in a field

2020-12-23 Thread Brian Milby via use-livecode
select char (the number of chars in field 1)+1 to -1 of field 1

Sent from my iPhone

> On Dec 23, 2020, at 2:58 PM, Douglas A. Ruisaard via use-livecode 
>  wrote:
> 
> I need to position the cursor at the end of the contents of a single line
> field.  This can be "manually" done by pressing the "END" key while the
> cursor is in that field.  I want to do that positioning programmatically...
> but ...
> 
> I've searched all of the "...KeyDown" message options (e.g. commandKeyDown,
> controlKeyDown, optionKeyDown) and the other "key" message options (e.g.
> functionKey) and cannot find one which will tell me what the "END" key is...
> a Windows resource tells me it is "35" 
> 
> "rawKeyDown" tells me the raw key is 65367 ... but how do I "send" a rawkey
> value to the active field?  Or, ideally, can someone tell me how to
> "emulate" the "END" key and position the cursor at the end of the contents
> of a single line field?
> 
> Likely simple but I just can't work it out.  Thanks in advance! 
> 
> Douglas Ruisaard
> 
>Trilogy Software
>  (250) 573-3935
> 
> 
> 
> 
> ___
> 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: move cursor to the end of a line in a field

2020-12-23 Thread matthias rebbe via use-livecode
Douglas,

you can use

select after line x of fld y 

for this. 
For example to place the cursor after line 3 of fld "text" you would write

select after line 3 of fld "text"


Regards,

Matthias


-
Matthias Rebbe
Life Is Too Short For Boring Code

> Am 23.12.2020 um 20:57 schrieb Douglas A. Ruisaard via use-livecode 
> :
> 
> I need to position the cursor at the end of the contents of a single line
> field.  This can be "manually" done by pressing the "END" key while the
> cursor is in that field.  I want to do that positioning programmatically...
> but ...
> 
> I've searched all of the "...KeyDown" message options (e.g. commandKeyDown,
> controlKeyDown, optionKeyDown) and the other "key" message options (e.g.
> functionKey) and cannot find one which will tell me what the "END" key is...
> a Windows resource tells me it is "35" 
> 
> "rawKeyDown" tells me the raw key is 65367 ... but how do I "send" a rawkey
> value to the active field?  Or, ideally, can someone tell me how to
> "emulate" the "END" key and position the cursor at the end of the contents
> of a single line field?
> 
> Likely simple but I just can't work it out.  Thanks in advance! 
> 
> Douglas Ruisaard
> 
>Trilogy Software
>  (250) 573-3935
> 
> 
> 
> 
> ___
> 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


move cursor to the end of a line in a field

2020-12-23 Thread Douglas A. Ruisaard via use-livecode
I need to position the cursor at the end of the contents of a single line
field.  This can be "manually" done by pressing the "END" key while the
cursor is in that field.  I want to do that positioning programmatically...
but ...

I've searched all of the "...KeyDown" message options (e.g. commandKeyDown,
controlKeyDown, optionKeyDown) and the other "key" message options (e.g.
functionKey) and cannot find one which will tell me what the "END" key is...
a Windows resource tells me it is "35" 

"rawKeyDown" tells me the raw key is 65367 ... but how do I "send" a rawkey
value to the active field?  Or, ideally, can someone tell me how to
"emulate" the "END" key and position the cursor at the end of the contents
of a single line field?

Likely simple but I just can't work it out.  Thanks in advance! 

Douglas Ruisaard
   
Trilogy Software
  (250) 573-3935




___
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: Encrypting Stack Breaks Field References

2020-12-23 Thread Bob Sneidar via use-livecode
I chose the more likely of the two possibilities. :-)

Bob S


On Dec 22, 2020, at 9:38 PM, J. Landman Gay via use-livecode 
mailto:use-livecode@lists.runrev.com>> wrote:

Rather, I didn't mean the team invented script-only stacks for Trevor in 
particular, but rather than they moved to git and needed text files.

English is such a positional language.
--
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: Basic mobile app question

2020-12-23 Thread Ralph DiMola via use-livecode
This would not be approved by the Apple reviewers. The PlayStore now has
similar rules prohibiting apps that are nothing more than website portals.

Ralph DiMola
IT Director
Evergreen Information Services
rdim...@evergreeninfo.net

-Original Message-
From: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] On Behalf
Of jbv via use-livecode
Sent: Wednesday, December 23, 2020 6:05 AM
To: How to use LiveCode
Cc: j...@souslelogo.com
Subject: Basic mobile app question

Hi list,
A friend of mine has a website with a responsive version, and would like to
have a mobile app as well.
Of course, he has next to zero budget, so I was wondering if it could be
possible to use Livecode to make a basic app that would create a browser
object at startup, and the url of the website would load into it...
Of course this is technically feasible, but is it an acceptable solution ?
And last but not least, would it be accepted on the Appstore ?

Thanks in advance.
jbv

___
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


Basic mobile app question

2020-12-23 Thread jbv via use-livecode

Hi list,
A friend of mine has a website with a responsive version, and would like 
to have a mobile app as well.
Of course, he has next to zero budget, so I was wondering if it could be 
possible to use Livecode to
make a basic app that would create a browser object at startup, and the 
url of the website would

load into it...
Of course this is technically feasible, but is it an acceptable solution 
?

And last but not least, would it be accepted on the Appstore ?

Thanks in advance.
jbv

___
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