Search found 18 matches

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

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: 223

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: 223

Re: Scripting: formatlist()

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

formatlist2.PNG
formatlist2.PNG (3.84 KiB) Viewed 184 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: 371

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: 223

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: 206

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: 371

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") can correctl...
by altoclef
04 Mar 2019 09:32
Forum: Script Exchange
Topic: self()
Replies: 6
Views: 371

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")."<br>". self("base"); } First results: C:\AppData\XYplorer\Scripts\Test.xys C:\...
by altoclef
02 Mar 2019 13:57
Forum: Bug Reports
Topic: Nested switch statements
Replies: 2
Views: 193

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: 825

Re: Reported Trojan Virus

Windows Defender does not like v19.70:

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

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", "ext...
by altoclef
21 Aug 2016 11:42
Forum: Bug Reports
Topic: Click and Tag
Replies: 3
Views: 462

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 tag is writt...
by altoclef
16 Jul 2016 13:56
Forum: Tips & Tricks, Questions & Answers
Topic: Live Filter Box :-) / Function keys
Replies: 2
Views: 325

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: 872

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: 872

Re: Live Filter Box

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

I am also missing the green information bar.