Livecode is a program for creating programs.
MacPaint is a program for creating images that as far as I know ran on 68K
macs. Not sure it ever ran on PPC Macs. Not sure if MacPaint images can import
into Livecode.
Asking if MacPaint works in LC doesn’t make sense to me.
Kee
> On Nov 30, 2018, at
Brilliant - thanks for the analysis and syntax corrections, Ralf.
That’s clarified more of the LCS / MVC ‘plumbing' and provided a worked example
I can repeat as I start to build-out the app proper.
Much appreciated
Best,
Keith
> On 30 Nov 2018, at 22:56, Ralf Bitter via use-livecode
> wro
The following works tested here on desktop, should work everywhere where the
browser widget works.
1. Overlay browser widget "browser" with a browser widget "loader" (that
displays a loading animation).
2. Load the slow loading url into widget "browser".
3. Hide widget "loader" by browserDocumen
Ralph DiMola wrote:
> For my first web services I implementing the "start using" of library
> stacks method back in the day. Like you I moved to "start using" of
> script only library stacks. I'll just keep chugging along with "start
> using"s. I'll keep include/require on the back shelf for now.
Thanks Alex,
For my first web services I implementing the "start using" of library stacks
method back in the day. Like you I moved to "start using" of script only
library stacks. I'll just keep chugging along with "start using"s. I'll keep
include/require on the back shelf for now...
Thanks ag
Ingar Roggen wrote:
> But before that I would like to know if MacPaint works in LC.
> Anybody know that?
I doubt it. IIRC the format was directly dependent on QuickDraw - from
Wikipedia:
Applications using QuickDraw will still run under OS X 10.8
through macOS 10.12; however, the current
Hi Keith,
seems that you have overlooked that your library
handler is not a function, see line
put somehandler() into gData["testlib"]
in your controller.
Furthermore don’t forget to adjust the name of your library
initialisation handler to “rigRunInitialteslibConfig”.
Ralf
But before that I would like to know if MacPaint works in LC. Anybody know that?
Sendt fra min iPhone
> 30. nov. 2018 kl. 22:50 skrev Ingar Roggen via use-livecode
> :
>
> I’ll look into it again, Devin.
>
>> 30. nov. 2018 kl. 20.10 skrev Devin Asay via use-livecode
>> :
>>
>> The authoritat
I’ll look into it again, Devin.
> 30. nov. 2018 kl. 20.10 skrev Devin Asay via use-livecode
> :
>
> The authoritative guide for converting HyperCard stacks to LiveCode is still
> Jacque’s tutorial at
> https://www.hyperactivesw.com/mctutorial/rrtutorialtoc.html
>
> Devin
>
> On Nov 30, 2018,
I’ll use HC on the other side too, Kee!
Ingar
> 30. nov. 2018 kl. 20.13 skrev kee nethery via use-livecode
> :
>
> And I thought I was the last hold-out using Hypercard. Sold all my PPC Mac
> Minis.
>
> Kee nethery
> ___
> use-livecode mailing list
>
Thank you, Bob
> 30. nov. 2018 kl. 18.49 skrev Bob Sneidar via use-livecode
> :
>
> I'll jump in here.
>
> Porting/opening Hypercard stacks is a convenience. The primary issue is that
> Hypercard was optimized to index every text of every card in a stack to make
> finding information easier.
Kaveh wrote:
> Now how many lines of JavaScript would that be? ;-)
The equivalent of chunk expressions are ridiculously verbose in JS, but
this one's not bad:
getElementById("id").removeAttribute("style");
--
Richard Gaskin
Fourth World Systems
Software Design and Development for the Deskt
Hmmm I hesitated to reply earlier, just in case there are subtleties I
might get wrong and mislead you - but here goes.
include / require are essentially ways to include the text of the
included file. Include will do that - and do it every time you use it
so you could have a trivial nons
Why do you need to simulate non-contiguous selections? Set the
listBehavior, multipleHilites, and noncontiguousHilites of the field to
true and then you can do things like:
set the hilitedLines of fld 1 to 1,3,5
But to your original question, you should use:
repeat for each line L in the htmlTex
And I thought I was the last hold-out using Hypercard. Sold all my PPC Mac
Minis.
Kee nethery
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://l
The authoritative guide for converting HyperCard stacks to LiveCode is still
Jacque’s tutorial at https://www.hyperactivesw.com/mctutorial/rrtutorialtoc.html
Devin
On Nov 30, 2018, at 10:02 AM, Ingar Roggen via use-livecode
mailto:use-livecode@lists.runrev.com>> wrote:
Hello, André,
I hope you
In jQuery it’d be something like $j(‘div #id’).text(); selecting the field’s
enclosing div by ID or class.
Best,
Keith
> On 30 Nov 2018, at 17:43, Bob Sneidar via use-livecode
> wrote:
>
> And how much would the Javascript training and certification cost be to learn
> how to do it? ;-)
>
>
I'll jump in here.
Porting/opening Hypercard stacks is a convenience. The primary issue is that
Hypercard was optimized to index every text of every card in a stack to make
finding information easier. New records? New cards.
Livecode? Not so much. In fact, not at all. There will be performanc
And how much would the Javascript training and certification cost be to learn
how to do it? ;-)
Bob S
> On Nov 30, 2018, at 09:17 , Kaveh Bazargan via use-livecode
> wrote:
>
>> FWIW, the fastest way that I know to remove all text stylings from a field
>> of text is this:
>>
>> put fld 1 in
Thanks Ralf. Renaming the library got past that library load error. However,
the view page is listing other errors, which may hint at other mistakes I’ve
made.
The key page markup is below - I’d appreciate any advice.
**
The testlib.lc library conten
I watch with interest all of HH amazing thing he does the browser widget.
Haven't had time to keep up. But I have a common use case that I can't figure
out that possibly relates
a) On mobile, let's say you have connectivity… It may not be fast at the
moment, but it is it good enough for you to
On Fri, 30 Nov 2018 at 17:12, Dan Friedman wrote:
> Kaveh,
>
> Well, you learn something every day! I didn't know you could hide a line
> of text. Pretty cool!
>
>
Really nice. Working on speeding it up which will be great.
> FWIW, the fastest way that I know to remove all text stylings from
Kaveh,
Well, you learn something every day! I didn't know you could hide a line of
text. Pretty cool!
FWIW, the fastest way that I know to remove all text stylings from a field of
text is this:
put fld 1 into fld 1
-Dan
On 11/30/18, 8:37 AM, "use-livecode on behalf of Kaveh Bazargan v
Hello, André,
I hope you still remember that we met in Las Vegas. I still use HyperCard and
wonder if it has become easier to port HC-stacks to LiveCode? Do you know if
there are any apps for that? And if not, would it be difficult to write them?
Regards
Ingar
Sendt fra min iPhone
> 30. nov. 20
Been using LC scripts on the server for "like 20 years."
But run on the cron of the server itself.
Brahmanathaswami
On 11/30/18, 2:37 AM, "use-livecode on behalf of Keith Clarke via
use-livecode" wrote:
Thanks Andre - good call.
Following others’ reminders of the single-thread
I am simulating a non-contiguous selection of text with a "Find all" button
that sets the style of all found items of text.
Then I want to inspect those "selections" only but showing the paras that
contain them and hiding all other lines. So I have a full view and a
"compact" view that the user ca
I was wondering at what stage or how the lines get chosen to be hidden or
not?
___
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/m
Ahh... I see that the revIgniter library is the way to go for my number 2
question and I am immersed in the docs. But I'm still wondering about my
question # 1 (differences between "Include", "Require" and "Start using")
I've been using LiveCode Server for a few years now with great success as
var
Did not know about textStyle which has opened a whole new world! Thank you
so much for ruining my weekend Trevor. ;-)
hh, I love the first solution, which shows the beauty of LiveCode. But the
speed is the same as before...
i will try htmltext too. A while since I worked with it.
Thanks again.
Hi Keith,
if you change the name of your library to Testlib.lc
and if you adjust the name in your controller respectively
all should work as expected.
There is a naming convention for library files, i.e.
camel case is not allowed, but it seems this is not
mentioned in the user guide.
Sorry for the
If showing *only* lines with colored text means that all others
are hidden then you could use:
...
set hidden of line i of fld "text" to \
(the textcolor of line i of fld "text" is empty)
...
Trevor's script would then read:
...
put (tTextA[i]["runs"][1]["style"]["textcolor"] is empty) \
On Fri, Nov 30, 2018 at 7:08 AM Kaveh Bazargan via use-livecode <
use-livecode@lists.runrev.com> wrote:
> But here is a follow-up: Now I want to hide all lines that have no text
> style and only show lines with colored text. I use:
>
> repeat with i = 1 to the number of lines of fld 1
> if t
Thanks Ralf (& Andre) for the responses.
I have read the user guide and understood more than I expected, given my basic
HTML + jQuery + CSS background! I’ve also been learning more as I build my app
out using user guide worked examples where they exist.
Thanks for the syntax for processing the
Kaveh,
I would work which lines should be shown and hidden inside a variable
and then replace the whole field...
On 30/11/2018 13:07, Kaveh Bazargan wrote:
Yes Andre, that is the line that fixed it, in a split second :-)
But here is a follow-up: Now I want to hide all lines that have no
tex
Yes Andre, that is the line that fixed it, in a split second :-)
But here is a follow-up: Now I want to hide all lines that have no text
style and only show lines with colored text. I use:
repeat with i = 1 to the number of lines of fld 1
if the textcolor of line i of fld "text" is not empt
Thanks Andre - good call.
Following others’ reminders of the single-threaded nature of LCS, I’m trying to
rethink data flows as on-demand, to avoid all background tasks.
Best,
Keith
> On 30 Nov 2018, at 12:10, Andre Alves Garzia via use-livecode
> wrote:
>
> Keith,
>
>
>> The examples in th
Hi Keith,
in addition to Andre’s valuable tips I would like
to comment that your approach should actually work,
but be advised to make sure you include your custom
library as described here:
https://revigniter.com/userGuide/general/creating_libraries.html
Furthermore you can leave yo
There is another tip here in this thread about
set the hidden of line 1 to -1 of field "the field" to false
As a single command, it might be better.
On 30/11/2018 12:07, Kaveh Bazargan via use-livecode wrote:
Thank you guys. I am always embarrassed to ask here as I know the answer is
a one lin
Keith,
The examples in the dictionary look potentially useful for a couple of
lightweight activities I’d like to have ticking-over in the background on my LC
Server, pending page visits.
You shouldn't have the CGI engine hogging up like that, thats not how
web stuff is supposed to work. Fi
Thank you guys. I am always embarrassed to ask here as I know the answer is
a one liner!!
And Andre the screen was locked already. :-)
On Fri, 30 Nov 2018 at 11:56, Klaus major-k via use-livecode <
use-livecode@lists.runrev.com> wrote:
> Hi Andre,
>
> > Am 30.11.2018 um 12:48 schrieb Andre Alves
Klaus,
uhahuahuahuaahuauhahuhuahuahua it took me a while to notice.
On 30/11/2018 11:56, Klaus major-k via use-livecode wrote:
Hi Andre,
Am 30.11.2018 um 12:48 schrieb Andre Alves Garzia via use-livecode
:
tied locking the screen first?
tied AND locked?
Andre, you are hardcore! :-D
On 30
Hi Andre,
> Am 30.11.2018 um 12:48 schrieb Andre Alves Garzia via use-livecode
> :
>
> tied locking the screen first?
tied AND locked?
Andre, you are hardcore! :-D
> On 30/11/2018 10:33, Kaveh Bazargan via use-livecode wrote:
>> I have a text field with some 3500 lines of text. I want to ensu
tied locking the screen first?
On 30/11/2018 10:33, Kaveh Bazargan via use-livecode wrote:
I have a text field with some 3500 lines of text. I want to ensure all
lines are visible, as I have hidden some before. I use:
repeat with i = 1 the number of lines of fld 1
set the hidden of line
Try
set the hidden of line 1 to - 1 of field 1 to false
Kind regards
Bernd
From: Kaveh Bazargan
I have a text field with some 3500 lines of text. I want to ensure all
lines are visible, as I have hidden some before. I use:
repeat with i = 1 the number of lines of fld 1
set the hidden o
I have a text field with some 3500 lines of text. I want to ensure all
lines are visible, as I have hidden some before. I use:
repeat with i = 1 the number of lines of fld 1
set the hidden of line i of fld 1 to false
end repeat
This is taking over 1 minute to complete. I have tried removing
Keith,
RevIgniter is a normal LiveCode collection of libraries. Have you read
the getting started guide at:
https://revigniter.com/userGuide/overview/getting_started.html
It will walk you through the concepts of MVC and how they are used in
RevIgniter. Basically your models are the stuff t
Dan,
I am not expert in the widget but I do know quite a lot about browsers.
Those APIs are restricted access API which usually require some sort of
configuration on the browser library you're using when building your
product, which is a convoluted way to say that LiveCode HQ proabably
needs
Folks,
I’m struggling to get my head around revIgniter / MVC concepts and map basic LC
desktop concepts to the right places in LCS + revIgniter. (I’m still searching
for a 'Rosetta Stone’ to translate between these two worlds!)
My use case is to share public FAQs from specific pages designated
48 matches
Mail list logo