Search found 174 matches

by bobcole
Tue Dec 02, 2025 5:48 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: finding an array element
Replies: 22
Views: 14827

Re: finding an array element

Simon:
Here is a possible solution. It was initially suggested by jacque.
See
viewtopic.php?f=8&t=39716#p234042
Bob
by bobcole
Fri Nov 14, 2025 4:22 am
Forum: Getting Started with LiveCode - Experienced Developers
Topic: How do I get the current URL of the page loaded in the browser widget
Replies: 12
Views: 4557

Re: How do I get the current URL of the page loaded in the browser widget

I spent some time with your website of interest: https://acim.org/acim/en I don't have an answer as to why that website doesn't send the browserDocumentLoadBegin/Complete messages. I have some observations, however. 1 - The web pages addresses can be seen by clicking on Terms of Service then return ...
by bobcole
Thu Nov 13, 2025 12:02 am
Forum: Getting Started with LiveCode - Experienced Developers
Topic: How do I get the current URL of the page loaded in the browser widget
Replies: 12
Views: 4557

Re: How do I get the current URL of the page loaded in the browser widget

This works on my system. take a look.
If it doesn't work for you that means something else is the problem.
I am using a Mac M1 laptop, lots of RAM and disk space.
What system are you using?
Bob
Browser Widget.livecode.zip
(1.51 KiB) Downloaded 105 times
by bobcole
Tue Nov 11, 2025 9:22 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: How do I get the current URL of the page loaded in the browser widget
Replies: 12
Views: 4557

Re: How do I get the current URL of the page loaded in the browser widget

This intrigued me so I did some research.
It looks like there is a direct way of getting the URL of the browser.

Code: Select all

on getTheURL
   get the URL of widget "MyBrowser"
   put it & return after field "The URL"
end getTheURL   
I hope this works for you.
Bob Cole
by bobcole
Wed Oct 01, 2025 2:51 pm
Forum: Made With LiveCode
Topic: A Procedural Graphics System
Replies: 10
Views: 6944

Re: A Procedural Graphics System

@Hutchboy (Mike)
This is a fascinating project.
I am curious as to the meaning of Scale, Octaves, Persistence and Lacunarity at the top of the window.
I am enjoying your efforts.
Bob
by bobcole
Mon Sep 15, 2025 3:33 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Why this message between end preOpenCard and start on OpenCard?
Replies: 4
Views: 2985

Re: Why this message between end preOpenCard and start on OpenCard?

Paul (MrCoolLion): Please look at the dictionary for scriptExecutionErrors. That explains what the format of the code means. item 1 - the line number of the scriptExecutionErrors that describes the error. item 2 - the line number of the script where the execution error occurs. item 3 - the character...
by bobcole
Fri Sep 05, 2025 12:15 am
Forum: Made With LiveCode
Topic: AppleSoft Basic Interpreter Project
Replies: 4
Views: 5259

Re: AppleSoft Basic Interpreter Project

Mike:
Another supreme effort! I enjoyed the test programs.
The answer to Test #3, however, does not seem correct.
It should go to Line 50 but, instead, it goes to Line 30 and prints FAIL.
Otherwise, the test programs were all sucessful.
What a project!
Bob
by bobcole
Thu Aug 28, 2025 8:54 pm
Forum: Internet
Topic: TLS version?
Replies: 6
Views: 9999

Re: TLS version?

Stam:
I was curious about this so I tried it out.
put the sslVersion
No such command in my dictionary.
Bob
by bobcole
Mon Aug 18, 2025 11:51 pm
Forum: Internet
Topic: Issue with parsing the JSON in livecode
Replies: 4
Views: 6225

Re: Issue with parsing the JSON in livecode

Stam: I forgot to give you credit for showing how to access the email variable. Good catch. In case anyone is interested, I provide the full script as the OP wanted. Also, I show the values of the tRecvHeaders, tResult and tBytes variables. Bob on mouseUp put "https://xxxxxx.com/QueryTest.json" into...
by bobcole
Mon Aug 18, 2025 9:19 pm
Forum: Internet
Topic: Issue with parsing the JSON in livecode
Replies: 4
Views: 6225

Re: Issue with parsing the JSON in livecode

isabellspivey: Here is a simple way to get the data from a server. However, it does not test the password or encrypt the data. on mouseUp put url("https://xxxxxx.com/QueryTest.json") into tData put JSONToArray(tData) into tDataArray put tDataArray["data"][1]["email"] into field "fldData" end mouseUp...
by bobcole
Sun Aug 17, 2025 3:51 pm
Forum: Made With LiveCode
Topic: MR LOGO Proramming Environment
Replies: 20
Views: 28568

Re: MR LOGO Proramming Environment

Mike:
Sorry to learn about your heart surgery.
Had a couple of those in my family but, fortunately, none myself. It isn't any fun.
Good to know that you are recovering nicely.
I will wait to hear from you regarding the logo language; it really is a huge project.
Bob
by bobcole
Sat Aug 16, 2025 9:15 pm
Forum: Made With LiveCode
Topic: MR LOGO Proramming Environment
Replies: 20
Views: 28568

Re: MR LOGO Proramming Environment

Hutchboy:
I am trying to execute the SQUARE routine but am having difficulty. I entered:
SQUARE 50
into the Direct Command Input area of the program but it says
✗ Error: FORWARD requires a distance argument
Any clue would be appreciated.
Bob
by bobcole
Tue Aug 12, 2025 8:09 pm
Forum: Made With LiveCode
Topic: MR LOGO Proramming Environment
Replies: 20
Views: 28568

Re: MR LOGO Proramming Environment

I commend you for such a large effort. It looks great. I began playing with it a little and some things did not seen right. For example, I tried to execute the RIGHT 90 command. The first time it worked. The second time the turtle ended up pointing the wrong way. This may be a symptom of other error...
by bobcole
Thu May 15, 2025 10:26 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Any Idea?
Replies: 9
Views: 14402

Re: Any Idea?

No, that won't do it either.
I think your comment about put the text into a field is correct:

Code: Select all

put URL(“file:” & <filepath>)
That should give the OP what is needed.
Bob
by bobcole
Thu May 15, 2025 9:21 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Any Idea?
Replies: 9
Views: 14402

Re: Any Idea?

Well then how about trying:

Code: Select all

start using stack "myStack" 
instead?
Bob