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 273375
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 12, 20262026-05-12T00:26:51+00:00 2026-05-12T00:26:51+00:00

I frequently reboot into Windows on a bootcamp partition in my Mac Pro (e2008)

  • 0

I frequently reboot into Windows on a bootcamp partition in my Mac Pro (e2008) (Mac Os X 10.5.6). Because I like to use the time it takes to reboot for other things instead of just sitting around I’d like to write/execute a simple applescript that would basically do:

  1. Quit all running user applications
  2. Then*—after the apps have been quit properly—*restart to my bootcamp partition

Part 2 I have been using for a little while now with a script I found online that is as follows:

do shell script "bless -mount /Volumes/WinVista/ -legacy -setBoot -nextonly" with 
administrator privileges
do shell script "shutdown -r now" with administrator privileges

This works great except that if applications are open they are not properly shutdown (basically they are being ‘force quit’) so I would like to have the script shutdown apps first then execute the reboot.

I have found a similar question on Stack Overflow but since my understanding of AppleScript is virtually none existent I don’t know how I could combine this: (Quit All Applications using Applescript?) with the script that does the reboot.

Is this possible?
If so I would appreciate any advice/help/scripts you can throw at me.

Also I have virtually no experience with AppleScripting all I have done so far was copy/pasting what I had found online, just in case that matters.

Thank you for reading.

Jannis

  • 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-12T00:26:51+00:00Added an answer on May 12, 2026 at 12:26 am

    try using

    tell application "Finder" to restart
    

    this try to quit every application, while prompting for saves, and then reboot the computer

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

Sidebar

Related Questions

Frequently, I've dug into apropos and docs looking for something like the following only
I frequently find myself writing code like this: List<int> list = new List<int> {
I frequently use git stash and git stash pop to save and restore changes
I frequently run into problems of this form and haven't found a good solution
Frequently, I use functions to shape or numerically alter data that I'm passing to
I frequently use kernel density plots to illustrate distributions. These are easy and fast
I have a package (really just one subroutine) I use frequently to parse config
Frequently I come across the following statements in C/C++ source code: $Id: lzio.c,v 1.24
I frequently work with multiple instances of Visual Studio, often working on different branches
I frequently have problems dealing with DataRows returned from SqlDataAdapters . When I try

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.