On 11/22/22 3:27 PM, Brian Milby via use-livecode wrote:
One option to use an external editor would be ScriptTracker. You could export
the scripts, do your bulk changes, and then import them back.
That's worth a thought. Thanks.
--
Jacqueline Landman Gay |
On 11/22/22 3:08 PM, Geoff Canyon via use-livecode wrote:
A random thought: if you converted to script-only stack behaviors first,
then you would have a bunch of text files you can use whatever tool you
like on.
This project is a huge HC world. There are a lot of stacks, hundreds of cards, and
Landman Gay
Subject: Re: Lock screen challenge
Thanks to both you and Craig. I couldn't think of any other way to do it
either, but was hoping there was something other than brute force. Magic,
maybe. It took LC's search/replace dialog a long time just to find all the
instances, and actual
ecode-boun...@lists.runrev.com] On Behalf Of
J. Landman Gay via use-livecode
Sent: Monday, November 21, 2022 10:48 PM
To: How to use LiveCode
Cc: J. Landman Gay
Subject: Re: Lock screen challenge
Thanks to both you and Craig. I couldn't think of any other way to do it
either, but was hoping there was so
Yep, that makes sense. Looks nice!
On Tue, Nov 22, 2022 at 1:28 PM Brian Milby via use-livecode <
use-livecode@lists.runrev.com> wrote:
> One option to use an external editor would be ScriptTracker. You could
> export the scripts, do your bulk changes, and then import them back.
>
> Brian Milby
One small point on this: it doesn't matter since we're dealing with HC
files here, but in LC there can be backgrounds that don't appear on any
card. So it would be necessary to add:
repeat with j = 1 to the number of backgrounds in stack i
repeat with k= 1 to the number of controls of
One option to use an external editor would be ScriptTracker. You could export
the scripts, do your bulk changes, and then import them back.
Brian Milby
br...@milby7.com
> On Nov 22, 2022, at 4:10 PM, Geoff Canyon via use-livecode
> wrote:
>
> A random thought: if you converted to
My first thought is to export all scripts to a single file, with customized
headers for each object (maybe with a user-definable format). Then look for
that same format when pasting, to restore/update the scripts. Does that
make sense? Or would it be better to have an export function to create
Navigator has support for test-based filtering of controls, and can
copy/paste scripts, but it doesn't support copying/pasting to more than one
control at a time. That would be an interesting problem to solve. What's
your time frame?
gc
On Mon, Nov 21, 2022 at 1:25 PM J. Landman Gay via
A random thought: if you converted to script-only stack behaviors first,
then you would have a bunch of text files you can use whatever tool you
like on.
gc
On Mon, Nov 21, 2022 at 1:25 PM J. Landman Gay via use-livecode <
use-livecode@lists.runrev.com> wrote:
> I'm updating a very old set of
I resemble that remark!
j
> On Nov 21, 2022, at 7:47 PM, J. Landman Gay via use-livecode
> wrote:
>
> more old-timers
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your
Thanks to both you and Craig. I couldn't think of any other way to do it
either, but was hoping there was something other than brute force. Magic,
maybe. It took LC's search/replace dialog a long time just to find all the
instances, and actually editing them will be longer. But, it's just a
I was also going to suggest just brute forcing it. Something like: (code
not complete or syntax checked)
repeat with i=1 to the number of stacks
repeat with j = 1 to the number of cards in stack i
repeat with k= 1 to the number of controls of card j of stack i
put the script of
Jacque.
Why aren’t you on the forum?
Cant you just loop through each line in your handlers, and find the ones that
contain “lock screen”, both with and without the visual effect thing. Search
downstream until you find the “unlock” line, That gives you the start and
finish lines for each
I'm updating a very old set of stacks that use old HC syntax for "lock screen". A search with
LC's Find utility says there are 723 instances that may need to be changed. Right now they look
like this:
lock screen
-- do any number of things
unlock screen with
These all need to be changed to:
15 matches
Mail list logo