Search found 251 matches

by cadu
27 Sep 2019 13:04
Forum: Tips & Tricks, Questions & Answers
Topic: Script if <curitem> is *.lnk run this command, if any other file extension or folder, run that...
Replies: 2
Views: 194

Script if <curitem> is *.lnk run this command, if any other file extension or folder, run that...

Hi,

I'd appreciate your help to elaborate a script syntax based on the condition:

if <curitem> has *.lnk extension, run command #4000
if <curitem> has any other extension, or is a folder, then run command #4001

Is this script viable? What would be the syntax?

Thank you very much!
by cadu
22 Sep 2019 04:26
Forum: Tips & Tricks, Questions & Answers
Topic: How to adapt syntax "goto" to work in breadcrumb menu?
Replies: 2
Views: 235

How to adapt syntax "goto" to work in breadcrumb menu?

Hi,

I'd appreciate your help.

The following syntax work perfectly from the user button. However, when pasted into the breadcrumb menu, it doesn't work:

Code: Select all

"&_App C|C:\_App|*" goto "C:\_App"
How to adapt the syntax to work in the breadcrumb menu?

Thank you!
by cadu
19 Jun 2019 01:22
Forum: Tips & Tricks, Questions & Answers
Topic: How to set a user button to show folder content in pop-up menu?
Replies: 10
Views: 821

Re: How to set a user button to show folder content in pop-up menu?

Many thanks for your reply! Regarding popup menus (from user button), I'm facing an issue I'd appreciate further help When I insert in the user button a single line script to copy an item and paste in the current path, it works: copyitem "Z:\Templates\File.pdf", "*.?"; However, when I insert that sc...
by cadu
15 Jun 2019 23:26
Forum: Tips & Tricks, Questions & Answers
Topic: How to set a user button to show folder content in pop-up menu?
Replies: 10
Views: 821

Re: How to set a user button to show folder content in pop-up menu?

(...) for this particular query I suggest this topic: Scripting > Script Files for the Advanced Thanks for the directions! After exploring the 'Script Files for the Advanced', I could elaborate the following syntax to list in the user menu button the folders having _ (underline) with their respecti...
by cadu
13 Jun 2019 16:57
Forum: Tips & Tricks, Questions & Answers
Topic: How to set a user button to show folder content in pop-up menu?
Replies: 10
Views: 821

Re: How to set a user button to show folder content in pop-up menu?

Ofc not. There is listfolder() / quicksearch()... Has the OP discovered "Hover Box" yet? Thank you all for sharing these functionalities. I was not aware of them. Starting using just now! Regarding user button usage for access folder content, I have a further question you may help me with: I added ...
by cadu
13 Jun 2019 15:05
Forum: Tips & Tricks, Questions & Answers
Topic: How to set a user button to show folder content in pop-up menu?
Replies: 10
Views: 821

Re: How to set a user button to show folder content in pop-up menu?

Thanks for the reply @highend! Get files and folders for the current path (separately) You mean I should enter in the user button each folder content (subfolders/files) line by line, as shown in the snapshot below? https://i.imgur.com/3JUv1ZL.png Script it? By using a script would there be a single ...
by cadu
13 Jun 2019 14:15
Forum: Tips & Tricks, Questions & Answers
Topic: How to set a user button to show folder content in pop-up menu?
Replies: 10
Views: 821

How to set a user button to show folder content in pop-up menu?

Hi, I'd appreciate help. I would like to set a user button to show folder content in a pop-up menu. Is it possible? How to? Below there is a snapshot simulating what I'm trying to achieve for the path "Z:/". For instance, if I add the command [goto "Z:\"] in a user button, XYplorer will navigate to ...
by cadu
12 Jun 2019 13:34
Forum: Tips & Tricks, Questions & Answers
Topic: Possible including "Preview" tab in saved layout windows?
Replies: 2
Views: 234

Re: Possible including "Preview" tab in saved layout windows?

You can open the info panel as part of the layout ShowInfoPanel=1 in the layout file. The info panel will typically open to the last tab used so if you last used Preview it will open to Preview. If that's not good enough for your needs, just invoke Command ID #1023 which opens the info panel to the...
by cadu
03 Jun 2019 13:11
Forum: Tips & Tricks, Questions & Answers
Topic: Is there a user command to run specific layout window directly?
Replies: 2
Views: 237

Is there a user command to run specific layout window directly?

Hello,

I'd appreciate help. Currently, when I need to change a layout window I need to use command #672, then pick a layout from the pop-up window.

Is there a user command to run a specific layout window directly?
By specific I mean: <xypath>\Data\Layouts\Mini.txt

Thanks for the assistance,
Carlos
by cadu
03 Jun 2019 13:02
Forum: Tips & Tricks, Questions & Answers
Topic: Possible including "Preview" tab in saved layout windows?
Replies: 2
Views: 234

Possible including "Preview" tab in saved layout windows?

Hello,
I'd appreciate help.
The default Save Layout Window (command #673) just stores the window/pane positions.
Is it possible to including "Preview" tab (please see snapshot) in saved layout windows?
Thanks for the assistance,
Carlos

Image
by cadu
15 May 2019 19:04
Forum: Tips & Tricks, Questions & Answers
Topic: Script syntax with conditional (IF) to run command considering there is (or not) selected items in list pane
Replies: 7
Views: 369

Re: Script syntax with conditional (IF) to run command considering there is (or not) selected items in list pane

highend wrote:
15 May 2019 17:44
Use a proper text editor with syntax highlighting...
It seems I need to evolve!
Would you mind sharing the name of your favorite text editor?
by cadu
15 May 2019 17:41
Forum: Tips & Tricks, Questions & Answers
Topic: Script syntax with conditional (IF) to run command considering there is (or not) selected items in list pane
Replies: 7
Views: 369

Re: Script syntax with conditional (IF) to run command considering there is (or not) selected items in list pane

highend wrote:
15 May 2019 17:24
You didn't indent the lines properly if that's happening
Thanks for further feedback. The former post was already updated.
By the way, from XYplorer script editor, is there any other way to add indentation besides "space"?
For instance, I tried the "tab" key, but there is no effect.
by cadu
15 May 2019 17:16
Forum: Tips & Tricks, Questions & Answers
Topic: Script syntax with conditional (IF) to run command considering there is (or not) selected items in list pane
Replies: 7
Views: 369

Re: Script syntax with conditional (IF) to run command considering there is (or not) selected items in list pane

Thank you very much @highend! I always learn a lot from you. For documentation purposes, this is my script using IF: if (<curitem>) {run """<xypath>\_Everything\Everything.exe"" -filename ""<curitem>""" -d ""<curitem>""" } else {run """<xypath>\_Everything\Everything.exe"" -filelist ""<curpath>""" -...