Search found 423 matches

by sritcp
Mon Jan 20, 2020 3:08 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: URL specification change LC8.1 to LC9.x [RESOLVED]
Replies: 30
Views: 4792

Re: URL specification change LC8.1 to LC9.x

Hi Klaus: I updated my system software to 10.14.6 (to be in sync with yours), LC9.5.1 Indy My filepath has no spaces; nevertheless, I used URLencode, as follows: on mouseUp local tTemp answer file "Open" put URLendcode(it) into tTemp set the URL of widget "Browser" to tTemp end mouseUp It still cras...
by sritcp
Mon Jan 20, 2020 1:38 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: URL specification change LC8.1 to LC9.x [RESOLVED]
Replies: 30
Views: 4792

Re: URL specification change LC8.1 to LC9.x

Hi Jean-Marc and bogs: No luck! LC crashes every time! (Just to be sure, I shut down and restarted my computer -- to rule out system corruption issues. Also, the fact it works in LC8.1 rules out a lot of other possibilities). MacOS 10.14.5, LC 9.5.1 I guess it is the OS (Mojave). Maybe someone with ...
by sritcp
Mon Jan 20, 2020 1:56 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: URL specification change LC8.1 to LC9.x [RESOLVED]
Replies: 30
Views: 4792

Re: URL specification change LC8.1 to LC9.x

1. It appears that the Window's version is being very forgiving! The Mac version crashes every time! 2. The standard compliance text I had posted in the original post says that we must encode the URL. It is not necessary in my example (all chars are alphanumeric, no spaces). I went ahead and convert...
by sritcp
Sun Jan 19, 2020 11:03 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: URL specification change LC8.1 to LC9.x [RESOLVED]
Replies: 30
Views: 4792

Re: URL specification change LC8.1 to LC9.x

Hi bogs: In Mac, /Users is the root directory and /Users/JohnDoe is the "Home" directory. So, it is file:// followed by the full path name (giving rise to "///") And it works in LC8.1, so the syntax is correct. Also, I am surprised that you say that simply putting the file path (without the keyword ...
by sritcp
Sun Jan 19, 2020 9:13 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: URL specification change LC8.1 to LC9.x [RESOLVED]
Replies: 30
Views: 4792

Re: URL specification change LC8.1 to LC9.x

Could someone give an example of setting the browser URL?

set the URL of widget "Browser" to tLocalFile

What is an example specification of tLocalFile?

Thanks,
Sri
by sritcp
Sun Jan 19, 2020 8:08 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: URL specification change LC8.1 to LC9.x [RESOLVED]
Replies: 30
Views: 4792

URL specification change LC8.1 to LC9.x [RESOLVED]

I have an LC8.1 stack where, to display a local pdf file, I use a browser widget. The URL of the browser widget is set to file:///Users/JohnDoe/myApp/A101.pdf This works in LC8.1 but crashes LC9.5 The LC9.5 dictionary says (see image below) (for some reason, the dictionary won’t let me copy the text...
by sritcp
Wed Jan 15, 2020 8:38 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: All "quotes" are not the same!
Replies: 5
Views: 1121

Re: All "quotes" are not the same!

Smart quotes !
And I can turn it off in preferences in TextEdit (not in Stickies, though)!
I must remember to look at the preferences of the apps I use (including LC).
I miss out on a lot of feature power by not doing that.

Thanks, everyone!

Sri
by sritcp
Wed Jan 15, 2020 6:36 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: All "quotes" are not the same!
Replies: 5
Views: 1121

Re: All "quotes" are not the same!

is it possible that the original text used some form of "curly" quotes'? Craig I pressed the same quote key on the keyboard, the one next to the enter/return key. By the way, it was on a sticky note that I had scribbled the code (not in TextEdit). I tested using nativeCharToNum in the message box: ...
by sritcp
Wed Jan 15, 2020 6:00 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: All "quotes" are not the same!
Replies: 5
Views: 1121

All "quotes" are not the same!

I drafted some code in TextEdit (a Mac editor) and copied to to the script of a button. The code has several literals in quotes. There was a compile error -- it didn't recognize the quote chars! I deleted and added back the quote chars within LC script editor, and it worked. The chars "quote", "begi...
by sritcp
Sat Jan 11, 2020 8:03 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: LC8.1 crashes on Color Palette; please confirm
Replies: 8
Views: 1481

Re: LC8.1 crashes on Color Palette; please confirm

Thanks, Richard and Sparkout! That certainly changes my perspective! Two points, though: 1. Regressions vs fixes: You can’t weight them equally. It is one thing not being able to do something to begin with (existing bug or lack of a feature); it is an entirely different matter if my existing program...
by sritcp
Sat Jan 11, 2020 3:06 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: LC8.1 crashes on Color Palette; please confirm
Replies: 8
Views: 1481

Re: LC8.1 crashes on Color Palette; please confirm

jmburnod wrote:
Sat Jan 11, 2020 10:28 am
Color palette works as expected with LC 9.5.0 stable on OS X 10.13
Thanks, Jean-Marc!
by sritcp
Sat Jan 11, 2020 3:01 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: LC8.1 crashes on Color Palette; please confirm
Replies: 8
Views: 1481

Re: LC8.1 crashes on Color Palette; please confirm

Version 8.1 is more than three years old, with many bug fixes in the engine since. You might try that recipe in the latest version, 9.6dp2: Richard: I was under the impression that newer versions are more liable to be buggy and are more suitable for people who know what they are doing (especially, ...
by sritcp
Sat Jan 11, 2020 3:22 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: LC8.1 crashes on Color Palette; please confirm
Replies: 8
Views: 1481

LC8.1 crashes on Color Palette; please confirm

LC 8.1 stable (on Mojave 10.14.5) 1. Create a stack 2. Drag an object in (rectangular graphic, text field, ....) 3. Open object inspector; click on background color 4. Color palette opens; you can set a color or simply click "Cancel" 5. LC crashes. (You can set the color by script without a hitch). ...
by sritcp
Thu Jul 11, 2019 3:47 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: I don't understand this error I'm getting
Replies: 11
Views: 1867

Re: I don't understand this error I'm getting

Try inserting

Code: Select all

put cutlist_tWeight + 0 into cutlist_tWeight
before the failing line.

Sri
by sritcp
Mon Jul 08, 2019 7:10 pm
Forum: Internet
Topic: How to check if there is internet connection?
Replies: 6
Views: 2383

Re: How to check if there is internet connection?

@bogs, thanks for the link. It should do. I'll check it out. @jacque, yes, I was thinking along the same lines, that the initial act of setting credentials on (say,) AWS should serve as a check (if we are not accessing public web pages on the internet). (I am still learning the intricacies of AWS). ...

Go to advanced search