Search found 9398 matches
- Tue May 07, 2024 6:28 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: I want to obfuscate some things.
- Replies: 5
- Views: 165
Re: I want to obfuscate some things.
@Klaus. It is just that not every person who posts in a thread reads the previous history of that thread. I have been guilty of that occasionally. @ Anthony. Right, but wrong. "optionKey" is a function. You cannot use "if the optionKey()". Use instead "if optionKey()", or go where I always do, "if t...
- Sun May 05, 2024 11:18 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: OpenCard to control?
- Replies: 16
- Views: 428
Re: OpenCard to control?
Zax. You should inform Jacque that the "direction" of that diagram is upside down. She will appreciate the news.
Craig
Craig
- Fri May 03, 2024 3:14 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Exporting text to SVG
- Replies: 23
- Views: 647
Re: Exporting text to SVG
Richmond.
Isn't this another comment about SVG in a thread that you started just a while ago?
Craig
Isn't this another comment about SVG in a thread that you started just a while ago?
Craig
- Fri May 03, 2024 2:14 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: How to scroll to a specific line number
- Replies: 5
- Views: 189
Re: How to scroll to a specific line number
Make a field with many lines of text. In a button somewhere, put:
Craig
Code: Select all
on mouseUp
set the fixedLineheight of fld 1 to "true"
ask "What Line?"
set the scroll of fld 1 to it * the textheight of fld 1 - the textHeight of fld 1
end mouseUp
- Thu May 02, 2024 6:52 pm
- Forum: Talking LiveCode
- Topic: Where is stack "revNewScriptEditor"?
- Replies: 7
- Views: 235
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
Fun stuff. Thank you.
That home stack is a doozy.
Glad to hear someone thinks the weekend starts today.
Craig
- Thu May 02, 2024 5:05 pm
- Forum: Talking LiveCode
- Topic: Where is stack "revNewScriptEditor"?
- Replies: 7
- Views: 235
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.
Craig
Do you have a secret list of undocumented native LC words? My favorite is "the messageMessages", but I know there are lots more.
Craig
- Thu May 02, 2024 3:18 pm
- Forum: Talking LiveCode
- Topic: Where is stack "revNewScriptEditor"?
- Replies: 7
- Views: 235
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...
- Thu May 02, 2024 3:05 pm
- Forum: Talking LiveCode
- Topic: Where is stack "revNewScriptEditor"?
- Replies: 7
- Views: 235
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...
- Thu May 02, 2024 2:56 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Cursor visibility problem
- Replies: 8
- Views: 281
Re: Cursor visibility problem
CAsba.
Good, Just so you know, you can also: which will place the cursor in the center of the SE.
Craig
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"
Craig
- Thu May 02, 2024 2:07 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Cursor visibility problem
- Replies: 8
- Views: 281
Re: Cursor visibility problem
CAsba.
You can write a little ditty in the stack script like:
Now just click with optionKey and the cursor will appear at the center of the card window.
Craig
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
Craig
- Fri Apr 26, 2024 5:31 pm
- Forum: Windows
- Topic: SQL Query error when a String has double quote
- Replies: 3
- Views: 399
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...
- Thu Apr 25, 2024 8:21 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Exporting SVG images?
- Replies: 9
- Views: 589
Re: Exporting SVG images?
So is this worth an enhancement request, to add a sixth format to the "export" command?
Craig
Craig
- Thu Apr 25, 2024 8:19 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Palettising a main stack.
- Replies: 9
- Views: 380
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:
it work fine if you click on the card window.
Craig
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
Craig
- Thu Apr 25, 2024 8:17 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Palettising a main stack.
- Replies: 9
- Views: 380
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:
it work fine.
Craig
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
Craig
- Thu Apr 25, 2024 8:13 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Palettising a main stack.
- Replies: 9
- Views: 380
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
"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