User Tools

Site Tools


collection:Lines_In

Differences

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

Link to this comparison view

Next revision
Previous revision
collection:Lines_In [2015/07/14 00:39]
peternlewis created
collection:Lines_In [2017/09/07 05:08]
peternlewis
Line 1: Line 1:
-The //Lines In collection// contains the lines in the specified source.+==== Lines In collection ​====
  
-You can read the lines from the System Clipboard, from a Named Clipboard, from a variable, or from a file.+//Lines In collection//​ is contained in the [[action:​For_Each|For Each]] action. 
 + 
 +//Lines In collection//​ allows each line from a specified source to be processed. 
 + 
 +Lines may be read from the System Clipboard, from a Named Clipboard, from a variable, or from a file. 
 + 
 +It is also possible to include or exclude blank lines. 
 + 
 +A basic example: 
 + 
 +{{ :​collection:​process_lines_in_a_collection.png?​nolink |}} 
 + 
 +For a more complex example (and downloadable macro) see [Process Lines in Text File](https://​forum.keyboardmaestro.com/​t/​macro-file-process-lines-in-text-file/​2936) on the Keyboard Maestro forum. 
 + 
 +===== See Also ===== 
 + 
 +==== Actions ==== 
 + 
 +* [[action:​For_Each|For Each]] 
 + 
 +==== Forum ==== 
 + 
 +* [[https://​forum.keyboardmaestro.com/​t/​file-process-lines-in-text-file/​2936|[FILE] Process Lines in Text File]]
  
-You can also choose to include or ignore blank lines. 
collection/Lines_In.txt · Last modified: 2017/09/07 05:08 by peternlewis