18. Switch login items
With Task3, login items can be switched depending on date and time.

Original Article(Japanese)


(Trigger)
1. Computer Event
Choose "starts up".




(Action)
1. Open File/Application
Create multiple actions and select applications and files which should be launched or opened. Those applications should NOT be registered on System preference > Account > Login item.




(Condition)
1. Time and Day
Choose date, day of week and time that you want to run actions (launch registered applications).
For example, if from Monday to Friday are checked, the registered apps aren't launched on Saturdays and Sundays. Or if from 6:00 till 19:00 is set, apps aren't launched in the night.




2. AppleScript
If any applications or files should be opened only at the end of month, following AppleScript will be available.
set endOfMonthList to {"0131", "0228", "0229", "0331", "0430", "0531", "0630", "0731", "0831", "0930", "1031", "1130", "1231"} set theToday to do shell script "date '+%m%d'" return (endOfMonthList contains theToday)



 

To Top and Map