Search found 33 matches

by altoclef
15 Mar 2019 19:49
Forum: Bug Reports
Topic: Website and Help Typos
Replies: 392
Views: 95811

Re: Website and Help Typos

Code: Select all

::help "idh_scripting_comref.htm#idh_sc_regexreplace"
Syntax
regexreplace(string, pattern, replacement, [matchcase])
...
When no replacement is defined, ...
Should replacement have square braces, as it is optional?
by altoclef
15 Mar 2019 19:29
Forum: Wishes
Topic: Scripting: formatlist()
Replies: 4
Views: 1380

Re: Scripting: formatlist()

Ah, I see - you meant just using regexreplace(). I didn't realise that.

I shall have a look at your solution to fully understand it.

Thank you.
by altoclef
14 Mar 2019 19:33
Forum: Wishes
Topic: Scripting: formatlist()
Replies: 4
Views: 1380

Re: Scripting: formatlist()

Thank you for the suggestion. I've done this, which works for me:

formatlist2.PNG
formatlist2.PNG (3.84 KiB) Viewed 1341 times

If there is a more elegant solution please let me know.
by altoclef
14 Mar 2019 18:22
Forum: Script Exchange
Topic: self()
Replies: 6
Views: 2553

Re: self()

Confirmed as fixed in 19.80. Thank you.
by altoclef
12 Mar 2019 20:14
Forum: Wishes
Topic: Scripting: formatlist()
Replies: 4
Views: 1380

Scripting: formatlist()

Please would it be possible to either: change the formatlist() t format switch to trim all whitespace (tabs and spaces), or add a new switch which would do so? This is so I could indent with tabs not multiple spaces, so that it matches my coding style - see image where item1 is shown as I would pref...
by altoclef
08 Mar 2019 15:24
Forum: Wishes
Topic: Scripting - Variables on stack dialog
Replies: 0
Views: 1369

Scripting - Variables on stack dialog

Please would it be possible to show the Variables on Stack dialog at the same position and with the same size as it was last closed?
by altoclef
04 Mar 2019 12:12
Forum: Script Exchange
Topic: self()
Replies: 6
Views: 2553

Re: self()

Thank you for your suggestion, SammaySarkar. I have only recently started writing XY scripts, so I did not realise that functions have global scope - that is interesting and I shall bear that in mind when writing more in future. However, I am not sure that that explains why self("file") ca...
by altoclef
04 Mar 2019 09:32
Forum: Script Exchange
Topic: self()
Replies: 6
Views: 2553

self()

I don't understand why I get different results from the following statements in the same script: text self("file")."<br>". self("path")."<br>". self("base"); Foo(); function Foo() { text self("file")."<br>". self("path")...
by altoclef
02 Mar 2019 13:57
Forum: Bug Reports
Topic: Nested switch statements
Replies: 2
Views: 845

Re: Nested switch statements

That works fine for me in 19.70.0100. Thank you for fixing it. :tup:
by altoclef
20 Feb 2019 14:46
Forum: Bug Reports
Topic: Reported Trojan Virus
Replies: 23
Views: 4411

Re: Reported Trojan Virus

Windows Defender does not like v19.70:

XYTrojan.PNG
XYTrojan.PNG (55.51 KiB) Viewed 3125 times
by altoclef
15 Feb 2019 10:51
Forum: Bug Reports
Topic: Nested switch statements
Replies: 2
Views: 845

Nested switch statements

There seems to be a problem with nested switch statements. I have run the following tests: 1) select an exe and run this script - works as expected 2) select an item with a different extension and run this script - I see the impossible message. (Using XY 19.60.0100). $extension = get("curitem&q...
by altoclef
21 Aug 2016 11:42
Forum: Bug Reports
Topic: Click and Tag
Replies: 3
Views: 1012

Re: Click and Tag

Thank you for your reply. Am I right to think that the reason that the tag cannot appear until it has been added to at least one time is that the "database" in question is the tag.dat file (or the in-memory version of it, until settings are saved), not the ini file (where I see that the ta...
by altoclef
16 Jul 2016 13:56
Forum: Tips & Tricks, Questions & Answers
Topic: Live Filter Box :-) / Function keys
Replies: 2
Views: 824

Re: Live Filter Box :-) / Function keys

I find that F3 does still open Quick Search if the Live Filter box doesn't have the focus.
by altoclef
16 Jul 2016 13:49
Forum: Bug Reports
Topic: Live Filter Box
Replies: 6
Views: 1758

Re: Live Filter Box

Such quick responses. :)

Thank you, everyone. All is now working as expected.
by altoclef
16 Jul 2016 13:45
Forum: Bug Reports
Topic: Live Filter Box
Replies: 6
Views: 1758

Re: Live Filter Box

Ah, I didn't know that, thank you.

I am also missing the green information bar.