Re: Repeat request now a plea
Posted: 17 Sep 2009 10:40
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"
Forum for XYplorer Users and Developers
https://www.xyplorer.com/xyfc/
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"
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/""";Code: Select all
"- - - mySettings - - - - - - - - - - - -"
run "<xypath>\own\mySettings.txt";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?)
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?
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...)
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.
Code: Select all
"foo" msg 'bar';
"menu" load *;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.
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 *;
Code: Select all
"Caption|Icon|State : Label" Script
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
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:\"
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:\"
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