any cheat sheet for internal variables?

Please check the FAQ (https://www.xyplorer.com/faq.php) before posting a question...
Post Reply
Joso
Posts: 95
Joined: 06 Apr 2010 14:13

any cheat sheet for internal variables?

Post by Joso »

there's a way to see a list of keyboard shortcuts, program functions, how about internal variables?

Stefan
Posts: 1360
Joined: 18 Nov 2008 21:47
Location: Europe

Re: any cheat sheet for internal variables?

Post 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.

Joso
Posts: 95
Joined: 06 Apr 2010 14:13

Re: any cheat sheet for internal variables?

Post 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

j_c_hallgren
XY Blog Master
Posts: 5826
Joined: 02 Jan 2006 19:34
Location: So. Chatham MA/Clearwater FL
Contact:

Re: any cheat sheet for internal variables?

Post 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.
Still spending WAY TOO much time here! But it's such a pleasure helping XY be a treasure!
(XP on laptop with touchpad and thus NO mouse!) Using latest beta vers when possible.

Joso
Posts: 95
Joined: 06 Apr 2010 14:13

Re: any cheat sheet for internal variables?

Post 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>

Post Reply