Search found 41 matches

by rebr
05 May 2017 20:55
Forum: Tips & Tricks, Questions & Answers
Topic: Help - How to get the loaded catalog's name?
Replies: 2
Views: 1017

Re: Help - How to get the loaded catalog's name?

The file name + path? Sure... $tmpIni = "%TEMP%\dummy.ini"; savesettings , $tmpIni; $curCatalog = getkey("1", "mruCatalogs", $tmpIni); delete 0, 0, $tmpIni; text $curCatalog; 1. The path is relative to <xydata> 2. You need XY v17.80.0012 or later Thank you soooo much!!
by rebr
24 Apr 2017 19:38
Forum: Tips & Tricks, Questions & Answers
Topic: Help - How to get the loaded catalog's name?
Replies: 2
Views: 1017

Help - How to get the loaded catalog's name?

Hi folks!

Is there anyway to get the current loaded catalog's name?

Thanks!
by rebr
02 Apr 2017 19:08
Forum: Wishes
Topic: Catalog - Expand certain categories
Replies: 0
Views: 824

Catalog - Expand certain categories

I know about the Autooptimizecatalog option in "XYplorer.ini" [ https://www.xyplorer.com/xyfc/viewtopic.php?f=5&t=6594#p60629 ]. But there are some Catalogs that would be nice if they open expanded. I set Autooptimizecatalog to 1 [on], and use the next code, but catalogs do not load ex...
by rebr
20 Mar 2017 22:45
Forum: Bug Reports
Topic: Scripting Bugs
Replies: 605
Views: 127195

Re: Scripting Bugs

Retrieving the script's icon with Self seems to be broken: "XYplorer|<xypath>\<xyexe>" Echo Self('icon'); "Auto Refresh|:autorefresh" Echo Self('icon'); The problem returned? ":back|:back" CopyText Self(icon); ":bfop|:bfop" CopyText Self(icon); https://www.xy...
by rebr
28 Dec 2016 00:59
Forum: Tips & Tricks, Questions & Answers
Topic: Search content of .ODT files
Replies: 4
Views: 1298

Re: Search content of .ODT files

To those that have experiencied the same, here is how I've reached a solution.

I have updated to the last LibreOffice. When installing, choose the custom installation and check on the ActiveX option.

Now XYplorer is searching content in my .ODT files.

Thanks, highend. You just pointed the way.
by rebr
28 Dec 2016 00:28
Forum: Tips & Tricks, Questions & Answers
Topic: Search content of .ODT files
Replies: 4
Views: 1298

Re: Search content of .ODT files

highend wrote:Without an installed 32-bit iFilter for .ODT files -> No search results (and the text part of such a document is not directly readable -> no binary search result)
I see... :) Do you use anyone?
by rebr
27 Dec 2016 19:56
Forum: Tips & Tricks, Questions & Answers
Topic: Search content of .ODT files
Replies: 4
Views: 1298

Search content of .ODT files

I love XYplorer and am using it since 2010. But I do love also LibreOffice (since OpenOffice 'till be bought by Oracle). I am very adapted to the use of regular expressions at search. However, I am not getting my XYplorer to find results at my Writer's files (.ODT file extension), using regex or not...
by rebr
21 Sep 2016 02:04
Forum: Tips & Tricks, Questions & Answers
Topic: Default message overwrites SB personalized return
Replies: 13
Views: 2805

Re: Default message overwrites SB personalized return

admin wrote:Next version will handle it.
:tup: :appl:
by rebr
21 Sep 2016 01:56
Forum: Tips & Tricks, Questions & Answers
Topic: environment variables
Replies: 5
Views: 1673

Re: environment variables

Hi everyone! Just to place here a script I made to my need, with the ideas and help of highend and FluxTorpedoe . function _FolderDownloads() { if (exists("%personalreal%\downloads\")) { $x = "%personalreal%\downloads\"; } elseif (exists("%userprofile%\downloads\")) { $...
by rebr
21 Sep 2016 00:51
Forum: Tips & Tricks, Questions & Answers
Topic: Read key from Windows registry
Replies: 4
Views: 1756

Re: Read key from Windows registry

ds1508 wrote:You could use runret with a batch.
Pls have a look at http://stackoverflow.com/questions/4451 ... tch-script
Thanks for the north! :tup:
by rebr
21 Sep 2016 00:50
Forum: Tips & Tricks, Questions & Answers
Topic: Read key from Windows registry
Replies: 4
Views: 1756

Re: Read key from Windows registry

Probably the shortest version (only tested on a german system): $k = quote("HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders"); $v = quote("{374DE290-123F-4565-9164-39C4925E467B}"); $result = formatlist(gettoken(runret("REG QUERY $k /v...
by rebr
20 Sep 2016 22:38
Forum: Tips & Tricks, Questions & Answers
Topic: Read key from Windows registry
Replies: 4
Views: 1756

Read key from Windows registry

Is there anyway to get the value at Windows Registry by SC?

I want to get:
HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders\{374DE290-123F-4565-9164-39C4925E467B}


Thanks in advance. :tup:
by rebr
15 Jul 2016 17:50
Forum: Bug Reports
Topic: Unicode trouble under 17.00.0100
Replies: 2
Views: 1084

Re: Unicode trouble under 17.00.0100

Sorry. It was the BOM that was off. Working fine now. :tup:
by rebr
15 Jul 2016 17:25
Forum: Bug Reports
Topic: Unicode trouble under 17.00.0100
Replies: 2
Views: 1084

Unicode trouble under 17.00.0100

Am I the only one experiencing troubles on echo's in this last version (17.00.0100)? My script is called by: ::load "<xyscripts>\update-xy.xys", "", '"s"'; There's a line in that script file that runs: echo "File “.RAR” was not found. Please download."; Those ...
by rebr
13 Jul 2016 16:13
Forum: Tips & Tricks, Questions & Answers
Topic: Quotes in captions
Replies: 6
Views: 1564

Re: Quotes in captions

I got it using variables this way: "_Initialize" perm $p_tmpCaption1 = "Send to ""Backup"" folder"; /* [...] */ "$p_tmpCaption1" text OK; Actually to avoid using variables, I use curved double quotes: "Backup to “Desktop”|%desktop% : bak2desktop...