Search found 5861 matches

by highend
18 Aug 2017 22:23
Forum: Script Exchange
Topic: Append labels (as words) and tags to file names (selected)
Replies: 24
Views: 4430

Re: Append labels (as words) and tags to file names (selected)

Code: Select all

$base = regexreplace(gpc($file, "base"), "([ ]+\[.+?\])");
by highend
18 Aug 2017 21:51
Forum: Script Exchange
Topic: Append labels (as words) and tags to file names (selected)
Replies: 24
Views: 4430

Re: Append labels (as words) and tags to file names (selected)

The $base in the renameitem() line already contains the old [tag; label]...
Remove it e.g. via a regexreplace() first
by highend
18 Aug 2017 20:12
Forum: Tips & Tricks, Questions & Answers
Topic: Lost my computer but need my old XYplorer
Replies: 1
Views: 22

Re: Lost my computer but need my old XYplorer

Welcome to the forum.

I've edited your posting and deleted the key^^

Menu - Help - Unlock Trial Version...
by highend
18 Aug 2017 06:56
Forum: Wishes
Topic: new button for quick search
Replies: 25
Views: 272

Re: new button for quick search

In this case the regex pattern is too greedy, use this one instead:

Code: Select all

(^.*)\\(.*?)(?=\r?\n|$)
by highend
17 Aug 2017 08:53
Forum: Tips & Tricks, Questions & Answers
Topic: Can input remember history?
Replies: 2
Views: 72

Re: Can input remember history?

Inside the input field itself? No
By using a popup menu that shows (a limited) amount of previously entered input terms
+ a separated entry that would show a new input dialog to enter something new (without a default value)?

Sure, scripting is the way...
by highend
17 Aug 2017 07:20
Forum: Wishes
Topic: new button for quick search
Replies: 25
Views: 272

Re: new button for quick search

Code: Select all

text regexreplace(<get "SelectedItemsPathNames" <crlf>>, "(^.*)\\(.*)", "$2 $1\$2");
by highend
17 Aug 2017 07:18
Forum: Wishes
Topic: new button for quick search
Replies: 25
Views: 272

Re: new button for quick search

In other words, this:

Code: Select all

gravity C:\games\gravity
space C:\games\space

?
by highend
17 Aug 2017 06:46
Forum: Wishes
Topic: new button for quick search
Replies: 25
Views: 272

Re: new button for quick search

Mh?

What exactly should the script show with these two folders selected?
by highend
17 Aug 2017 06:22
Forum: Wishes
Topic: new button for quick search
Replies: 25
Views: 272

Re: new button for quick search

it gives the parent path of selected folders

And?

If you need to distinguish between files and folders, use a foreach loop...
by highend
16 Aug 2017 20:05
Forum: Script Exchange
Topic: regex help section..
Replies: 6
Views: 83

Re: regex help section..

(^[^\[]+)(\[(?:Sound|Video)\][^\[]+){1}(.*\.)(.*) > $1$2.$4 Would turn spiderman 3[Sound]noremoveee[VIDEO]watched[VIDEO]Xvid.[Sound]AC3.test-01.mp4 spiderman 3[VIDEO] watched[VIDEO]Xvid.[Sound]AC3.test-01.mp4 into spiderman 3[Sound]noremoveee.mp4 spiderman 3[VIDEO] watched.mp4
by highend
16 Aug 2017 19:17
Forum: Script Exchange
Topic: regex help section..
Replies: 6
Views: 83

Re: regex help section..

01) result must same "spiderman 3.mp4" That's what you've asked for and that's what my regex is doing... To get spiderman 3[Sound].mp4 from spiderman 3[Sound]noremoveee[VIDEO] watched[VIDEO]Xvid.[Sound]AC3.test-01.mp4 you could use: (^.*?\])(.*\.)(.*) > $1.$3
by highend
16 Aug 2017 18:58
Forum: Script Exchange
Topic: regex help section..
Replies: 6
Views: 83

Re: regex help section..

There are a ton of ways to do this...

01.

Code: Select all

(^[^\[]+)(.*\.)(.*) > $1.$3

02. By using

Code: Select all

regexreplace()
by highend
16 Aug 2017 16:22
Forum: Wishes
Topic: new button for quick search
Replies: 25
Views: 272

Re: new button for quick search

Code: Select all

text regexreplace(<get "SelectedItemsPathNames" <crlf>>, "(^.*)\\(.*)", "$2 $1");
by highend
16 Aug 2017 12:07
Forum: Script Exchange
Topic: how scroll up or down. or how scroll a line top.
Replies: 4
Views: 71

Re: how scroll up or down. or how scroll a line top.

get("FocusedPos", "top=1")


Btw, "top=1" isn't an argument :whistle:
by highend
16 Aug 2017 08:20
Forum: Script Exchange
Topic: how scroll up or down. or how scroll a line top.
Replies: 4
Views: 71

Re: how scroll up or down. or how scroll a line top.

or direct scroll up . scroll down. scroll top Afaik not possible. XY would need to be able to return - The line number of the current visible first / last item or - All visible items (more effort to calculate the necessary positions) What you can do: move the focused item into view with sel "+...

Go to advanced search