! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
Implement Alarm Procedure Environment Variables or Replacement Codes
Status:
CLOSED: FIXED
Severity:
enhancement

Comments

Description PaulD 2011-08-23 00:11:56 CEST
It would be nice to be able to refer to the appointment title string in the alarm procedure, somehow.  This would facilitate a single procedure command which would be interpolated at run time.  For example, the Alarm Procedure could be

mailx -s "$TITLE_VAR_NAME" <username>

In this case, if orage exported TITLE_VAR_NAME="<text from the appointment title field", the user would receive an email with the subject text equal to the title of the event.  Alternatively, orage could use it's own replacement text strategy.  Just being able to access the Title text would be satisfactory, but the start-time and duration or end-time would be also be very useful.  Note text would be truly extravagant.
Comment 1 juha editbugs 2011-08-29 11:50:03 CEST
exporting to OS is too much, but adding local text replacement should be doable.
Comment 2 PaulD 2011-08-29 18:04:08 CEST
Great, thanks juha.  I hope you like the suggestion.  I think it would be useful.
Comment 3 juha editbugs 2011-09-05 14:34:59 CEST
Implemented in 4.8.1.12 available in git now. I added these codes, which are replaced just before giving the string to shell:

<&T> appointment title 
<&D> appointment description 
<&AT> alarm time 
<&ST> appointment start time 
<&ET> appointment end time
Comment 4 juha editbugs 2011-09-20 21:57:37 CEST
Implemented in 4.8.2

Bug #7914

Reported by:
PaulD
Reported on: 2011-08-23
Last modified on: 2011-09-20

People

CC List:
0 users

Version

Attachments

Additional information