• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Antw: close all programms
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Antw: close all programms


  • Subject: Re: Antw: close all programms
  • From: Andrew Oliver <email@hidden>
  • Date: Fri, 28 Mar 2003 11:47:21 -0800

OK, I don't understand this one.

System Events exists to process system-related tasks via AppleScript. I
can't imagine a situation where it isn't scriptable, or that you couldn't
get its dictionary.

Andrew
:)

On 3/28/03 2:06 AM, "J|rgen Keser" <email@hidden> wrote:

> Hi Andrew,
>
> thanks for your answer. Now It asked me for the System Events when I let the
> Script run.
> I show it the programm under System--->Library--->CoreServices.
> When I did this, now the script shows me the script error
> 'Can't get the application's event dictionary'.
> Do you know where the problem is? Sorry I'm an beginner in AppleScript.
>
> Am Freitag, 28. Mdrz 2003 10:53 Uhr, Andrew Oliver <email@hidden> schrieb:
>> This script will quit every process that responds to the quit
>> event.
>>
>> Might need some additional error checking to make sure you don't tell
>> yourself to quit since that might cause unpredictable results.
>>
>> tell application "System Events"
>> try
>> set appsList to every application process
>> repeat with anApp in appsList
>> tell process anApp to quit
>> end repeat
>> end try
>> end tell
>>
>>
>> On 3/28/03 1:26 AM, "J|rgen Keser" <email@hidden>
>> wrote:
>>
>>> Hi AppleScripters,
>>>
>>> I have an simple question. Is there a simple command that quits all
>>> opened programms in OSX?
>>>
>>> Now I must tell all applications and quit them on after the other.
>>> But there are some programms I opened only sometimes. So it would be
>>> better, to close only all the programms that are opened.
>>>
>>> Thank you in advance.
>>>
>>> Greetings,
>>>
>>> J|rgen
>>> _______________________________________________
>>> applescript-users mailing list | email@hidden
>>> Help/Unsubscribe/Archives:
>>> http://www.lists.apple.com/mailman/listinfo/applescript-users
>>> Do not post admin requests to the list. They will be ignored.
> _______________________________________________
> applescript-users mailing list | email@hidden
> Help/Unsubscribe/Archives:
> http://www.lists.apple.com/mailman/listinfo/applescript-users
> Do not post admin requests to the list. They will be ignored.
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.

  • Prev by Date: ANNOUNCE: Script Debugger 3.0.6
  • Next by Date: Re: close all programs
  • Previous by thread: ANNOUNCE: Script Debugger 3.0.6
  • Next by thread: Releasing a loaded script from memory
  • Index(es):
    • Date
    • Thread