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
tutorials:eventgroups [2017/12/11 19:25] James Sentmantutorials:eventgroups [2023/02/13 14:52] (current) – external edit 127.0.0.1
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.1513020331.txt.gz · Last modified: 2023/02/13 14:51 (external edit)