Search found 450 matches

by Zax
Tue Apr 23, 2024 12:49 pm
Forum: Made With LiveCode
Topic: FolderWasher - deletes specific OS invisible files
Replies: 4
Views: 374

Re: FolderWasher - deletes specific OS invisible files

BTW, FolderWasher doesn't delete folders, just files, unless the folders have been compressed as .zip files.
This is an idea for an update to not delete the .zip, .rar, .iso and .dmg files.
by Zax
Tue Apr 23, 2024 12:38 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Force the script editor to update?
Replies: 22
Views: 379

Re: Force the script editor to update?

2. Stop those messages from shiwing up in the Message Watcher. I bet on this. After digging in the IDE scripts, I wrote this script but I don't like it. 1 - I'm not sure it performs all the actions that should be 2 - I don't really like calling commands from the IDE scripts because they are of cour...
by Zax
Tue Apr 23, 2024 11:28 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: My masterpiece vanished.
Replies: 11
Views: 303

Re: My masterpiece vanished.

Don't worry, I found the masterpiece: it's at the Louvre Museum! :wink:

img.jpg
by Zax
Tue Apr 23, 2024 11:19 am
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Force the script editor to update?
Replies: 22
Views: 379

Re: Force the script editor to update?

At least it would be useful if I could retrieve the list of open scripts in the editor. I could thus check if the stack that I want to close has some of its scripts edited, and warn.
by Zax
Tue Apr 23, 2024 9:52 am
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Force the script editor to update?
Replies: 22
Views: 379

Re: Force the script editor to update?

Use the lock messages command when a handler performs an action (such as opening a stack) and you want to speed up access by preventing unnecessary navigation messages (such as openStack) from being sent. Well, obviously one of the "unnecessary navigation messages" concerns closing script editor wi...
by Zax
Tue Apr 23, 2024 9:37 am
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Force the script editor to update?
Replies: 22
Views: 379

Re: Force the script editor to update?

However, I have to ask: Why are you locking the messages in the first place? For information, it is for the script of a button of a personal development tools palette which must close in a somewhat brutal way the stacks which I no longer use. When developing, I often open several stacks to copy ele...
by Zax
Tue Apr 23, 2024 9:09 am
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Force the script editor to update?
Replies: 22
Views: 379

Re: Force the script editor to update?

richmond62 wrote:
Tue Apr 23, 2024 8:29 am
What am I missing?
Maybe "lock messages" before closing?

Test.livecode.zip
(1 KiB) Downloaded 1 time
by Zax
Tue Apr 23, 2024 9:05 am
Forum: Made With LiveCode
Topic: FolderWasher - deletes specific OS invisible files
Replies: 4
Views: 374

Re: FolderWasher - deletes specific OS invisible files

lyricalback wrote:
Tue Apr 23, 2024 8:41 am
So with mistakenly deleted folders, is there any way to restore them?
Well, it depends of your OS.
As it is said in the "Help/About" window:
WARNING: deleted files are moved to trash on MacOS but there are permanently deleted on Windows and cannot be recovered.
by Zax
Tue Apr 23, 2024 8:03 am
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Force the script editor to update?
Replies: 22
Views: 379

Re: Force the script editor to update?

Here is my testing procedure: 1 - opening a test stack, let's call it "TestStack" 2 - opening another stack, let's call it "AnyStack" 3 - editing the script of some controls of the "AnyStack" stack 4 - editing the script of some controls of the "TestStack" stack 5 - the "TestStack" stack has its des...
by Zax
Mon Apr 22, 2024 6:11 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Force the script editor to update?
Replies: 22
Views: 379

Re: Force the script editor to update?

Nice trick Richmond62 :) Though, I would prefer a "full script" way, if possible. If so, I get what you are saying, but also say that everything is working as advertised. After, all, even with the stack closed, you can still edit the scripts, and even save them, assuming the stack itself has only be...
by Zax
Mon Apr 22, 2024 12:45 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Force the script editor to update?
Replies: 22
Views: 379

Force the script editor to update?

Hello, Is there a way to force the script editor to update its tabs when closing a stack? If I close a stack with locked messages and have some of its scripts opened in the script editor, the editor doesn't update and its tabs become nonsense. On the other hand, if I close a stack with unlocked mess...
by Zax
Tue Apr 16, 2024 2:41 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Styling paragraphs/lines?
Replies: 44
Views: 1862

Re: Styling paragraphs/lines?

It’s a personal standalone that is currently being developed. The method which adds an overlay field is much simpler to use than the one which adds/removes ASCII 11 characters but it can be more complex if I need several highlights in a large scrolling field. At this stage of production, I haven't d...
by Zax
Tue Apr 16, 2024 7:25 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Styling paragraphs/lines?
Replies: 44
Views: 1862

Re: Styling paragraphs/lines?

Wow, very impressive! I didn't know about the formattedRect and your use of it opens up great perspectives for me. Also, the blendDarken ink is smart. In absolute terms, we could dream of a future version of LC which would manage a few more HTML tags, like "<br>" for example. In any case, thank you ...
by Zax
Mon Apr 15, 2024 11:13 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Styling paragraphs/lines?
Replies: 44
Views: 1862

Re: Styling paragraphs/lines?

Nice :)

This is a simplified version:

Code: Select all

on mouseUp
   put the selectedText into savedText
   replace cr with numToNativeChar(11) in savedText
   put savedText into the selectedText
   
   set the borderwidth of the selectedText to 4
   set the bordercolor of the selectedText to "red"
end mouseUp
by Zax
Mon Apr 15, 2024 7:25 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Styling paragraphs/lines?
Replies: 44
Views: 1862

Re: Styling paragraphs/lines?

Thanks Craig, that’s a smart solution :) However, if I want to be a perfectionist, placing a semi-transparent element on top of text decreases the contrast of the text and it is no longer black. This is the difference with the concept of background , where the color is placed in a layer lower than t...

Go to advanced search