jacky wrote:Anything (not called "Cancel") without a script is disabled:admin wrote:How did you make the disabled items?Code: Select all
"Enabled" msg 'here'; "Disabled" "Cancel"
Repeat request now a plea
-
admin
- Site Admin
- Posts: 64886
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Re: Repeat request now a plea
FAQ | XY News RSS | XY X
Re: Repeat request now a plea
admin wrote:How did you make the disabled items?
Code: Select all
"- - - Scripts - - - - - - - - - - - - -"
":: XY INI direct edit"
Load EditXYini;
":: XY Backup"
Load XyplorerBackup;
":: XYplorer Automatic Updater"
Load XYplorer Automatic Updater;
"- - - mySettings - - - - - - - - - - - -"
"mySettings"
run "<xypath>\own\mySettings.txt";
"Hints"
run "<xypath>\own\hints.txt";
"- - - Help - - - - - - - - - - - - - - -"
run """<xypath>\own\xy-cheat-keyboardshortcuts v8.pdf""";
run """<xypath>\own\xy-cheat-mousetricks v8.pdf""";
run """<xypath>\own\Keyboard shortcuts - XYwiki.htm""";
run """<xypath>\own\xyplorer standard shortcuts.txt""";
run """<xypath>\own\XYplorerHelp.pdf""";
" "
run """<xypath>\XYplorer.ini""";
run """<xypath>\own\History.txt""";
"- - - Online - - - - - - - - - - - - - -"
run """http://www.xyplorer.com/xyfc/search.php?search_id=newposts""";
run """http://88.191.26.34/XYwiki/index.php/Introduction""";
run """http://88.191.26.34/XYscripts/""";
run """http://88.191.26.34/computers_are_fun/2008/09/07/xyplorer-scripting-for-each-selected-item/""";as like rule: "any string behind an minus is treaded as comment/caption and do nothing".
But WHY? ... i mean it looks like disabled .. but could also be used to do smtg useful, i guess, as showing here:
Code: Select all
"- - - mySettings - - - - - - - - - - - -"
run "<xypath>\own\mySettings.txt";i also want to have an empty line, so i use "Alt+255" now for that. (in my pic i have still used an dot from my testing)
Wish:
could there be an tool-tips for those lines in my pic _ they are not full visible? But only after some seconds, please (maybe 3sec?)
-
admin
- Site Admin
- Posts: 64886
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Re: Repeat request now a plea
No.Stefan wrote:Wish:
could there be an tool-tips for those lines in my pic _ they are not full visible? But only after some seconds, please (maybe 3sec?)
FAQ | XY News RSS | XY X
Re: Repeat request now a plea
concerning the new CTB right-click menu, is it possible to load the menu items directly from a script file?
My shared scripts:
TeraCopy Integration, Tag Manager, Comments Menu, Text Replacer, Image and Media Tools, Checksum Calculator, Video Calculator
only 5 URLs are allowed on the sig...
TeraCopy Integration, Tag Manager, Comments Menu, Text Replacer, Image and Media Tools, Checksum Calculator, Video Calculator
only 5 URLs are allowed on the sig...
Re: Repeat request now a plea
Not from your CTB script file, you'd need another one to take care of the menu. Eventually, I hope it'd be possible to get 2 for the price of 1Muroph wrote:concerning the new CTB right-click menu, is it possible to load the menu items directly from a script file?
Reporting a bug? Have a wish? Got a question? Use search - View roadmap - FAQs: Forum + XY site
Windows 7/10
Always using the latest stable two-decimal build
Windows 7/10
Always using the latest stable two-decimal build
Re: Repeat request now a plea
Yeah, the one thing missing from the current implementation of CTB's context-menu is a way to have said menu/multi-line script contained in a file. Maybe if the script consist of only one single command load then XY could "pre-execute" it to see if there's a menu to load? (That or allow to enter not a script but the filename of a script file? But obviously using load has advantages, such as specifying labels to load...)
Proud XYplorer Fanatic
-
admin
- Site Admin
- Posts: 64886
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Re: Repeat request now a plea
Combining load with a merged menu would be too much work for now, but I'm working on a special syntax to read a file before creating menu. Something like file:XYplorer Automatic Updater.jacky wrote:Yeah, the one thing missing from the current implementation of CTB's context-menu is a way to have said menu/multi-line script contained in a file. Maybe if the script consist of only one single command load then XY could "pre-execute" it to see if there's a menu to load? (That or allow to enter not a script but the filename of a script file? But obviously using load has advantages, such as specifying labels to load...)
FAQ | XY News RSS | XY X
Re: Repeat request now a plea
Nicely done.admin wrote:Combining load with a merged menu would be too much work for now, but I'm working on a special syntax to read a file before creating menu. Something like file:XYplorer Automatic Updater.
Funny thing about this context menu, when using a command load. Try this (as "context script") :
Code: Select all
"foo" msg 'bar';
"menu" load *;Proud XYplorer Fanatic
Re: Repeat request now a plea
this doesn't work with one of my scripts (specifically, the comments script), nor does pasting the whole script in the CTB "right-click" field.admin wrote:Combining load with a merged menu would be too much work for now, but I'm working on a special syntax to read a file before creating menu. Something like file:XYplorer Automatic Updater.
that script generates the menu using variables, so it MUST execute some commands BEFORE displaying the menu (using a load command).
all i get on the context menu is one item with the main subscript's caption.
clicking on that item will load the real menu.
i believe this would also happen with any script that tries to use the new checked and disabled flags, since they, too, have to be applied by the script before the menu is loaded.
it works well with "normal" scripts, tho.
thanks!
My shared scripts:
TeraCopy Integration, Tag Manager, Comments Menu, Text Replacer, Image and Media Tools, Checksum Calculator, Video Calculator
only 5 URLs are allowed on the sig...
TeraCopy Integration, Tag Manager, Comments Menu, Text Replacer, Image and Media Tools, Checksum Calculator, Video Calculator
only 5 URLs are allowed on the sig...
-
admin
- Site Admin
- Posts: 64886
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Re: Repeat request now a plea
Indeed. That's because of the way I patch the original script to get a merged menu (I guess you have noted in Step mode that I introduced two new SCs to make it work...jacky wrote:Nicely done.admin wrote:Combining load with a merged menu would be too much work for now, but I'm working on a special syntax to read a file before creating menu. Something like file:XYplorer Automatic Updater.
Funny thing about this context menu, when using a command load. Try this (as "context script") :Clicking on "menu" the command load shows the menu again, and the Click/Edit/Customize TB items are still there.Code: Select all
"foo" msg 'bar'; "menu" load *;
FAQ | XY News RSS | XY X
-
serendipity
- Posts: 3360
- Joined: 07 May 2007 18:14
- Location: NJ/NY
Re: Repeat request now a plea
The current Syntax: doesn't work for hidden scripts (_Label). I like to hide my scripts but still need the menu.
Code: Select all
"Caption|Icon|State : Label" Script
-
admin
- Site Admin
- Posts: 64886
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Re: Repeat request now a plea
Example?serendipity wrote:The current Syntax:doesn't work for hidden scripts (_Label). I like to hide my scripts but still need the menu.Code: Select all
"Caption|Icon|State : Label" Script
FAQ | XY News RSS | XY X
-
serendipity
- Posts: 3360
- Joined: 07 May 2007 18:14
- Location: NJ/NY
Re: Repeat request now a plea
This works:admin wrote:Example?serendipity wrote:The current Syntax:doesn't work for hidden scripts (_Label). I like to hide my scripts but still need the menu.Code: Select all
"Caption|Icon|State : Label" Script
Code: Select all
//test1
"&Open IE|iexplore|1 : ie"
run "iexplore"
"Goto C:|C:|4 : c"
goto "C:\"
Code: Select all
//test2
load *, "_ie;_c";
"&Open IE|iexplore|1 : _ie"
run "iexplore"
"Goto C:|C:|4 : _c"
goto "C:\"
-
admin
- Site Admin
- Posts: 64886
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Re: Repeat request now a plea
Yep, right. Thanks!serendipity wrote:This works:admin wrote:Example?serendipity wrote:The current Syntax:doesn't work for hidden scripts (_Label). I like to hide my scripts but still need the menu.Code: Select all
"Caption|Icon|State : Label" ScriptThis doesn'tCode: Select all
//test1 "&Open IE|iexplore|1 : ie" run "iexplore" "Goto C:|C:|4 : c" goto "C:\"Code: Select all
//test2 load *, "_ie;_c"; "&Open IE|iexplore|1 : _ie" run "iexplore" "Goto C:|C:|4 : _c" goto "C:\"
FAQ | XY News RSS | XY X
Re: Repeat request now a plea
1)
> (where, by the way, the caption
"Run" was changed to "Click").
Shouldn't this caption named at least "Left-Click"
to be associated with the Left-Click box in the edit dialog?
2)
just an note from an test,
This didn't work for me, the MSG shows just '$Icon' and not the path to the icl
and so the icon assignment didn't work too:
This works in AB:
::$Icon = "E:\a\xyplorer\Tools\ICONS\bird.icl"; msg $Icon;
Maybe it's by design?
> (where, by the way, the caption
"Run" was changed to "Click").
Shouldn't this caption named at least "Left-Click"
to be associated with the Left-Click box in the edit dialog?
2)
just an note from an test,
This didn't work for me, the MSG shows just '$Icon' and not the path to the icl
and so the icon assignment didn't work too:
Code: Select all
$Icon = "E:\a\xyplorer\Tools\ICONS\bird.icl";
"show icl path" msg $Icon;
"Go C:|"$Icon" /3"|1" goto "C:\"; //shown bold
"Go D:|"$Icon" /8"|2" goto "D:\"; //shown checked
"Go E:|"$Icon" /23"|3" goto "E:\"; //shown bold and checked::$Icon = "E:\a\xyplorer\Tools\ICONS\bird.icl"; msg $Icon;
Maybe it's by design?
XYplorer Beta Club