• 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
Puzzling behavior
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Puzzling behavior


  • Subject: Puzzling behavior
  • From: Michelle Steiner <email@hidden>
  • Date: Mon, 20 Sep 2004 08:44:18 -0700

The script:

tell application "Finder"
	quit
	log 1
	launch
	log "a"
end tell

First time it's run:

tell application "Finder"
	quit
		current application
	(*1*)
		current application
	(*1*)
	launch
		current application
	(*a*)
end tell

Second time it's run:

tell application "Finder"
	quit
	(*1*)
		current application
		"Finder got an error: Connection is invalid."

Third time duplicates the first, fourth duplicates the second, etc.

-- Michelle

--
I've noticed lately that the paranoid fear of computers becoming intelligent and taking over the world has almost entirely disappeared from the common culture. Near as I can tell, this coincides with the release of MS-DOS.
-- Larry DeLuca


_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: Puzzling behavior
      • From: Courtney Schwartz <email@hidden>
  • Prev by Date: Creating a PS printer with Desktop Printer Manager
  • Next by Date: whose statement in FMP 7
  • Previous by thread: Creating a PS printer with Desktop Printer Manager
  • Next by thread: Re: Puzzling behavior
  • Index(es):
    • Date
    • Thread