|
Re: Debugging SetDefaultValue - Solved
≥ In your uploaded 'Format Prompts and Wizard Lines', you mention in a comment that one can 'Can run against live code if started from button in user created clipbar. (Pro only)'. Where is this
≥ In your uploaded 'Format Prompts and Wizard Lines', you mention in a comment that one can 'Can run against live code if started from button in user created clipbar. (Pro only)'. Where is this
|
By
joy8388608
·
#26491
·
|
|
Re: Debugging SetDefaultValue - Solved
Hello Joy,
In your uploaded 'Format Prompts and Wizard Lines', you mention in a comment that one can 'Can run against live code if started from button in user created clipbar. (Pro only)'. Where is
Hello Joy,
In your uploaded 'Format Prompts and Wizard Lines', you mention in a comment that one can 'Can run against live code if started from button in user created clipbar. (Pro only)'. Where is
|
By
Tony Becker
·
#26490
·
|
|
Re: Debugging SetDefaultValue - Solved
Art's method, using the ^!Append command to build these wizards through concatenation, has several advantages. It makes them correct by construction, and with each wizard variable on a separate, short
Art's method, using the ^!Append command to build these wizards through concatenation, has several advantages. It makes them correct by construction, and with each wizard variable on a separate, short
|
By
Tony Becker
·
#26489
·
|
|
Re: Debugging SetDefaultValue - Solved
Long wizard lines can be very eye crossing and difficult to read and edit.
This is a reminder I previously uploaded a clip to help with this. It deconstructs a long wizard line into its individual
Long wizard lines can be very eye crossing and difficult to read and edit.
This is a reminder I previously uploaded a clip to help with this. It deconstructs a long wizard line into its individual
|
By
joy8388608
·
#26488
·
|
|
Re: Debugging SetDefaultValue - Solved
Hi Art,
just to complete this: I suspect (but can’t prove or reproduce it) that when I re-joined the 4 lines into one some invisible character crept into the statement, instead of the blank after
Hi Art,
just to complete this: I suspect (but can’t prove or reproduce it) that when I re-joined the 4 lines into one some invisible character crept into the statement, instead of the blank after
|
By
Thomas Gruber
·
#26487
·
|
|
Re: Debugging SetDefaultValue - Solved
Hi Art,
I‘m now unable to reproduce the problem, so let‘s forget it.
Thomas
Hi Art,
I‘m now unable to reproduce the problem, so let‘s forget it.
Thomas
|
By
Thomas Gruber Yahoo
·
#26486
·
|
|
Re: Debugging SetDefaultValue - Solved
<pant> <pant> ;-)
Not sure what you mean by "other quotes".
What I meant was that you were thinking that SetDefaultValue was not working correctly and I contend that it actually is working fine but
<pant> <pant> ;-)
Not sure what you mean by "other quotes".
What I meant was that you were thinking that SetDefaultValue was not working correctly and I contend that it actually is working fine but
|
By
Art Kocsis
·
#26485
·
|
|
Re: Debugging SetDefaultValue - Solved
<snip>
Ok, Maybe we should start over as I am not sure what you want me to test.
Regarding the weird behavior what you describe is what would happen if you left out the semicolons after the first
<snip>
Ok, Maybe we should start over as I am not sure what you want me to test.
Regarding the weird behavior what you describe is what would happen if you left out the semicolons after the first
|
By
Art Kocsis
·
#26484
·
|
|
Re: Debugging SetDefaultValue - Solved
It is implied (if you read very, very carefully), in the clip help for clip variables and for the Set command.
The Set command supports setting multiple variables on one line, delimited by a semicolon
It is implied (if you read very, very carefully), in the clip help for clip variables and for the Set command.
The Set command supports setting multiple variables on one line, delimited by a semicolon
|
By
Art Kocsis
·
#26483
·
|
|
Re: Debugging SetDefaultValue - Solved
Thomas Gruber wrote:
As far as I always understood it, that is the definition of a "wizard" as
opposed to a simple set statement. The way I use it is to order the entries
by the probability they need
Thomas Gruber wrote:
As far as I always understood it, that is the definition of a "wizard" as
opposed to a simple set statement. The way I use it is to order the entries
by the probability they need
|
By
Axel Berger
·
#26482
·
|
|
Re: Debugging SetDefaultValue - Solved
"Art Kocsis via groups.io" wrote:
I hope not and I beleive I do not. Unfortunately the whole clip in question
is quite long and complicatwed, so I only extracted the relevant lines but
did not build a
"Art Kocsis via groups.io" wrote:
I hope not and I beleive I do not. Unfortunately the whole clip in question
is quite long and complicatwed, so I only extracted the relevant lines but
did not build a
|
By
Axel Berger
·
#26481
·
|
|
Re: Debugging SetDefaultValue - Solved
Hi Art,
I’m aware that this line is incomplete - I thought you had it complete somewhere. I didn’t try that one of course! I only tested with the full script that Axel posted. here’s the
Hi Art,
I’m aware that this line is incomplete - I thought you had it complete somewhere. I didn’t try that one of course! I only tested with the full script that Axel posted. here’s the
|
By
Thomas Gruber
·
#26480
·
|
|
Re: Debugging SetDefaultValue - Solved
That code line is incomplete as written. The question mark should be followed by a left brace and the rest of a wizard expression (that's is what the ellipsis represents). Axel was just taking a
That code line is incomplete as written. The question mark should be followed by a left brace and the rest of a wizard expression (that's is what the ellipsis represents). Axel was just taking a
|
By
Art Kocsis
·
#26479
·
|
|
Re: Debugging SetDefaultValue
Hi Axel,
I copied your original clip from the groups.io web site, saved it as a new clip in NoteTab (Pro and Light), then had to correct the 4 lines between ;long and ;/long into 1 - and it worked
Hi Axel,
I copied your original clip from the groups.io web site, saved it as a new clip in NoteTab (Pro and Light), then had to correct the 4 lines between ;long and ;/long into 1 - and it worked
|
By
Thomas Gruber
·
#26478
·
|
|
Re: Why using ^$SetDefaultValue$ ?
Thank you, Thomas for your efforts!
However, I am quite familiar with how this function works. The points in my message were a little different.
Although I now see certain solutions, I think we can
Thank you, Thomas for your efforts!
However, I am quite familiar with how this function works. The points in my message were a little different.
Although I now see certain solutions, I think we can
|
By
Flo
·
#26477
·
|
|
Re: Debugging SetDefaultValue - Solved
Hi Art,
please test the result of this statement (from the snippet below):
When I tested, the value assigned to %vNAM% contained the semicolon behind the selected value. That of course then makes
Hi Art,
please test the result of this statement (from the snippet below):
When I tested, the value assigned to %vNAM% contained the semicolon behind the selected value. That of course then makes
|
By
Thomas Gruber
·
#26476
·
|
|
Re: Debugging SetDefaultValue - Solved
Axel, I forgot to include this test clip in my previous post.
^!Set %vNAM%=^%empty%
:Loop
^!Set %fNAM%=^$GetFileText(^$GetValue("funcPdfNeu")$\00c-Abbr.txt)$
^!Set
Axel, I forgot to include this test clip in my previous post.
^!Set %vNAM%=^%empty%
:Loop
^!Set %fNAM%=^$GetFileText(^$GetValue("funcPdfNeu")$\00c-Abbr.txt)$
^!Set
|
By
Art Kocsis
·
#26475
·
|
|
Re: Debugging SetDefaultValue - Solved
Well, this is extremely embarrassing! On a number of levels.
First, I want to profusely apologize for accusing you of not providing the relevant data. You did provide it and I skipped right over it.
Well, this is extremely embarrassing! On a number of levels.
First, I want to profusely apologize for accusing you of not providing the relevant data. You did provide it and I skipped right over it.
|
By
Art Kocsis
·
#26474
·
|
|
Re: Why using ^$SetDefaultValue$ ?
Correction of my earlier message:
Hi Flo,
this question has triggered a fairly intensive discussion, which somewhat left the original question.
I think I can give a short definition, you have to
Correction of my earlier message:
Hi Flo,
this question has triggered a fairly intensive discussion, which somewhat left the original question.
I think I can give a short definition, you have to
|
By
Thomas Gruber
·
#26473
·
|
|
Re: Debugging SetDefaultValue
Am 2022-05-17 um 09:47 schrieb Axel Berger:
You know the right syntax but don't use it. Instead of
^!Set %fNAM%=^$SetDefaultValue(^%fNAM%;^%vNAM%)$
use
^!Set
Am 2022-05-17 um 09:47 schrieb Axel Berger:
You know the right syntax but don't use it. Instead of
^!Set %fNAM%=^$SetDefaultValue(^%fNAM%;^%vNAM%)$
use
^!Set
|
By
m.feichtinger
·
#26472
·
|