Page 4 of 8
Re: Undocumented script commands - Suggestions
Posted: 25 Mar 2015 22:58
by PeterH
SammaySarkar wrote:winsize
Reposition XYplorer window. Doesn't apply to maximized or minimized window.
SyntaxCode: Select all
winpos [left=0], [top=0][/quote]
Typo? Seems this should be named winpos? ([b]Corrected now[/b] :D )
winsize is next entry :biggrin:
Re: Undocumented script commands - Suggestions
Posted: 26 Mar 2015 06:06
by bdeshi
Re: Undocumented script commands - Suggestions
Posted: 26 Mar 2015 07:32
by bdeshi
loadscriptfile
alias of SC
load. See
Code: Select all
::help "idh_scripting_comref.htm#idh_sc_load";
Re: Undocumented script commands - Suggestions
Posted: 28 Mar 2015 18:55
by bdeshi
showshellprops
Open the Shell Properties dialog of an item.
This has been removed on 2022-12-19
SyntaxCode: Select all
showshellprops [item=%personalreal%]
item a file, folder or drive
ExampleCode: Select all
::showshellprops ?:\ ; //show properties of XYplorer's parent drive
Remarks
This is analogous to calling SC
property() with empty
property parameter,
(eg, ::property( , ?:\); )
except this SC defaults to a different
item, and has no return parameter.
Re: Undocumented script commands - Suggestions
Posted: 28 Mar 2015 19:01
by bdeshi
wmcopydata
Display detailed information of last data sent to XYplorer as a wm_copydata system message.
Syntax
Example
Remarks
This command displays a non-editable text box with source window handle, data ID (dwData parameter of copydata), data length, and hexdump of the data.
Re: Undocumented script commands - Suggestions
Posted: 29 Mar 2015 20:02
by bdeshi
escapeunicode
convert and display unicode characters in the *U+xxxx hex unicode notation.
SyntaxCode: Select all
escapeunicode string
string text to convert
ExampleCode: Select all
escapeunicode "Lucy in the sky with ♦"; //shows a msg with "Lucy in the sky with *U+2666"
Remarks
Command now deprecated:
viewtopic.php?f=3&t=16608&p=158562#p158562
Re: Undocumented script commands - Suggestions
Posted: 29 Mar 2015 20:11
by bdeshi
Undocumented parameters of the get() function:
get()
Syntax
Undocumented possible values for
info,
param1 and
param2:
Examples:
Code: Select all
text get("assoc", "rar");
text get("assoc", "<xyini>");
text get("assoc", "<xydata>");
text get("clipboarddropeffect");
text get("clipboardformats", <crlf>);
text get("columns");
text get("columnwidth", "created");
text get("debuglog");
text get("exif", 0x9003, <curitem>);
text get("fvs", "C:\Users\Donald\Desktop\Desk");
text get("genericfiletype", "{:Text}", "|");
text get("help");
text get("loadtimes");
text get("locale", 4);
text get("pdpath", "Nexus 10");
text get("pidl", get("pdpath", "Nexus 10"));
text get("spotpatterns", "i");
text get('syscolor', 3); // inactive titlebar color
text get("targetitems", "|");
Re: Undocumented script commands - Suggestions
Posted: 30 Mar 2015 14:24
by bdeshi
attaching detailed history tends to make posts unnecessarily long. I think links to beta release notes can suffice, with a short description of what changed in the post's history section.
Re: Undocumented script commands - Suggestions
Posted: 30 Mar 2015 15:27
by TheQwerty
SammaySarkar wrote:attaching detailed history tends to make posts unnecessarily long. I think links to beta release notes can suffice, with a short description of what changed in the post's history section.
Who cares about the length?
If you want to document that which is not documented, not documenting is an odd approach.
Re: Undocumented script commands - Suggestions
Posted: 30 Mar 2015 15:43
by bdeshi
these are more like descriptions, not detailed historical analyses!

Re: Undocumented script commands - Suggestions
Posted: 31 Mar 2015 03:16
by binocular222
How did you find out all that suff? Digging beta history?
Re: Undocumented script commands - Suggestions
Posted: 31 Mar 2015 18:27
by bdeshi
that, and obscure forum posts, and some luck, and ...
Re: Undocumented script commands - Suggestions
Posted: 31 Mar 2015 21:07
by Filehero
SammaySarkar wrote:..., and ...

Re: Undocumented script commands - Suggestions
Posted: 03 Apr 2015 13:46
by bdeshi
Re: Undocumented script commands - Suggestions
Posted: 20 Apr 2015 13:39
by bdeshi
[undocumented parameters]
echo
Shows a simple message box.
SyntaxCode: Select all
echo text, [topic], [notes], [icon]
text the text to be displayed
topic topic line, printed in bold at the top. Defaults to "Echo"
notes notes line, printed under topic text
icon icon displayed at the top-left corner. Default is 6
ExampleCode: Select all
::echo 'Hi!';
::echo "where did the color go?",,, -1; //no icon
::echo "Job done!", "Complete",, 0;
::echo "Job failed!", "Warning",, 7;
::echo 'What you seek is seeking you.',''; // plain text messagebox
Remarks
The echo message is shown in an iconless and plain window if
topic is an empty string.
color of
topic text depends on
icon. This table shows the relationships:
Code: Select all
code icon topic color
----------------------------------------
<0 no icon black
0 checkmark green
1 minus bubble red
2 customcopy icon 1 blue
3 customcopy icon 2 blue
4 warning circle 1 orange
5 question bubble blue
6 info bubble blue [default]
7 warning triangle black
8 black crossmark black
9 warning circle 2 blue
>9 error ladybug red
For <0 (no icon), The icon's space is not preserved either.
For >9 (error),
topic &
notes are printed much larger,
and they will overlap.
Debug
Display editbox without subclassing:
echo input("Test", 9:=1);
viewtopic.php?p=222112#p222112