Site Tools


autoit:basic

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
autoit:basic [2017/09/29 16:43] lunetikkautoit:basic [Unknown date] (current) – external edit (Unknown date) 127.0.0.1
Line 3: Line 3:
  
 ^  Code  ^  What it does  ^ ^  Code  ^  What it does  ^
-|  <code>+|  <code autoit>
 While 1 While 1
 WEnd WEnd
 </code>  |  while  | </code>  |  while  |
 |  HotKeySet("{KEY)}", "jumptopoint" |  Push KEY example HOME to jump to code "jumptopoint"  | |  HotKeySet("{KEY)}", "jumptopoint" |  Push KEY example HOME to jump to code "jumptopoint"  |
-|  <code>+|  <code autoit>
 Func jumptopoint() Func jumptopoint()
 CODE HERE CODE HERE
Line 24: Line 24:
 |  dim $var1  |  init "var1"  | |  dim $var1  |  init "var1"  |
 |  $var1 = "Hello World"  |  set "Hello World" to "var1"  | |  $var1 = "Hello World"  |  set "Hello World" to "var1"  |
-|  <code>ClipPut('this text goes to clipboard')+|  <code autoit>ClipPut('this text goes to clipboard')
 Send("^v")</code>  |  put text into clipboard and then paste it with ctrl+v instead of typing it  | Send("^v")</code>  |  put text into clipboard and then paste it with ctrl+v instead of typing it  |
 +|  <code autoit>AutoItSetOption ( "WinTitleMatchMode", 2 )
 +$Title = WinGetTitle("")
 +$result = StringInStr($Title, 'notepad')
 +If $result = 0 Then
 +Sleep(1)
 +Else
 +Sleep(1)
 +EndIf</code>  |  get title of the active window and check for notepad, 0 = notepad not in title  |
 +
  
 \\ \\
 \\ \\
-~~DISCUSSION~~+~~DISCUSSION:closed~~
autoit/basic.1506696228.txt.gz · Last modified: 2017/09/29 16:43 by lunetikk