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
Next revisionBoth sides next revision
autoit:basic [2017/09/29 16:43] lunetikkautoit:basic [2017/10/02 15:11] – Discussion status changed lunetikk
Line 26: Line 26:
 |  <code>ClipPut('this text goes to clipboard') |  <code>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>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.txt · Last modified: 2017/11/29 17:04 (external edit)