<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Cyann &#187; développement</title>
	<atom:link href="http://www.cyann.net/category/developpement/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.cyann.net</link>
	<description>En prévision du futur</description>
	<lastBuildDate>Thu, 27 Oct 2011 09:17:00 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>De KiXtart à Python: les macros</title>
		<link>http://www.cyann.net/2010/02/12/kixtart-macros-to-python/</link>
		<comments>http://www.cyann.net/2010/02/12/kixtart-macros-to-python/#comments</comments>
		<pubDate>Fri, 12 Feb 2010 18:36:53 +0000</pubDate>
		<dc:creator>Flavien</dc:creator>
				<category><![CDATA[développement]]></category>

		<guid isPermaLink="false">http://www.cyann.net/?p=699</guid>
		<description><![CDATA[Petit guide en anglais de traduction de scripts KiXtart vers Python. Commands Functions Macros Macros KiXtart Python equivalent Description Abs Returns the absolute value of a number AddKey Add a key to registry AddPrinterConnection Add a connection to a network &#8230; <a href="http://www.cyann.net/2010/02/12/kixtart-macros-to-python/">Lire la suite <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Petit guide en anglais de traduction de scripts KiXtart vers Python.</p>
<ul>
<li><a href="http://www.cyann.net/2010/02/09/kixtart-commands-to-python/#kixtart-commands">Commands</a></li>
<li><a href="http://www.cyann.net/2010/02/12/kixtart-functions-to-python/#kixtart-functions">Functions</a></li>
<li><a href="http://www.cyann.net/2010/02/12/kixtart-macros-to-python/#kixtart-macros">Macros</a></li>
</ul>
<p><span id="more-699"></span></p>
<h2><a name="kixtart-macros"></a>Macros</h2>
<table style="border-collapse: collapse;" border="1">
<tbody>
<tr>
<th><strong>KiXtart</strong></th>
<th>Python equivalent </th>
<th>Description</th>
</tr>
<tr>
<td>Abs</td>
<td></td>
<td>Returns the absolute value of a number</td>
</tr>
<tr>
<td><span style="font-size: x-small;">AddKey</span></td>
<td></td>
<td>Add a key to registry</td>
</tr>
<tr>
<td>AddPrinterConnection</td>
<td></td>
<td>Add a connection to a network printer (NT family only)</td>
</tr>
<tr>
<td>AddProgramGroup</td>
<td></td>
<td>Create a new program group</td>
</tr>
<tr>
<td>AddProgramItem</td>
<td></td>
<td>Add/replace an item in current program group</td>
</tr>
<tr>
<td>Asc</td>
<td></td>
<td>Returns ASCII code of character</td>
</tr>
<tr>
<td>AScan</td>
<td></td>
<td>Searches an array for a specific expression</td>
</tr>
<tr>
<td>At</td>
<td></td>
<td>Place the cursor at the place indicated</td>
</tr>
<tr>
<td>BackupEventLog</td>
<td></td>
<td>Backs up an NT event log</td>
</tr>
<tr>
<td>Box</td>
<td></td>
<td>Draws a text box</td>
</tr>
<tr>
<td width="145" height="17" valign="top">CDbl</td>
<td></td>
<td width="778" height="17" valign="top">Casts an expression to a variant of subtype Double</td>
</tr>
<tr>
<td>Chr</td>
<td></td>
<td>Returns ASCII representation of numeric value</td>
</tr>
<tr>
<td>CInt</td>
<td></td>
<td>Casts an expression to a variant of subtype Integer</td>
</tr>
<tr>
<td>ClearEventLog</td>
<td></td>
<td>Clears an NT event log</td>
</tr>
<tr>
<td>Close</td>
<td></td>
<td>Closes an ASCII file opened with OPEN</td>
</tr>
<tr>
<td>CompareFileTimes</td>
<td></td>
<td>Compares the file date and time of two files</td>
</tr>
<tr>
<td>CreateObject</td>
<td></td>
<td>Launches the COM/OLE automation server</td>
</tr>
<tr>
<td>CStr</td>
<td></td>
<td>Casts an expression to a variant of subtype String</td>
</tr>
<tr>
<td>DecToHex</td>
<td></td>
<td>Returns the HEX equivalent given a decimal value</td>
</tr>
<tr>
<td>DelKey</td>
<td></td>
<td>Deletes a key from registry</td>
</tr>
<tr>
<td>DelPrinterConnection</td>
<td></td>
<td>Remove a connection to a network printer (NT family only)</td>
</tr>
<tr>
<td>DelProgramGroup</td>
<td></td>
<td>Deletes a program group</td>
</tr>
<tr>
<td>DelProgramItem</td>
<td></td>
<td>Deletes a program item from a program group</td>
</tr>
<tr>
<td>DelTree</td>
<td></td>
<td>Deletes a key from registry, including subkeys</td>
</tr>
<tr>
<td>DelValue</td>
<td></td>
<td>Deletes a value entry from the registry</td>
</tr>
<tr>
<td>Dir</td>
<td></td>
<td>Enumerates directory names</td>
</tr>
<tr>
<td>EnumGroup</td>
<td></td>
<td>Enumerates the names of global groups the user is member of</td>
</tr>
<tr>
<td>EnumIpInfo</td>
<td></td>
<td>Enumerates TCP/IP information of network adapters</td>
</tr>
<tr>
<td>EnumKey</td>
<td></td>
<td>Enumerates the names of registry keys</td>
</tr>
<tr>
<td>EnumLocalGroup</td>
<td></td>
<td>Enumerates the names of local groups the user is member of</td>
</tr>
<tr>
<td>EnumValue</td>
<td></td>
<td>Enumerates the names of registry values</td>
</tr>
<tr>
<td>Execute</td>
<td></td>
<td>Executes a piece of script</td>
</tr>
<tr>
<td>Exist</td>
<td></td>
<td>Checks if a file exists</td>
</tr>
<tr>
<td>ExpandEnvironmentVars</td>
<td></td>
<td>Expands environment variables within a string</td>
</tr>
<tr>
<td>Fix</td>
<td></td>
<td>Removes the fractional part of number and returns the resulting integer value</td>
</tr>
<tr>
<td>FormatNumber</td>
<td></td>
<td>Returns an expression formatted as a number</td>
</tr>
<tr>
<td>FreeFileHandle</td>
<td></td>
<td>Returns an available file handle number</td>
</tr>
<tr>
<td>GetCommandLine( )</td>
<td></td>
<td>Returns the command line used to execute KiXtart</td>
</tr>
<tr>
<td>GetDiskSpace</td>
<td></td>
<td>Returns free disk space (in Kbytes)</td>
</tr>
<tr>
<td>GetFileAttr</td>
<td></td>
<td>Retrieves attributes of a file</td>
</tr>
<tr>
<td>GetFileSize</td>
<td></td>
<td>Returns the size (in bytes) of a file</td>
</tr>
<tr>
<td>GetFileTime<strong> </strong></td>
<td></td>
<td>Retrieves the date &amp; time of a file</td>
</tr>
<tr>
<td>GetFileVersion</td>
<td></td>
<td>Returns the version string of a file</td>
</tr>
<tr>
<td>GetObject</td>
<td></td>
<td>Gets a COM object from a file stored on disk</td>
</tr>
<tr>
<td>IIF</td>
<td></td>
<td>Immediate IF</td>
</tr>
<tr>
<td>InGroup</td>
<td></td>
<td>Checks for membership of user of specified group</td>
</tr>
<tr>
<td>InStr</td>
<td></td>
<td>Searches for a string within a string (left to right)</td>
</tr>
<tr>
<td>InStrRev</td>
<td></td>
<td>Searches for a string within a string (right to left)</td>
</tr>
<tr>
<td>Int</td>
<td></td>
<td>Removes the fractional part of number and returns the resulting integer value</td>
</tr>
<tr>
<td>IsDeclared</td>
<td></td>
<td>Returns a Boolean value indicating whether a variable has been declared</td>
</tr>
<tr>
<td>Join</td>
<td></td>
<td>Returns a string created by joining a number of substrings contained in an array</td>
</tr>
<tr>
<td>KbHit</td>
<td></td>
<td>Checks the console for keyboard input</td>
</tr>
<tr>
<td>KeyExist</td>
<td></td>
<td>Checks for the existence of a registry subkey</td>
</tr>
<tr>
<td>LCase</td>
<td></td>
<td>Returns string in lower case</td>
</tr>
<tr>
<td>Len</td>
<td></td>
<td>Returns length of a string</td>
</tr>
<tr>
<td>Left</td>
<td></td>
<td>Returns X characters from the left side of a string</td>
</tr>
<tr>
<td>LoadHive</td>
<td></td>
<td>Load a registry hive</td>
</tr>
<tr>
<td>LoadKey</td>
<td></td>
<td>Loads (overwrites!) key (sub keys and values)</td>
</tr>
<tr>
<td>LogEvent</td>
<td></td>
<td>LogEvent</td>
</tr>
<tr>
<td>Logoff</td>
<td></td>
<td>Logs current user off</td>
</tr>
<tr>
<td>LTrim</td>
<td></td>
<td>Strips leading spaces from string</td>
</tr>
<tr>
<td>MemorySize</td>
<td></td>
<td>Returns memory statistics, in Megabytes</td>
</tr>
<tr>
<td>MessageBox</td>
<td></td>
<td>Displays a standard Windows dialog box</td>
</tr>
<tr>
<td>Open</td>
<td></td>
<td>Opens an ASCII file</td>
</tr>
<tr>
<td>ReadLine</td>
<td></td>
<td>Reads a line from an ASCII file opened with OPEN</td>
</tr>
<tr>
<td>ReadProfileString</td>
<td></td>
<td>Read string from an .ini file</td>
</tr>
<tr>
<td>ReadType</td>
<td></td>
<td>Returns the data type of a registry value</td>
</tr>
<tr>
<td>ReadValue</td>
<td></td>
<td>Returns the data from a registry value</td>
</tr>
<tr>
<td>RedirectOutput</td>
<td></td>
<td>Redirects all output to a file</td>
</tr>
<tr>
<td>Right</td>
<td></td>
<td>Returns X characters from the right side of a string</td>
</tr>
<tr>
<td>Rnd</td>
<td><a href="http://docs.python.org/library/os.html#os.urandom" target="_blank">os.urandom(<em>n</em>)</a></td>
<td>Returns a pseudo random number</td>
</tr>
<tr>
<td>Round</td>
<td></td>
<td>Returns a number rounded to a specified number of decimal places</td>
</tr>
<tr>
<td>RTrim</td>
<td></td>
<td>Strips trailing spaces from string</td>
</tr>
<tr>
<td>SaveKey</td>
<td></td>
<td>Saves entire key (including sub keys and values)</td>
</tr>
<tr>
<td>SendKeys</td>
<td></td>
<td>Sends keystrokes to the focused application</td>
</tr>
<tr>
<td>SetConsole</td>
<td></td>
<td>Change display mode of console</td>
</tr>
<tr>
<td>SetDefaultPrinter</td>
<td></td>
<td>Sets the default printer</td>
</tr>
<tr>
<td>SetFileAttr</td>
<td></td>
<td>Sets attributes of a file</td>
</tr>
<tr>
<td>SetFocus</td>
<td></td>
<td>Sets focus to a specific application</td>
</tr>
<tr>
<td>SetOption</td>
<td></td>
<td>Enables/disables global settings of the interpreter</td>
</tr>
<tr>
<td>SetSystemState</td>
<td></td>
<td>Changes the (power) state of the local system</td>
</tr>
<tr>
<td>SetTitle</td>
<td></td>
<td>Sets the Window title of the current console</td>
</tr>
<tr>
<td>SetWallpaper</td>
<td></td>
<td>Sets the current wallpaper</td>
</tr>
<tr>
<td>ShowProgramGroup</td>
<td></td>
<td>Change display status of a program group</td>
</tr>
<tr>
<td>ShutDown</td>
<td></td>
<td>Shutdown or reboot local or remote system</td>
</tr>
<tr>
<td>SidToName</td>
<td></td>
<td>Translates a Security Identifier (SID) into a name</td>
</tr>
<tr>
<td>Split</td>
<td></td>
<td>Splits a single string into an array given a delimiter</td>
</tr>
<tr>
<td>SRnd</td>
<td></td>
<td>Sets the starting point for generating pseudorandom integers</td>
</tr>
<tr>
<td>Substr</td>
<td></td>
<td>Returns a substring from a string</td>
</tr>
<tr>
<td>Trim</td>
<td></td>
<td>Strips leading and trailing spaces from a string</td>
</tr>
<tr>
<td>Ubound</td>
<td></td>
<td>Returns the largest available subscript for an array</td>
</tr>
<tr>
<td>UCase</td>
<td></td>
<td>Returns string in upper case</td>
</tr>
<tr>
<td>UnloadHive</td>
<td></td>
<td>Unload a registry hive</td>
</tr>
<tr>
<td>Val</td>
<td></td>
<td>Returns the numerical value of a string</td>
</tr>
<tr>
<td>VarType</td>
<td></td>
<td>Returns an integer value indicating the subtype of a variable</td>
</tr>
<tr>
<td>VarTypeName</td>
<td></td>
<td>Returns a string that provides type info. about a variable</td>
</tr>
<tr>
<td>WriteLine</td>
<td></td>
<td>Write a line of text to a file</td>
</tr>
<tr>
<td>WriteProfileString</td>
<td></td>
<td>Write string to an ini-file</td>
</tr>
<tr>
<td>WriteValue</td>
<td></td>
<td>Write single value to registry</td>
</tr>
<tr>
<th style="text-align: center;" colspan="3">Macros</th>
</tr>
<tr>
<td>@Address</td>
<td></td>
<td>Address of the network adapter</td>
</tr>
<tr>
<td>@Build</td>
<td></td>
<td>Build number of the operating system</td>
</tr>
<tr>
<td>@Color</td>
<td></td>
<td>Returns the current console color setting</td>
</tr>
<tr>
<td>@Comment</td>
<td></td>
<td>User comment (Description field in User Manager)</td>
</tr>
<tr>
<td>@CPU</td>
<td></td>
<td>Name of the CPU (e.g.: &laquo;&nbsp;Intel Pentium III&nbsp;&raquo;)</td>
</tr>
<tr>
<td>@CRLF</td>
<td></td>
<td>Returns a carriage-return line-feed combination</td>
</tr>
<tr>
<td>@CSD</td>
<td></td>
<td>CSD information (eg: &laquo;&nbsp;Service Pack 2&#8243;)</td>
</tr>
<tr>
<td>@CurDir</td>
<td></td>
<td>Current directory</td>
</tr>
<tr>
<td>@Date</td>
<td></td>
<td>Date (in the format YYYY/MM/DD)</td>
</tr>
<tr>
<td>@Day</td>
<td></td>
<td>Day of the week (Monday, Tuesday, etc.)</td>
</tr>
<tr>
<td>@Domain</td>
<td></td>
<td>Domain or workgroup the computer belongs to</td>
</tr>
<tr>
<td>@DOS</td>
<td></td>
<td>Version of Windows NT</td>
</tr>
<tr>
<td>@Error</td>
<td></td>
<td>Return code of the most recent command or function. A return code of 0 means the command or function was successful. Any other value indicates an error.</td>
</tr>
<tr>
<td>@FullName</td>
<td></td>
<td>Full name of current user</td>
</tr>
<tr>
<td>@HomeDir</td>
<td></td>
<td>Short name of the directory part of home directory</td>
</tr>
<tr>
<td>@HomeDrive</td>
<td></td>
<td>Drive letter of drive containing home directory</td>
</tr>
<tr>
<td>@HomeShr</td>
<td></td>
<td>Server and share name part of home directory</td>
</tr>
<tr>
<td>@HostName</td>
<td></td>
<td>Fully qualified TCP/IP host name (including TCP/IP domain name)</td>
</tr>
<tr>
<td>@InWin</td>
<td></td>
<td>Operating system: 1 = Windows NT; 2 = Windows 9x</td>
</tr>
<tr>
<td>@IPaddress0<br />
 @IPAddress1<br />
 @IPAddress2<br />
 @IPAddress3</td>
<td></td>
<td>TCP/IP address<span style="font-family: Courier New;"><span style="font-size: x-small;"> </span></span></td>
</tr>
<tr>
<td>@KiX</td>
<td></td>
<td>Version of KiXtart</td>
</tr>
<tr>
<td>@LanRoot</td>
<td></td>
<td>Directory where network software resides (usually<em>Systemroot</em>\System32)</td>
</tr>
<tr>
<td>@LDomain</td>
<td></td>
<td>Logon domain</td>
</tr>
<tr>
<td>@LDrive</td>
<td></td>
<td>Drive that is redirected to \\logonserver\NETLOGON</td>
</tr>
<tr>
<td>@LM</td>
<td></td>
<td>Version of network software</td>
</tr>
<tr>
<td>@LogonMode</td>
<td></td>
<td>If 1, indicates that KiXtart assumes to be running during the logon sequence</td>
</tr>
<tr>
<td>@LongHomeDir</td>
<td></td>
<td>Long name of the directory part of home directory</td>
</tr>
<tr>
<td>@LServer</td>
<td></td>
<td>Logon server</td>
</tr>
<tr>
<td>@MaxPWAge</td>
<td></td>
<td>Maximum password age (Note: if passwords are set not to expire, this value is set to ((unsigned long)-1) (or 0xFFFFFFFF in hex). This evaluates to 4294967295 decimal).</td>
</tr>
<tr>
<td>@MDayNo</td>
<td></td>
<td>Day of the month (1-31)</td>
</tr>
<tr>
<td>@MHz</td>
<td></td>
<td>Approximation of the CPU speed (not available on Windows 9x)</td>
</tr>
<tr>
<td>@MonthNo</td>
<td></td>
<td>Month number, beginning with January (1-12)</td>
</tr>
<tr>
<td>@Month</td>
<td></td>
<td>Name of the month</td>
</tr>
<tr>
<td>@MSecs</td>
<td></td>
<td>Milliseconds part of the current time</td>
</tr>
<tr>
<td>@OnWoW64</td>
<td></td>
<td>Returns a 1 if KiXtart is running in the WOW64 environment</td>
</tr>
<tr>
<td>@PID</td>
<td></td>
<td>Process ID of KiXtart (wkix32.exe or kix32.exe)</td>
</tr>
<tr>
<td>@PrimaryGroup</td>
<td></td>
<td>Current user&#8217;s primary group</td>
</tr>
<tr>
<td>@Priv</td>
<td></td>
<td>User&#8217;s privilege level (GUEST, USER, ADMIN)</td>
</tr>
<tr>
<td>@ProductSuite</td>
<td></td>
<td>OS Suite</td>
</tr>
<tr>
<td>@ProductType</td>
<td></td>
<td>OS type</td>
</tr>
<tr>
<td>@PWAge</td>
<td></td>
<td>Password age</td>
</tr>
<tr>
<td>@RAS</td>
<td></td>
<td>Number of active Remote Access Service (RAS) connections</td>
</tr>
<tr>
<td>@Result</td>
<td></td>
<td>Returns command-specific information (e.g.: the drive letter of an automatic redirection command)</td>
</tr>
<tr>
<td>@RServer</td>
<td></td>
<td>KXRPC server used for the current session</td>
</tr>
<tr>
<td>@ScriptDir</td>
<td></td>
<td>Directory of current script</td>
</tr>
<tr>
<td>@ScriptExe</td>
<td></td>
<td>Indicates the version of the KiXtart executable</td>
</tr>
<tr>
<td>@ScriptName</td>
<td></td>
<td>Name of the current script</td>
</tr>
<tr>
<td>@SError</td>
<td></td>
<td>Error text corresponding with @ERROR</td>
</tr>
<tr>
<td>@SID</td>
<td></td>
<td>Current user&#8217;s Windows NT Security Identifier (SID)</td>
</tr>
<tr>
<td>@Site</td>
<td></td>
<td>Name of the site in which the system resides</td>
</tr>
<tr>
<td>@StartDir</td>
<td></td>
<td>Directory from which KiXtart was started</td>
</tr>
<tr>
<td>@SysLang</td>
<td></td>
<td>Full English name of the language of the operating system specified in the format defined by ISO Standard 639. (example : &ldquo;0413Dutch (Standard)&rdquo;).</td>
</tr>
<tr>
<td>@Ticks</td>
<td></td>
<td>Number of milliseconds elapsed since computer was last booted</td>
</tr>
<tr>
<td>@Time</td>
<td></td>
<td>Current time (in the format HH:MM:SS)</td>
</tr>
<tr>
<td>@TsSession</td>
<td></td>
<td>This macro will return a 1 if KiXtart is running in a Terminal Server session</td>
</tr>
<tr>
<td>@UserID</td>
<td></td>
<td>Current user&#8217;s Windows NT user ID</td>
</tr>
<tr>
<td>@UserLang</td>
<td></td>
<td>Full English name of the language selected by the current user specified in the format defined by ISO Standard 639. (example : &ldquo;0413Dutch (Standard)&rdquo;).</td>
</tr>
<tr>
<td>@WDayNo</td>
<td></td>
<td>Days since Sunday (1 &ndash; 7)</td>
</tr>
<tr>
<td>@Wksta</td>
<td></td>
<td>Computer name</td>
</tr>
<tr>
<td>@WUserID</td>
<td></td>
<td>Current user&#8217;s Windows user ID</td>
</tr>
<tr>
<td>@YDayNo</td>
<td></td>
<td>Days since January 1 (1 &ndash; 365)</td>
</tr>
<tr>
<td>@Year</td>
<td></td>
<td>Current year</td>
</tr>
</tbody>
</table>
]]></content:encoded>
			<wfw:commentRss>http://www.cyann.net/2010/02/12/kixtart-macros-to-python/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>De KiXtart à Python: les fonctions</title>
		<link>http://www.cyann.net/2010/02/12/kixtart-functions-to-python/</link>
		<comments>http://www.cyann.net/2010/02/12/kixtart-functions-to-python/#comments</comments>
		<pubDate>Fri, 12 Feb 2010 18:31:34 +0000</pubDate>
		<dc:creator>Flavien</dc:creator>
				<category><![CDATA[développement]]></category>

		<guid isPermaLink="false">http://www.cyann.net/?p=695</guid>
		<description><![CDATA[Petit guide en anglais de traduction de scripts KiXtart vers Python. Commands Functions Macros Functions KiXtart Python equivalent Description Abs Returns the absolute value of a number AddKey Add a key to registry AddPrinterConnection Add a connection to a network &#8230; <a href="http://www.cyann.net/2010/02/12/kixtart-functions-to-python/">Lire la suite <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Petit guide en anglais de traduction de scripts KiXtart vers Python.</p>
<ul>
<li><a href="http://www.cyann.net/2010/02/09/kixtart-commands-to-python/#kixtart-commands">Commands</a></li>
<li><a href="http://www.cyann.net/2010/02/12/kixtart-functions-to-python/#kixtart-functions">Functions</a></li>
<li><a href="http://www.cyann.net/2010/02/12/kixtart-macros-to-python/#kixtart-macros">Macros</a></li>
</ul>
<p><span id="more-695"></span></p>
<h2><a name="kixtart-functions"></a>Functions</h2>
<table style="border-collapse: collapse;" border="1">
<tbody>
<tr>
<th><strong>KiXtart</strong></th>
<th>Python equivalent </th>
<th>Description</th>
</tr>
<tr>
<td>Abs</td>
<td></td>
<td>Returns the absolute value of a number</td>
</tr>
<tr>
<td><span style="font-size: x-small;">AddKey</span></td>
<td></td>
<td>Add a key to registry</td>
</tr>
<tr>
<td>AddPrinterConnection</td>
<td></td>
<td>Add a connection to a network printer (NT family only)</td>
</tr>
<tr>
<td>AddProgramGroup</td>
<td></td>
<td>Create a new program group</td>
</tr>
<tr>
<td>AddProgramItem</td>
<td></td>
<td>Add/replace an item in current program group</td>
</tr>
<tr>
<td>Asc</td>
<td></td>
<td>Returns ASCII code of character</td>
</tr>
<tr>
<td>AScan</td>
<td></td>
<td>Searches an array for a specific expression</td>
</tr>
<tr>
<td>At</td>
<td></td>
<td>Place the cursor at the place indicated</td>
</tr>
<tr>
<td>BackupEventLog</td>
<td></td>
<td>Backs up an NT event log</td>
</tr>
<tr>
<td>Box</td>
<td></td>
<td>Draws a text box</td>
</tr>
<tr>
<td width="145" height="17" valign="top">CDbl</td>
<td></td>
<td width="778" height="17" valign="top">Casts an expression to a variant of subtype Double</td>
</tr>
<tr>
<td>Chr</td>
<td></td>
<td>Returns ASCII representation of numeric value</td>
</tr>
<tr>
<td>CInt</td>
<td></td>
<td>Casts an expression to a variant of subtype Integer</td>
</tr>
<tr>
<td>ClearEventLog</td>
<td></td>
<td>Clears an NT event log</td>
</tr>
<tr>
<td>Close</td>
<td></td>
<td>Closes an ASCII file opened with OPEN</td>
</tr>
<tr>
<td>CompareFileTimes</td>
<td></td>
<td>Compares the file date and time of two files</td>
</tr>
<tr>
<td>CreateObject</td>
<td></td>
<td>Launches the COM/OLE automation server</td>
</tr>
<tr>
<td>CStr</td>
<td></td>
<td>Casts an expression to a variant of subtype String</td>
</tr>
<tr>
<td>DecToHex</td>
<td></td>
<td>Returns the HEX equivalent given a decimal value</td>
</tr>
<tr>
<td>DelKey</td>
<td></td>
<td>Deletes a key from registry</td>
</tr>
<tr>
<td>DelPrinterConnection</td>
<td></td>
<td>Remove a connection to a network printer (NT family only)</td>
</tr>
<tr>
<td>DelProgramGroup</td>
<td></td>
<td>Deletes a program group</td>
</tr>
<tr>
<td>DelProgramItem</td>
<td></td>
<td>Deletes a program item from a program group</td>
</tr>
<tr>
<td>DelTree</td>
<td></td>
<td>Deletes a key from registry, including subkeys</td>
</tr>
<tr>
<td>DelValue</td>
<td></td>
<td>Deletes a value entry from the registry</td>
</tr>
<tr>
<td>Dir</td>
<td></td>
<td>Enumerates directory names</td>
</tr>
<tr>
<td>EnumGroup</td>
<td></td>
<td>Enumerates the names of global groups the user is member of</td>
</tr>
<tr>
<td>EnumIpInfo</td>
<td></td>
<td>Enumerates TCP/IP information of network adapters</td>
</tr>
<tr>
<td>EnumKey</td>
<td></td>
<td>Enumerates the names of registry keys</td>
</tr>
<tr>
<td>EnumLocalGroup</td>
<td></td>
<td>Enumerates the names of local groups the user is member of</td>
</tr>
<tr>
<td>EnumValue</td>
<td></td>
<td>Enumerates the names of registry values</td>
</tr>
<tr>
<td>Execute</td>
<td></td>
<td>Executes a piece of script</td>
</tr>
<tr>
<td>Exist</td>
<td></td>
<td>Checks if a file exists</td>
</tr>
<tr>
<td>ExpandEnvironmentVars</td>
<td></td>
<td>Expands environment variables within a string</td>
</tr>
<tr>
<td>Fix</td>
<td></td>
<td>Removes the fractional part of number and returns the resulting integer value</td>
</tr>
<tr>
<td>FormatNumber</td>
<td></td>
<td>Returns an expression formatted as a number</td>
</tr>
<tr>
<td>FreeFileHandle</td>
<td></td>
<td>Returns an available file handle number</td>
</tr>
<tr>
<td>GetCommandLine( )</td>
<td></td>
<td>Returns the command line used to execute KiXtart</td>
</tr>
<tr>
<td>GetDiskSpace</td>
<td></td>
<td>Returns free disk space (in Kbytes)</td>
</tr>
<tr>
<td>GetFileAttr</td>
<td></td>
<td>Retrieves attributes of a file</td>
</tr>
<tr>
<td>GetFileSize</td>
<td></td>
<td>Returns the size (in bytes) of a file</td>
</tr>
<tr>
<td>GetFileTime<strong> </strong></td>
<td></td>
<td>Retrieves the date &amp; time of a file</td>
</tr>
<tr>
<td>GetFileVersion</td>
<td></td>
<td>Returns the version string of a file</td>
</tr>
<tr>
<td>GetObject</td>
<td></td>
<td>Gets a COM object from a file stored on disk</td>
</tr>
<tr>
<td>IIF</td>
<td></td>
<td>Immediate IF</td>
</tr>
<tr>
<td>InGroup</td>
<td></td>
<td>Checks for membership of user of specified group</td>
</tr>
<tr>
<td>InStr</td>
<td></td>
<td>Searches for a string within a string (left to right)</td>
</tr>
<tr>
<td>InStrRev</td>
<td></td>
<td>Searches for a string within a string (right to left)</td>
</tr>
<tr>
<td>Int</td>
<td></td>
<td>Removes the fractional part of number and returns the resulting integer value</td>
</tr>
<tr>
<td>IsDeclared</td>
<td></td>
<td>Returns a Boolean value indicating whether a variable has been declared</td>
</tr>
<tr>
<td>Join</td>
<td></td>
<td>Returns a string created by joining a number of substrings contained in an array</td>
</tr>
<tr>
<td>KbHit</td>
<td></td>
<td>Checks the console for keyboard input</td>
</tr>
<tr>
<td>KeyExist</td>
<td></td>
<td>Checks for the existence of a registry subkey</td>
</tr>
<tr>
<td>LCase</td>
<td></td>
<td>Returns string in lower case</td>
</tr>
<tr>
<td>Len</td>
<td></td>
<td>Returns length of a string</td>
</tr>
<tr>
<td>Left</td>
<td></td>
<td>Returns X characters from the left side of a string</td>
</tr>
<tr>
<td>LoadHive</td>
<td></td>
<td>Load a registry hive</td>
</tr>
<tr>
<td>LoadKey</td>
<td></td>
<td>Loads (overwrites!) key (sub keys and values)</td>
</tr>
<tr>
<td>LogEvent</td>
<td></td>
<td>LogEvent</td>
</tr>
<tr>
<td>Logoff</td>
<td></td>
<td>Logs current user off</td>
</tr>
<tr>
<td>LTrim</td>
<td></td>
<td>Strips leading spaces from string</td>
</tr>
<tr>
<td>MemorySize</td>
<td></td>
<td>Returns memory statistics, in Megabytes</td>
</tr>
<tr>
<td>MessageBox</td>
<td></td>
<td>Displays a standard Windows dialog box</td>
</tr>
<tr>
<td>Open</td>
<td></td>
<td>Opens an ASCII file</td>
</tr>
<tr>
<td>ReadLine</td>
<td></td>
<td>Reads a line from an ASCII file opened with OPEN</td>
</tr>
<tr>
<td>ReadProfileString</td>
<td></td>
<td>Read string from an .ini file</td>
</tr>
<tr>
<td>ReadType</td>
<td></td>
<td>Returns the data type of a registry value</td>
</tr>
<tr>
<td>ReadValue</td>
<td></td>
<td>Returns the data from a registry value</td>
</tr>
<tr>
<td>RedirectOutput</td>
<td></td>
<td>Redirects all output to a file</td>
</tr>
<tr>
<td>Right</td>
<td></td>
<td>Returns X characters from the right side of a string</td>
</tr>
<tr>
<td>Rnd</td>
<td><a href="http://docs.python.org/library/os.html#os.urandom" target="_blank">os.urandom(<em>n</em>)</a></td>
<td>Returns a pseudo random number</td>
</tr>
<tr>
<td>Round</td>
<td></td>
<td>Returns a number rounded to a specified number of decimal places</td>
</tr>
<tr>
<td>RTrim</td>
<td></td>
<td>Strips trailing spaces from string</td>
</tr>
<tr>
<td>SaveKey</td>
<td></td>
<td>Saves entire key (including sub keys and values)</td>
</tr>
<tr>
<td>SendKeys</td>
<td></td>
<td>Sends keystrokes to the focused application</td>
</tr>
<tr>
<td>SetConsole</td>
<td></td>
<td>Change display mode of console</td>
</tr>
<tr>
<td>SetDefaultPrinter</td>
<td></td>
<td>Sets the default printer</td>
</tr>
<tr>
<td>SetFileAttr</td>
<td></td>
<td>Sets attributes of a file</td>
</tr>
<tr>
<td>SetFocus</td>
<td></td>
<td>Sets focus to a specific application</td>
</tr>
<tr>
<td>SetOption</td>
<td></td>
<td>Enables/disables global settings of the interpreter</td>
</tr>
<tr>
<td>SetSystemState</td>
<td></td>
<td>Changes the (power) state of the local system</td>
</tr>
<tr>
<td>SetTitle</td>
<td></td>
<td>Sets the Window title of the current console</td>
</tr>
<tr>
<td>SetWallpaper</td>
<td></td>
<td>Sets the current wallpaper</td>
</tr>
<tr>
<td>ShowProgramGroup</td>
<td></td>
<td>Change display status of a program group</td>
</tr>
<tr>
<td>ShutDown</td>
<td></td>
<td>Shutdown or reboot local or remote system</td>
</tr>
<tr>
<td>SidToName</td>
<td></td>
<td>Translates a Security Identifier (SID) into a name</td>
</tr>
<tr>
<td>Split</td>
<td></td>
<td>Splits a single string into an array given a delimiter</td>
</tr>
<tr>
<td>SRnd</td>
<td></td>
<td>Sets the starting point for generating pseudorandom integers</td>
</tr>
<tr>
<td>Substr</td>
<td></td>
<td>Returns a substring from a string</td>
</tr>
<tr>
<td>Trim</td>
<td></td>
<td>Strips leading and trailing spaces from a string</td>
</tr>
<tr>
<td>Ubound</td>
<td></td>
<td>Returns the largest available subscript for an array</td>
</tr>
<tr>
<td>UCase</td>
<td></td>
<td>Returns string in upper case</td>
</tr>
<tr>
<td>UnloadHive</td>
<td></td>
<td>Unload a registry hive</td>
</tr>
<tr>
<td>Val</td>
<td></td>
<td>Returns the numerical value of a string</td>
</tr>
<tr>
<td>VarType</td>
<td></td>
<td>Returns an integer value indicating the subtype of a variable</td>
</tr>
<tr>
<td>VarTypeName</td>
<td></td>
<td>Returns a string that provides type info. about a variable</td>
</tr>
<tr>
<td>WriteLine</td>
<td></td>
<td>Write a line of text to a file</td>
</tr>
<tr>
<td>WriteProfileString</td>
<td></td>
<td>Write string to an ini-file</td>
</tr>
<tr>
<td>WriteValue</td>
<td></td>
<td>Write single value to registry</td>
</tr>
<tr>
<th style="text-align: center;" colspan="3">Macros</th>
</tr>
<tr>
<td>@Address</td>
<td></td>
<td>Address of the network adapter</td>
</tr>
<tr>
<td>@Build</td>
<td></td>
<td>Build number of the operating system</td>
</tr>
<tr>
<td>@Color</td>
<td></td>
<td>Returns the current console color setting</td>
</tr>
<tr>
<td>@Comment</td>
<td></td>
<td>User comment (Description field in User Manager)</td>
</tr>
<tr>
<td>@CPU</td>
<td></td>
<td>Name of the CPU (e.g.: &laquo;&nbsp;Intel Pentium III&nbsp;&raquo;)</td>
</tr>
<tr>
<td>@CRLF</td>
<td></td>
<td>Returns a carriage-return line-feed combination</td>
</tr>
<tr>
<td>@CSD</td>
<td></td>
<td>CSD information (eg: &laquo;&nbsp;Service Pack 2&#8243;)</td>
</tr>
<tr>
<td>@CurDir</td>
<td></td>
<td>Current directory</td>
</tr>
<tr>
<td>@Date</td>
<td></td>
<td>Date (in the format YYYY/MM/DD)</td>
</tr>
<tr>
<td>@Day</td>
<td></td>
<td>Day of the week (Monday, Tuesday, etc.)</td>
</tr>
<tr>
<td>@Domain</td>
<td></td>
<td>Domain or workgroup the computer belongs to</td>
</tr>
<tr>
<td>@DOS</td>
<td></td>
<td>Version of Windows NT</td>
</tr>
<tr>
<td>@Error</td>
<td></td>
<td>Return code of the most recent command or function. A return code of 0 means the command or function was successful. Any other value indicates an error.</td>
</tr>
<tr>
<td>@FullName</td>
<td></td>
<td>Full name of current user</td>
</tr>
<tr>
<td>@HomeDir</td>
<td></td>
<td>Short name of the directory part of home directory</td>
</tr>
<tr>
<td>@HomeDrive</td>
<td></td>
<td>Drive letter of drive containing home directory</td>
</tr>
<tr>
<td>@HomeShr</td>
<td></td>
<td>Server and share name part of home directory</td>
</tr>
<tr>
<td>@HostName</td>
<td></td>
<td>Fully qualified TCP/IP host name (including TCP/IP domain name)</td>
</tr>
<tr>
<td>@InWin</td>
<td></td>
<td>Operating system: 1 = Windows NT; 2 = Windows 9x</td>
</tr>
<tr>
<td>@IPaddress0<br />
 @IPAddress1<br />
 @IPAddress2<br />
 @IPAddress3</td>
<td></td>
<td>TCP/IP address<span style="font-family: Courier New;"><span style="font-size: x-small;"> </span></span></td>
</tr>
<tr>
<td>@KiX</td>
<td></td>
<td>Version of KiXtart</td>
</tr>
<tr>
<td>@LanRoot</td>
<td></td>
<td>Directory where network software resides (usually<em>Systemroot</em>\System32)</td>
</tr>
<tr>
<td>@LDomain</td>
<td></td>
<td>Logon domain</td>
</tr>
<tr>
<td>@LDrive</td>
<td></td>
<td>Drive that is redirected to \\logonserver\NETLOGON</td>
</tr>
<tr>
<td>@LM</td>
<td></td>
<td>Version of network software</td>
</tr>
<tr>
<td>@LogonMode</td>
<td></td>
<td>If 1, indicates that KiXtart assumes to be running during the logon sequence</td>
</tr>
<tr>
<td>@LongHomeDir</td>
<td></td>
<td>Long name of the directory part of home directory</td>
</tr>
<tr>
<td>@LServer</td>
<td></td>
<td>Logon server</td>
</tr>
<tr>
<td>@MaxPWAge</td>
<td></td>
<td>Maximum password age (Note: if passwords are set not to expire, this value is set to ((unsigned long)-1) (or 0xFFFFFFFF in hex). This evaluates to 4294967295 decimal).</td>
</tr>
<tr>
<td>@MDayNo</td>
<td></td>
<td>Day of the month (1-31)</td>
</tr>
<tr>
<td>@MHz</td>
<td></td>
<td>Approximation of the CPU speed (not available on Windows 9x)</td>
</tr>
<tr>
<td>@MonthNo</td>
<td></td>
<td>Month number, beginning with January (1-12)</td>
</tr>
<tr>
<td>@Month</td>
<td></td>
<td>Name of the month</td>
</tr>
<tr>
<td>@MSecs</td>
<td></td>
<td>Milliseconds part of the current time</td>
</tr>
<tr>
<td>@OnWoW64</td>
<td></td>
<td>Returns a 1 if KiXtart is running in the WOW64 environment</td>
</tr>
<tr>
<td>@PID</td>
<td></td>
<td>Process ID of KiXtart (wkix32.exe or kix32.exe)</td>
</tr>
<tr>
<td>@PrimaryGroup</td>
<td></td>
<td>Current user&#8217;s primary group</td>
</tr>
<tr>
<td>@Priv</td>
<td></td>
<td>User&#8217;s privilege level (GUEST, USER, ADMIN)</td>
</tr>
<tr>
<td>@ProductSuite</td>
<td></td>
<td>OS Suite</td>
</tr>
<tr>
<td>@ProductType</td>
<td></td>
<td>OS type</td>
</tr>
<tr>
<td>@PWAge</td>
<td></td>
<td>Password age</td>
</tr>
<tr>
<td>@RAS</td>
<td></td>
<td>Number of active Remote Access Service (RAS) connections</td>
</tr>
<tr>
<td>@Result</td>
<td></td>
<td>Returns command-specific information (e.g.: the drive letter of an automatic redirection command)</td>
</tr>
<tr>
<td>@RServer</td>
<td></td>
<td>KXRPC server used for the current session</td>
</tr>
<tr>
<td>@ScriptDir</td>
<td></td>
<td>Directory of current script</td>
</tr>
<tr>
<td>@ScriptExe</td>
<td></td>
<td>Indicates the version of the KiXtart executable</td>
</tr>
<tr>
<td>@ScriptName</td>
<td></td>
<td>Name of the current script</td>
</tr>
<tr>
<td>@SError</td>
<td></td>
<td>Error text corresponding with @ERROR</td>
</tr>
<tr>
<td>@SID</td>
<td></td>
<td>Current user&#8217;s Windows NT Security Identifier (SID)</td>
</tr>
<tr>
<td>@Site</td>
<td></td>
<td>Name of the site in which the system resides</td>
</tr>
<tr>
<td>@StartDir</td>
<td></td>
<td>Directory from which KiXtart was started</td>
</tr>
<tr>
<td>@SysLang</td>
<td></td>
<td>Full English name of the language of the operating system specified in the format defined by ISO Standard 639. (example : &ldquo;0413Dutch (Standard)&rdquo;).</td>
</tr>
<tr>
<td>@Ticks</td>
<td></td>
<td>Number of milliseconds elapsed since computer was last booted</td>
</tr>
<tr>
<td>@Time</td>
<td></td>
<td>Current time (in the format HH:MM:SS)</td>
</tr>
<tr>
<td>@TsSession</td>
<td></td>
<td>This macro will return a 1 if KiXtart is running in a Terminal Server session</td>
</tr>
<tr>
<td>@UserID</td>
<td></td>
<td>Current user&#8217;s Windows NT user ID</td>
</tr>
<tr>
<td>@UserLang</td>
<td></td>
<td>Full English name of the language selected by the current user specified in the format defined by ISO Standard 639. (example : &ldquo;0413Dutch (Standard)&rdquo;).</td>
</tr>
<tr>
<td>@WDayNo</td>
<td></td>
<td>Days since Sunday (1 &ndash; 7)</td>
</tr>
<tr>
<td>@Wksta</td>
<td></td>
<td>Computer name</td>
</tr>
<tr>
<td>@WUserID</td>
<td></td>
<td>Current user&#8217;s Windows user ID</td>
</tr>
<tr>
<td>@YDayNo</td>
<td></td>
<td>Days since January 1 (1 &ndash; 365)</td>
</tr>
<tr>
<td>@Year</td>
<td></td>
<td>Current year</td>
</tr>
</tbody>
</table>
]]></content:encoded>
			<wfw:commentRss>http://www.cyann.net/2010/02/12/kixtart-functions-to-python/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>De KiXtart à Python: les commandes</title>
		<link>http://www.cyann.net/2010/02/09/kixtart-commands-to-python/</link>
		<comments>http://www.cyann.net/2010/02/09/kixtart-commands-to-python/#comments</comments>
		<pubDate>Tue, 09 Feb 2010 13:29:26 +0000</pubDate>
		<dc:creator>Flavien</dc:creator>
				<category><![CDATA[développement]]></category>
		<category><![CDATA[kixtart]]></category>
		<category><![CDATA[python]]></category>

		<guid isPermaLink="false">http://www.cyann.net/?p=650</guid>
		<description><![CDATA[Petit guide en anglais de traduction de scripts KiXtart vers Python. Commands Functions Macros Commands KiXtart Python equivalent [cci lang="kixtart"]?[/cci] [cci lang="python"]print()[/cci] [cci lang="kixtart"];[/cci] [cci lang="python"]#[/cci] [cci lang="kixtart"]Call[/cci] [cci lang="python"]subprocess.Popen([sys.executable, "script.py"])[/cci] [cci lang="kixtart"]CD[/cci] [cci lang="python"]os.chdir()[/cci] [cci lang="kixtart"]Copy[/cci] [cci lang="kixtart"]Debug[/cci] [cci &#8230; <a href="http://www.cyann.net/2010/02/09/kixtart-commands-to-python/">Lire la suite <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Petit guide en anglais de traduction de scripts KiXtart vers Python.</p>
<ul>
<li><a href="http://www.cyann.net/2010/02/09/kixtart-commands-to-python/#kixtart-commands">Commands</a></li>
<li><a href="http://www.cyann.net/2010/02/12/kixtart-functions-to-python/#kixtart-functions">Functions</a></li>
<li><a href="http://www.cyann.net/2010/02/12/kixtart-macros-to-python/#kixtart-macros">Macros</a></li>
</ul>
<p><span id="more-650"></span></p>
<h2><a name="kixtart-commands"></a>Commands</h2>
<table style="border-collapse: collapse;" border="1">
<tbody>
<tr>
<th>KiXtart</th>
<th>Python equivalent </th>
</tr>
<tr>
<td><a title="Display output to console">[cci lang="kixtart"]?[/cci]</a></td>
<td><a href="http://docs.python.org/library/functions.html#print">[cci lang="python"]print()[/cci]</a></td>
</tr>
<tr>
<td title="Comments">[cci lang="kixtart"];[/cci]</td>
<td><a href="http://docs.python.org/reference/lexical_analysis.html#comments">[cci lang="python"]#[/cci]</a></td>
</tr>
<tr>
<td title="Execute a separate script">[cci lang="kixtart"]Call[/cci]</td>
<td><a href="http://docs.python.org/library/subprocess.html">[cci lang="python"]subprocess.Popen([sys.executable, "script.py"])[/cci]</a></td>
</tr>
<tr>
<td title="Change current directory">[cci lang="kixtart"]CD[/cci]</td>
<td><a href="http://docs.python.org/library/os.html#os.chdir">[cci lang="python"]os.chdir()[/cci]</a></td>
</tr>
<tr>
<td title="Copy files">[cci lang="kixtart"]Copy[/cci]<strong> </strong></td>
<td></td>
</tr>
<tr>
<td title="Enables/disables debug mode during runtime">[cci lang="kixtart"]Debug[/cci]</td>
<td><a href="http://docs.python.org/library/pdb.html">[cci lang="python"]pdb.set_trace()[/cci]</a></td>
</tr>
<tr>
<td title="Delete files">[cci lang="kixtart"]Del[/cci]</td>
<td></td>
</tr>
<tr>
<td title="Dimension a variable">[cci lang="kixtart"]Dim[/cci]</td>
<td></td>
</tr>
<tr>
<td title="Loop the loop">[cci lang="kixtart"]Do Until[/cci]</td>
<td></td>
</tr>
<tr>
<td title="Exit current script/function, optionally with return code">[cci lang="kixtart"]Exit[/cci]</td>
<td></td>
</tr>
<tr>
<td title="Remove any keystrokes from keyboard buffer">[cci lang="kixtart"]FlushKb[/cci]</td>
<td></td>
</tr>
<tr>
<td>[cci lang="kixtart"]For Each[/cci]</td>
<td></td>
</tr>
<tr>
<td title="Control statements to conditionally execute a set of statements">[cci lang="kixtart"]For Next[/cci]</td>
<td></td>
</tr>
<tr>
<td title="Definition of user defined functions">[cci lang="kixtart"]Function[/cci]</td>
<td><a href="http://docs.python.org/reference/compound_stmts.html#function-definitions">[cci lang="python"]def[/cci]</a></td>
</tr>
<tr>
<td title="Wait for single keystroke">[cci lang="kixtart"]Get[/cci]</td>
<td></td>
</tr>
<tr>
<td title="Accept a string of chars">[cci lang="kixtart"]GetS[/cci]</td>
<td></td>
</tr>
<tr>
<td title="Declare one of more global variables">[cci lang="kixtart"]Global[/cci]</td>
<td></td>
</tr>
<tr>
<td title="Change current drive">[cci lang="kixtart"]Go[/cci]</td>
<td><a href="http://docs.python.org/library/os.html#os.chdir">[cci  lang="python"]os.chdir()[/cci]</a></td>
</tr>
<tr>
<td title="Call subroutine at label">[cci lang="kixtart"]GoSub[/cci]</td>
<td></td>
</tr>
<tr>
<td title="Jump to label">[cci lang="kixtart"]GoTo[/cci]</td>
<td></td>
</tr>
<tr>
<td title="Standard if/else construct">[cci lang="kixtart"]If Else EndIf[/cci]</td>
<td><a href="http://docs.python.org/reference/compound_stmts.html#the-if-statement">[cci  lang="python"]if &#8230;:<br />
    elif &#8230;:<br />
    else &#8230;:[/cci]</a></td>
</tr>
<tr>
<td title="Combines multiple=">[cci lang="kixtart"]Include[/cci]</td>
<td></td>
</tr>
<tr>
<td title="Create new directory">[cci lang="kixtart"]MD[/cci]</td>
<td></td>
</tr>
<tr>
<td title="Moves files and renames files and directories">[cci lang="kixtart"]Move[/cci]</td>
<td></td>
</tr>
<tr>
<td title="Exit script, optionally with an exitcode">[cci lang="kixtart"]Quit[/cci]</td>
<td></td>
</tr>
<tr>
<td title="Remove directory">[cci lang="kixtart"]RD[/cci]</td>
<td><a href="http://docs.python.org/library/shutil.html#shutil.rmtree">[cci lang="python"]shutil.rmtree()[/cci]</a></td>
</tr>
<tr>
<td title="Re-declares arrays">[cci lang="kixtart"]Redim[/cci]</td>
<td></td>
</tr>
<tr>
<td title="Exits a subroutine or script">[cci lang="kixtart"]Return[/cci]</td>
<td></td>
</tr>
<tr>
<td title="WinExec's a program (script continues)">[cci lang="kixtart"]Run[/cci]</td>
<td></td>
</tr>
<tr>
<td title="'CASE' statement">[cci lang="kixtart"]Select Case EndSelect[/cci]</td>
<td></td>
</tr>
<tr>
<td title="Sets variables in environment of CURRENT_USER">[cci lang="kixtart"]Set[/cci]</td>
<td></td>
</tr>
<tr>
<td title="Sets variables in local environment">[cci lang="kixtart"]SetL[/cci]</td>
<td></td>
</tr>
<tr>
<td title="Sets variables in environment of LOCAL_MACHINE">[cci lang="kixtart"]SetM[/cci]</td>
<td></td>
</tr>
<tr>
<td title="Synchronize local time with time on server">[cci lang="kixtart"]SetTime[/cci]</td>
<td></td>
</tr>
<tr>
<td title="Executes a program, and waits for completion">[cci lang="kixtart"]Shell[/cci]</td>
<td></td>
</tr>
<tr>
<td title="Suspends script for xx seconds">[cci lang="kixtart"]Sleep[/cci]</td>
<td></td>
</tr>
<tr>
<td title="(Dis-)connect to/from network share">[cci lang="kixtart"]Use[/cci]</td>
<td></td>
</tr>
<tr>
<td title="Loop the loop">[cci lang="kixtart"]While Loop[/cci]</td>
<td></td>
</tr>
</tbody>
</table>
]]></content:encoded>
			<wfw:commentRss>http://www.cyann.net/2010/02/09/kixtart-commands-to-python/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

