User Tools

Site Tools


tutorials:eventgroups

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
Last revisionBoth sides next revision
tutorials:eventgroups [2017/12/11 19:25] James Sentmantutorials:eventgroups [2017/12/12 20:45] James Sentman
Line 13: Line 13:
 <code> <code>
  
-property:EventSuffix = “(HOLIDAY)”+property EventPrefix:“(HOLIDAY)”
  
 set eventList to all events set eventList to all events
  
 repeat with thisEvent in eventList repeat with thisEvent in eventList
-  if thisEvent begins with EventSuffix then+  if thisEvent begins with EventPrefix then
     unsuspend event thisEvent     unsuspend event thisEvent
   end if   end if
Line 28: Line 28:
  
 <code> <code>
-property:EventSuffix = “(HOLIDAY)”+property EventPrefix:“(HOLIDAY)”
  
 set eventList to all events set eventList to all events
  
 repeat with thisEvent in eventList repeat with thisEvent in eventList
-  if thisEvent begins with EventSuffix then+  if thisEvent begins with EventPrefix then
     suspend event thisEvent     suspend event thisEvent
   end if   end if
tutorials/eventgroups.txt · Last modified: 2023/02/13 14:52 by 127.0.0.1