Page 1 of 1

any cheat sheet for internal variables?

Posted: 11 Apr 2010 01:34
by Joso
there's a way to see a list of keyboard shortcuts, program functions, how about internal variables?

Re: any cheat sheet for internal variables?

Posted: 11 Apr 2010 02:20
by Stefan
You find them here:

Help > Adv Topics > User Menu Commands >>> XYplorer Native Variables
or
http://88.191.26.34/XYwiki/index.php/Script_Variables



I said once here that they are good hidden... and they are still.
I would vote that they should get an own section in the help.

Re: any cheat sheet for internal variables?

Posted: 11 Apr 2010 03:02
by Joso
Thanks - here are a couple I saw in the help file that aren't listed in the wiki

<dateexif> - any ideas what this one is?
<date now> - current time I suppose

Joe

Re: any cheat sheet for internal variables?

Posted: 11 Apr 2010 03:56
by j_c_hallgren
Joso wrote:Thanks - here are a couple I saw in the help file that aren't listed in the wiki

<dateexif> - any ideas what this one is?
Given that the wiki is user maintained and the Help file is done by Don, things can get out-of-sync so we use both sources together...but my help files says:

Code: Select all

<dateexif>  EXIF date of the current list item
and thus is really mostly applicable to pix like JPG.

Re: any cheat sheet for internal variables?

Posted: 13 Apr 2010 17:12
by Joso
Here's a little (and messy) answer to my own question - most of the windows and XY internal or environment variables in one place. Someone may find it useful.

Code: Select all

Win Environment Variable=Value
________________________________
SystemDrive=%SystemDrive%
SystemRoot=%SystemRoot%
WinDir=%WinDir%
ComSpec=%ComSpec%
ProgramFiles=%programfiles%
ProgramFles(X86)=%PROGRAMFILES(X86)%
CommonProgramFiles=%CommonProgramFiles% 
CommonProgramFiles(x86)=%COMMONPROGRAMFILES(x86)%
Temp=%Temp%
Tmp=%Tmp%
HomeDrive=%HOMEDRIVE%
HomePath=%HOMEPATH%
OS=%OS%
UserDomain=%USERDOMAIN%
UserName=%USERNAME%
UserProfile=%USERPROFILE%
AllUserProfile=%AllUsersProfile%
(User's desktop)=%USERPROFILE%\Desktop
Path=%PATH%
Pathext=%PATHEXT%
AppData=%AppData% 
LogonServer=%LOGONSERVER%
ComputerName=%COMPUTERNAME% 
HomeShare=%HOMESHARE% 

XY Internal Variables=Value
___________________________________
Xypath=<xypath>
curfolder=<curfolder> 
curname=<curname> 
curbase=<curbase> 
curext=<curext> 
curpath=<curpath>
curitem=<curitem>
date=<date>
datec=<datec>
datem=<datem>
dateexif=<dateexif>
date yyyymmdd = <date yyyymmdd>
xydata=<xydata>
xyexe=<xyexe>
clipboard=<clipboard>
curtitle=<curtitle>