• 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: "running" property causes Script Editor nervous breakdown
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: "running" property causes Script Editor nervous breakdown


  • Subject: Re: "running" property causes Script Editor nervous breakdown
  • From: Philip Aker <email@hidden>
  • Date: Sat, 26 Apr 2008 18:29:32 -0700

On 08-04-26, at 10:05, Joe wrote:

Using System Events, processes works fine. I was playing around with the new 'running' property introduced with Leopard.

The script is not corrupt, or I should say writing it again and saving anew still results in the behavior I described.

Rebooting doesn't help either. It seems to be the one line of script I posted.

Every other AppleScript I have is still working properly so I don't think it is a system issue either.

This form behaves as expected OMM (Intel/Mac OS X 10.5.2):

if (application "Safari" is running) then
set is_running to true
else
run script "tell application \"Safari\" to activate"
end if

as does this:

if not (application "Safari" is running) then
run script "tell application \"Safari\" to activate"
end if


Puzzling

is right!

Philip Aker
echo email@hidden@nl | tr a-z@. p-za-o.@

Sent from my SE/30

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden

References: 
 >"running" property causes Script Editor nervous breakdown (From: Joe <email@hidden>)
 >Re: "running" property causes Script Editor nervous breakdown (From: Philip Aker <email@hidden>)
 >Re: "running" property causes Script Editor nervous breakdown (From: Joe <email@hidden>)

  • Prev by Date: DialWithModem
  • Next by Date: Re: Script to add alias to dock
  • Previous by thread: Re: "running" property causes Script Editor nervous breakdown
  • Next by thread: Re: "running" property causes Script Editor nervous breakdown
  • Index(es):
    • Date
    • Thread