Files
Shell/docs/functions/this.html
T
2022-04-12 02:11:25 +02:00

23 lines
1.0 KiB
HTML

<h5>THIS</h5>
<br>
<p>This namespace contains functions that are used with the current item in the context menu.</p>
<br>
<section class="my-5">
<p>Syntax</p>
<pre><code>
this.type // Returns the type of the current item [menu = 2, item = 1, separator = 0]
this.checked // Returns true if the current item is checked
this.pos // Returns the position of the current item in the context menu
this.disabled // Returns true if the current item is disabled
this.sys // Returns true if the current item is a system item
this.title // Returns the title of the current item
this.id // Returns the ID of the current item
this.count // Returns the number of items in the context menu
this.length // Returns the length of the current item's title
this.taskbar // Returns true if the window handle is for the Taskbar window
this.desktop // Returns true if the window handle is for the Desktop window
this.explorer // Returns true if the window handle is for the Explorer window
this.nav // Returns true if the window handle is for the Side window
</code></pre>
</section>