Search found 208 matches

by John_C
13 Sep 2020 17:39
Forum: Tips & Tricks, Questions & Answers
Topic: +++ BREAKING NEWS: XY Switches Programming Language +++
Replies: 238
Views: 32758

Re: +++ BREAKING NEWS: XY Switches Programming Language +++

Coding for me has to be fun. It's not just you :D This an interesting question why coding make people so passionate about it. You know, I'm proud that I begin to master the art of "Indonesian Coding". That's my own term for what I saw 2012 in Sumatra and Java: DIY high-tech tools! A broken pocket c...
by John_C
17 Apr 2020 19:11
Forum: Tips & Tricks, Questions & Answers
Topic: copyas: Does it support wildcard in itemlist?
Replies: 1
Views: 386

copyas: Does it support wildcard in itemlist?

To backup tag.dat and XYplorer.ini, works: copyas "*.?@<date yyyy_mm_dd_hh_nn>.?", "<xydata>\..\..\xyplorer_backups", "<xydata>\tag.dat|<xydata>\XYplorer.ini" To backup all *.dat and *.ini files, doesn't work: copyas "*.?@<date yyyy_mm_dd_hh_nn>.?", "<xydata>\..\..\xyplorer_backups", "<xydata>\*.dat...
by John_C
09 Apr 2020 15:42
Forum: Tips & Tricks, Questions & Answers
Topic: +++ BREAKING NEWS: XY Switches Programming Language +++
Replies: 238
Views: 32758

Re: +++ BREAKING NEWS: XY Switches Programming Language +++

Yes, XY is created on the dead language, but this is what I like about it. See Vim, Emacs, Unix utils, Windows command prompt. All this software is very old, sometimes isn't very easy to use, and have some limitations. However, this software have great advantage: it just works. It worked 20 years ag...
by John_C
08 Apr 2020 11:04
Forum: Wishes
Topic: An alternative way to jump to specific line (and something else)
Replies: 6
Views: 683

Re: An alternative way to jump to specific line (and something else)

https://www.xyplorer.com/xyfc/viewtopic.php?f=3&t=21626 Surprising. I love this app, I hope nothing bad will happen. $fc = get("FocusedControl"); if ($fc == "L") { $line = input("Enter line number", , "1"); $cnt = get("CountItems"); if ($line <= 0) { $line = 1; } elseif ($line > $cnt) { $line = $cn...
by John_C
08 Apr 2020 10:18
Forum: Wishes
Topic: An alternative way to jump to specific line (and something else)
Replies: 6
Views: 683

Re: An alternative way to jump to specific line (and something else)

Another implementation of similar idea could be seen in Vim. For example, * to move to line 15: 15G . It will be executed in the background. * to set/unset word wrap: :set wrap and :set wrap! . It will be executed using the command line. One difference between Vim and Visual Studio Code (or between ...
by John_C
08 Apr 2020 02:09
Forum: Wishes
Topic: An alternative way to jump to specific line (and something else)
Replies: 6
Views: 683

Re: An alternative way to jump to specific line (and something else)

Mine does "execute" whatever item (in the list pane) got selected through the live filter. Just tested with 20.30 and 20.90. On my system, it is Ctrl+Enter. Btw, it's a live filter box, not a command palette. Yeah, I see your point and irony, and I agree that it's not good to mess the things. To sh...
by John_C
08 Apr 2020 01:31
Forum: Wishes
Topic: An alternative way to jump to specific line (and something else)
Replies: 6
Views: 683

An alternative way to jump to specific line (and something else)

When you press : , your input should be redirected to Live Filter Box. Supplement : with line number, press Enter, and you will be moved thither. That is, :15<Enter> - to jump to line 15. (Notice that :line shouldn't activate the normal live filter.) Also notice the Enter behavior. When you press En...
by John_C
04 Apr 2020 13:18
Forum: Wishes
Topic: Directory preview
Replies: 2
Views: 779

Directory preview

Directory preview, the same way as it already implemented for zip archives. When you select a directory, its contents should be shown in the preview pane, as plain text. C:\preview_me contents: preview_me.png The preview itself: dir_preview.png Edit: Of course, it should be aaa\ , bbb\ , ccc\ . That...
by John_C
02 Apr 2020 21:53
Forum: Tips & Tricks, Questions & Answers
Topic: To assign a shortcut for a user button
Replies: 3
Views: 353

Re: To assign a shortcut for a user button

Thanks, highend.

I can use either ::button "ctb5"; or ::load 'tab_management.xys';, but both these solutions has a drawback: the menu is shown near the mouse cursor. As I understand, it's not possible to show it near the button?
by John_C
02 Apr 2020 20:29
Forum: Tips & Tricks, Questions & Answers
Topic: To assign a shortcut for a user button
Replies: 3
Views: 353

To assign a shortcut for a user button

I have a "Tab Management" user button on the toolbar which is assigned to "tab_management.xys" script. When I click this button, there is a selection of 5 different actions: * Reload the Current Tab * Duplicate the Current Tab * Close Other Tabs * Close Tabs to the Right * Reopen the Closed Tab Is t...
by John_C
17 Mar 2020 22:35
Forum: Wishes
Topic: macOS-like truncation of filenames
Replies: 7
Views: 2263

macOS-like truncation of filenames

On Windows, when the filename is too long, it truncates on the right side: a very long filename a_b_c_d_e_f_g_h_i_j_k_l_m_n_o_p_q_r_s_t_u_v_w_x_y_z.txt will be displayed as a_b_c_d_e_f_g_h_i_j... On macOS, it will be something like a_b_c_d...w_x_y_z.txt That is, the truncation performed in the middle.
by John_C
10 Mar 2020 21:33
Forum: Bug Reports
Topic: Manual editing of tag.dat: paths required to be located alphabetically
Replies: 1
Views: 1150

Manual editing of tag.dat: paths required to be located alphabetically

I don't know is it really a bug or not. Anyway, I think it is better report then keep silent. 1. Create 3 dirs on your desktop: aaa, bbb, ccc. 2. Assign red label to aaa, green label to bbb, blue label to ccc. Also, assign some comments. 3. Close XY. 4. Open tag.dat and move bbb line above aaa. That...
by John_C
10 Mar 2020 21:10
Forum: Bug Reports
Topic: A bug with "cut out" files that were placed into the archive
Replies: 6
Views: 2304

Re: A bug with "cut out" files that were placed into the archive

> No, you should copy it to C:\Users\YourName\Desktop)

Sorry, it was a wrong word, I mean "cut".
issue.gif
issue.gif (232.77 KiB) Viewed 2088 times
It seems is was fixed in 20.60. Sorry for false alarm. :eh:

(This is weird! I was sure I tested it with 20.80.)
by John_C
08 Mar 2020 10:57
Forum: Bug Reports
Topic: A bug with "cut out" files that were placed into the archive
Replies: 6
Views: 2304

Re: A bug with "cut out" files that were placed into the archive (updated)

Can anybody confirm this bug? I have tested it on 2 computers.
by John_C
01 Mar 2020 11:06
Forum: Bug Reports
Topic: A bug with "cut out" files that were placed into the archive
Replies: 6
Views: 2304

Re: A bug with "cut out" files that were placed into the archive

@Borut, thank you testing. As I discovered, you are correct. In case the file was copied from C:\Test to C:\ or C:\Program Files, the bug doesn't appear . Try to copy it to C:\Users\YourName\Desktop and you will see that the bug does appear .\ So, the issue is still here. Tested with XY 20.80.0100, ...