It's not a bug, it's just unpleasant....
I always avoided XY scriping, but I gave up waiting for a useful compare command. Starting WinMerge manually is, gah, not smooth.
The droid I'm looking for: viewtopic.php?f=7&t=4420&p=195617&hilit ... ge#p195617
(saving that script as minmerge.xys)
check menu > Tools > Configuration > Other > Features > Scripting
menu > Tools > Customize Toolbar > User Button #1 > Add
-> there is no way to configure that icon?
Note: IMO double-click should start/edit/open but NEVER delete/remove the item
Close
Toolbar icon > right-click > Edit...
"On left click:" : C:\app\conf\local\XYplorer\Scripts\winmerge.xys
left click -> "path/to/script is not a valid script command"
change the action to "start path/to/script"
-> "Overflow error"
Read the help. No idea.
change the action to "run (path/to/script)"
-> Overflow error
change the action to "exec (path/to/script)"
-> Overflow error
Giving up, most of my compares are with IntelliJ in a Linux VM anyways...
I'm taking the time to describe my displeasure because I like XYplorer a lot.
XYplorer >> Explorer 2022 > the Gnome filemanager > Explorer 2005 >> the macos abomination
Maybe I should have opened a positive feature request instead:
"looking for a method to quickly compare two files or directories, wihout jumping through burning hoops. WinMerge is a good tool".
On scripting...
Forum rules
READ THIS AND DO IT!!!
Please include the following information:
1) Your XYplorer Version (e.g., v28.00.0801)
2) Your Windows Version (e.g., Win 11)
3) Your Screen Scaling Percentage (e.g., 125%).
We strongly recommend adding your Windows Version and Screen Scaling Percentage to the Location field in your Profile or to your Signature. That way, you only have to type them once, and we won't have to search for that vital information.
When attaching an Image, please use the Attachment tab at the bottom of your post and click "Add files".
READ THIS AND DO IT!!!
1) Your XYplorer Version (e.g., v28.00.0801)
2) Your Windows Version (e.g., Win 11)
3) Your Screen Scaling Percentage (e.g., 125%).
-
highend
- Posts: 14992
- Joined: 06 Feb 2011 00:33
- Location: Win Server 2022 @100%
Re: On scripting...
You should have read the beginning of the script...
Code: Select all
How to use:
1.) Copy the script below in an file "..\scripts\BCompare.xys".
2.) Then, e.g., add an CTB toolbar button:
Name: BCompare
Icon: path\to\Beyond Compare 3\BCompare.exe
On Click: load BCompare;
3.) Select two files or folders in XY.
4.) execute this script.
5.) you are prompted with an menu
One of my scripts helped you out? Please donate via Paypal
XYplorer Beta Club