sclg wrote:New user warning...
I like the ideas of categories but i have one question.
When I select a folder in a category, the tree view highlights that folder. Is it possible to make it expand the folder as well??
Thanks
Steve
I think there is no such feature right now.
You can do an dirty trick by creating an dummy folder named like '_' in your folder
and goto that sub folder _ instead of the top folder, then your folder is expanded
Or you can turn your catalog item into an script AND use the undocumented command 'sendkeys'. (
Thank you Don!)
(needs XY after v8.20.0018, or like that)
Just use the following string in the 'Location:' field:
:: goto %UserProfile%; Focus "T"; Sendkeys "{Enter}";
Explanation:
:: --------------------enabling scripting
goto C:\def\g; -------- goto yourFolder
Focus "T"; ------------- set focus to the tree
sendkeys "{Enter}"; --- emulate pressing the ENTER-key , ( syntax: sendkeys "string" [, wait] )
Focus "L"; -------------- set focus back to list if wanted
This is NOT an documentation of the un-supported sendkeys feature of XYplorer
syntax: sendkeys "string" [, wait]
Examples:
::sendkeys "{F1}";
::sendkeys "{F1}", 1;
:: goto %UserProfile%; Focus "T"; Sendkeys "{Enter}";
Alt+F = SendKeys "%F";
Shift+Alt+Numlock = sendkeys "+%{NUMLOCK}";
CTRL-ALT-DELETE= sendkeys "^%{DELETE}";
SPACE BAR = sendkeys " ";
Standard sendkeys parameters, untested for working with XYplorer (test yourself):
Code: Select all
+ SHIFT
^ CTRL
% ALT
{ {{}
} {}}
[ {[}
] {]}
~ {~}
+ {+}
^ {^}
% {%}
Rücktaste {BACKSPACE}, {BS} oder {BKSP}
Pause {BREAK}
Feststelltaste {CAPSLOCK}
Entf {DELETE} oder {DEL}
Nach unten, {DOWN}
Nach oben, {UP}
Nach links, {LEFT}
Nach rechts, {RIGHT}
Ende {END}
Eingabetaste {ENTER} or ~
ESC {ESC}
Hilfe {HELP}
Pos1 {HOME}
Einfg {INSERT} oder {INS}
NUM-Feststell {NUMLOCK}
Bild auf, {PGUP}
Bild ab, {PGDN}
Rollen-Festell {SCROLLLOCK}
TAB {TAB}
F1, F2, ... F16 {F1}, {F2}, ... {F16}
Space " " Note: To send a space, send the string " ".
PRINT SCREEN {PRTSC} Die DRUCK-Taste (PRTSC) kann von der SendKeys-Anweisung nicht simuliert werden.
More Info:
http://88.191.26.34/XYwiki/index.php/Scripting
http://88.191.26.34/XYwiki/index.php/Go_to
http://88.191.26.34/XYwiki/index.php/Sc ... and:_focus
http://www.devguru.com/Technologies/wsh/17420.asp sendkeys
http://www.devguru.com/Technologies/wsh ... dKeys.html
http://www.vbarchiv.net/commands/SendKeys.php
HTH?
P.S. Steve, you may want to modify the subject of this thread to help others finding it - if one have the same question.