Search found 9394 matches

by dunbarx
Thu May 02, 2024 6:52 pm
Forum: Talking LiveCode
Topic: Where is stack "revNewScriptEditor"?
Replies: 7
Views: 101

Re: Where is stack "revNewScriptEditor"?

Bernd,

Fun stuff. Thank you.

That home stack is a doozy.

Glad to hear someone thinks the weekend starts today.

Craig
by dunbarx
Thu May 02, 2024 5:05 pm
Forum: Talking LiveCode
Topic: Where is stack "revNewScriptEditor"?
Replies: 7
Views: 101

Re: Where is stack "revNewScriptEditor"?

Bernd.

Do you have a secret list of undocumented native LC words? My favorite is "the messageMessages", but I know there are lots more. :wink:

Craig
by dunbarx
Thu May 02, 2024 3:18 pm
Forum: Talking LiveCode
Topic: Where is stack "revNewScriptEditor"?
Replies: 7
Views: 101

Re: Where is stack "revNewScriptEditor"?

Richmond. Which stack? Whichever stack. It turns out that in a new session, only the stack "revNewScriptEditor" is loaded, and it seems to be some sort of template builder for new instances of an SE as they are called. I just never knew that. But the "1" appended to the working, "real" SE should hav...
by dunbarx
Thu May 02, 2024 3:05 pm
Forum: Talking LiveCode
Topic: Where is stack "revNewScriptEditor"?
Replies: 7
Views: 101

Where is stack "revNewScriptEditor"?

A current thread about finding a lost cursor made me offer the suggestion to: if the optionKey is down then set the screenMouseLoc to the loc of this stack Works fine. But the OP mentioned that the issue was when he was editing scripts, so I thought I could be more helpful, and tested: if the option...
by dunbarx
Thu May 02, 2024 2:56 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Cursor visibility problem
Replies: 7
Views: 98

Re: Cursor visibility problem

CAsba.

Good, Just so you know, you can also:

Code: Select all

if the optionKey is down then set the screenMouseLoc to  the loc of  stack "revNewScriptEditor 1"
which will place the cursor in the center of the SE.

Craig
by dunbarx
Thu May 02, 2024 2:07 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Cursor visibility problem
Replies: 7
Views: 98

Re: Cursor visibility problem

CAsba.

You can write a little ditty in the stack script like:

Code: Select all

on mouseUp
   if the optionKey is down then set the screenMouseLoc to  the loc of this stack
end mouseUp
Now just click with optionKey and the cursor will appear at the center of the card window.


Craig
by dunbarx
Fri Apr 26, 2024 5:31 pm
Forum: Windows
Topic: SQL Query error when a String has double quote
Replies: 3
Views: 295

Re: SQL Query error when a String has double quote

Paul and Stam are trying to convince you to solve your problem like an adult would. But I ran into something like this many years ago, and solved it like a petulant child. I substituted ASCII 210 (or 211, I cannot now remember) for every quote constant at risk: replace quote with numToChar(210) in y...
by dunbarx
Thu Apr 25, 2024 8:21 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Exporting SVG images?
Replies: 9
Views: 531

Re: Exporting SVG images?

So is this worth an enhancement request, to add a sixth format to the "export" command?

Craig
by dunbarx
Thu Apr 25, 2024 8:19 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Palettising a main stack.
Replies: 9
Views: 319

Re: Palettising a main stack.

Well, more complicated than I thought.

If your handler is in the stack script, it does not work. The openStack handler fires but nothing happens. But if it is this in the stack script:

Code: Select all

on mouseUp
   palette me
end mouseUp
it work fine if you click on the card window.

Craig
by dunbarx
Thu Apr 25, 2024 8:17 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Palettising a main stack.
Replies: 9
Views: 319

Re: Palettising a main stack.

Well, more complicated than I thought.

If your handler is in the stack script, it does not work. But if it is this:

Code: Select all

on mouseUp
   palette me
end mouseUp
it work fine.

Craig
by dunbarx
Thu Apr 25, 2024 8:13 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Palettising a main stack.
Replies: 9
Views: 319

Re: Palettising a main stack.

Richmond.

"Me" really cannot be used that way. It only refers to the object that contains a running handler. So you could make this work if you put your original handler in the stack script.

Craig
by dunbarx
Thu Apr 25, 2024 3:53 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Exporting SVG images?
Replies: 9
Views: 531

Re: Exporting SVG images?

They are xml files. I assume that they present their vector graphic data in a certain format. The issue, I guess, is that the SVG data is not exportable by LC in its "SVG" format.

Craig
by dunbarx
Thu Apr 25, 2024 1:58 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Exporting SVG images?
Replies: 9
Views: 531

Re: Exporting SVG images?

Richmond.

The dictionary does not seem to include that format in the five it mentions.

Craig
by dunbarx
Wed Apr 24, 2024 2:35 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Problems using camera on iPhone
Replies: 2
Views: 168

Re: Problems using camera on iPhone

Hi.

I do not do mobile, but reading the dictionary about that command, what do you get in "the result" after the command executes?

Craig
by dunbarx
Tue Apr 23, 2024 8:50 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Force the script editor to update?
Replies: 35
Views: 1212

Re: Force the script editor to update?

Craig or Stam bring up something slightly better...
Slightly?

Craig

Go to advanced search