Jump to content
InsanelyMac Forum
  • Announcements

    • Allan

      Solution to create a topic or post.   04/24/2018

      Hello guys. The majority of you are having issues to create a topic or post here. This are a problem with our current theme InsanelyMac.  Now the theme will be the Default IPS. Sorry for any inconvenience.
Sign in to follow this  

Script to open a notification window

Recommended 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.

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.