User Tools

Site Tools


trigger:Folder

Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Last revision Both sides next revision
trigger:Folder [2016/02/10 00:11]
JMichaelTX
trigger:Folder [2021/01/08 02:04]
peternlewis
Line 3: Line 3:
  
  
-**The //Folder trigger// (v7.0+) executes the macro when a specified folder on your Mac: +The //Folder trigger// (v7.0+) executes the macro when a specified folder on your Mac: 
-**+
 * adds an item. * adds an item.
 * removes an item. * removes an item.
 * adds or removes an item. * adds or removes an item.
 +
 +The item must be directly in the folder - changes in a subfolder will not be noticed.
  
 You can have the trigger ignore partial or changing files, so for example if a file is being downloaded or copied in to the folder, the trigger will wait until the download/​copy has completed and can ignore partial files (files with extensions that are known to be "in progress"​ files). You can have the trigger ignore partial or changing files, so for example if a file is being downloaded or copied in to the folder, the trigger will wait until the download/​copy has completed and can ignore partial files (files with extensions that are known to be "in progress"​ files).
Line 13: Line 15:
 Note that waiting for the file to stop changing adds a necessary delay to the trigger as Keyboard Maestro cannot tell in advance that the file has stopped changing. Note that waiting for the file to stop changing adds a necessary delay to the trigger as Keyboard Maestro cannot tell in advance that the file has stopped changing.
  
-The //​%TriggerValue%//​ text token contains the name of the file that was added or removed.\\ +The //​%TriggerValue%//​ text token contains the path of the file that was added or removed (prior to 7.1 this was only the file name, not the full path).
-(!) Note this is ONLY the file name, not the full path.+
  
  
 See also these forum topics: See also these forum topics:
  
-- [[https://​forum.keyboardmaestro.om/​t/​wtch-downloads-folder-for-pdfs-and-open-with-preview/​2837|Watch downloads folder for PDF’s and open with preview]] +- [[https://​forum.keyboardmaestro.com/​t/​wtch-downloads-folder-for-pdfs-and-open-with-preview/​2837|Watch downloads folder for PDF’s and open with preview]] 
-- [[https://www.google.fr/webhp?aqs=chrome..69i57.14628j0j7&​gws_rd=cr&​ei=_BSvVse8Ecb9acLtidAB#​q=site:​forum.keyboardmaestro.com+Folder+trigger|Keyboard Maestro Forum topics about Folder trigger]]+- [[https://forum.keyboardmaestro.com/search?q=%22Folder%20trigger%22|Keyboard Maestro Forum topics about Folder trigger]]
trigger/Folder.txt · Last modified: 2021/11/24 01:50 by peternlewis