Jump to content

Script to open a notification window

  • Please log in to reply
No replies to this topic



    InsanelyMac Protégé

  • Members
  • Pip
  • 1 posts
When I push software to macs using Altiris, I want to notify logged-in users that they're getting an update. This should present them with a popup window and allow them to defer the update until later (a set period of time at which the popup will appear again), or accept the update, which will log them out and process the rest of the scripts involved.

I'm not much of a programmer, but am handy enough with shell commands. What is the apple way of making a simple gui with a couple of buttons to either defer my update or run it? I don't know the full capabilities of altiris at this juncture, so I'm hoping to do with with a shell script only. If the proper method to do this requires apple script, I'm ok with that too.

All it needs is to give a successful exit code when either time runs out or the accept button is pressed, that way the next scripts in the sequence will proceed.

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

© 2017 InsanelyMac  |   News  |   Forum  |   Downloads  |   OSx86 Wiki  |   Designed by Ed Gain  |   Logo by irfan  |   Privacy Policy