Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 1081327
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T22:09:18+00:00 2026-05-16T22:09:18+00:00

I am wondering how to have a popup alert on my computer (Mac OS

  • 0

I am wondering how to have a popup alert on my computer (Mac OS X) every hour. I figured writing this in Applescript would be pretty simple but I have no Applescript experience. Thanks

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-16T22:09:18+00:00Added an answer on May 16, 2026 at 10:09 pm

    The basic handler for doing things on a regular basis in AppleScript is the idle handler.

    on idle
     display dialog "Go back to work" buttons "Work Harder" default button "Work Harder"
     return 3600
    end idle
    

    This script will pop up a dialog box when you start the application and then every 3,600 seconds after pressing the button. Whatever number the idle handler returns will be the number of seconds before the next idle event is triggered.

    If you want it to be on the half-hour and not every sixty minutes, you’d want the idle script to return a different number of seconds, perhaps 60, and then check to see if you’re at the right part of the hour.

    on idle
     if the minutes of the (current date) is 30 then
      display dialog "Go back to work" buttons "Work Harder" default button "Work Harder"
     end if
     return 60
    end idle
    

    This will only display the dialog at half past. (Like Unix, AppleScript’s concept of the current date includes the current time.)

    In each case, you want to save in AppleScript Editor as “Application” and “Stay Open” in order to have it respond to idle events instead of just quitting after running. And you can add the application to your list of “Login Items” in the “Accounts” system preference to make it run automatically when you log in.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

i have this condition in my controller, but am wondering why the javascript alert
I have a simple jQuery Mobile popup like this: <section data-role=popup data-overlay-theme=a id=eat> Are
I have been wondering and couldn't find a clear answer on this subject. Imagine
alt text http://img202.imageshack.us/img202/2637/dialogo.png I'm wondering how I could make this into a popup dialog.
I have a situation where I would like to pop up an alert view,
I am wondering how this would work in MVC 2. Suppose I want to
I'm writing a popup widget that inherits from ui.dialog and I'm wondering if there
I am wondering how would I do this with like jQuery ajax. Right now
Just wondering. I have a page in Jquery Mobile which uses a popup that
I have a scrollable area that contains popup menus. Conceptually, something like this: <div

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.