This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
trigger:Mounted_Volume [2016/03/05 16:27] AlainLifchitz add link to forum + to triggers + forum Google search+ |
trigger:Mounted_Volume [2019/12/16 21:03] (current) peternlewis |
||
---|---|---|---|
Line 2: | Line 2: | ||
It can be a specific volume or any volume. To specify the volume, you can choose to do it with the exact name of the volume, or a value with a name containing a specific string or a name matching (regular expression) a specific string. | It can be a specific volume or any volume. To specify the volume, you can choose to do it with the exact name of the volume, or a value with a name containing a specific string or a name matching (regular expression) a specific string. | ||
+ | |||
+ | When the macro executes, its [[token:TriggerValue|%TriggerValue%]] token will hold the name of the volume (technically, the last path component, which will sometimes be slightly different to ensure uniqueness by the system). | ||
You could use this trigger to perform actions when you connect a backup disk, or automatically sync files with a disk when it is mounted. | You could use this trigger to perform actions when you connect a backup disk, or automatically sync files with a disk when it is mounted. | ||
Line 7: | Line 9: | ||
===== See Also ===== | ===== See Also ===== | ||
- | ---- | + | === Conditions === |
- | === Triggers === | + | |
- | * [[trigger:Periodic|Periodic]] | + | * [[condition:Mounted Volume|Mounted Volume]] |
- | * [[:Triggers|See all Triggers]] | + | * [[:Conditions|See all Conditions]] |
- | ---- | + | === Triggers === |
+ | |||
+ | * [[trigger:Periodic|Periodic]] | ||
+ | * [[:Triggers|See all Triggers]] | ||
==== Forum ==== | ==== Forum ==== | ||
Line 19: | Line 23: | ||
- [[https://forum.keyboardmaestro.com/t/start-time-machine-backup-when-attaching-a-hd/319/9|Start time machine backup when attaching a HD]] | - [[https://forum.keyboardmaestro.com/t/start-time-machine-backup-when-attaching-a-hd/319/9|Start time machine backup when attaching a HD]] | ||
- [[https://forum.keyboardmaestro.com/t/how-to-unmount-an-exernal-drive-using-km/2099/2|How to Unmount an Exernal Drive using KM]] | - [[https://forum.keyboardmaestro.com/t/how-to-unmount-an-exernal-drive-using-km/2099/2|How to Unmount an Exernal Drive using KM]] | ||
+ | - [[https://forum.keyboardmaestro.com/t/macro-all-trashes/3090|MACRO: All Trashes]] | ||
- | - [[https://www.google.fr/webhp?aqs=chrome..69i57.14628j0j7&gws_rd=cr&ei=_BSvVse8Ecb9acLtidAB#q=site:forum.keyboardmaestro.com+Mounted+Volume|Keyboard Maestro Forum topics about Mounted Volume]] | + | - [[https://forum.keyboardmaestro.com/search?q=Mounted%20Volume|Keyboard Maestro Forum topics about Mounted Volume]] |