• 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: How do you make AppleScript App Behave as App
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How do you make AppleScript App Behave as App


  • Subject: Re: How do you make AppleScript App Behave as App
  • From: David Andrews <email@hidden>
  • Date: Sun, 24 Oct 2004 22:42:09 -0400

Thanks Kin,

I thought the "to activate" was equivalent to the "to run" but I guess it is not.

I made the Big App work as desired by using your "to run" in place of my "to activate" and turning on the "ignoring" block thus:

...
try
	ignoring application responses
		tell application theApp to run
		--tell application theApp to launch
		--tell application theApp to activate
	end ignoring
on error mess
...

On Oct 24, 2004, at 1:15 AM, Graff wrote:

[snip]
Big.app
----
on run
	ignoring application responses
		tell application "little"
			run
		end tell
	end ignoring
end run

on idle
[snip]

Oh, by the way, if you tell an application to launch then it will not run what is in the run handler (or the default run handler if you didn't specify one). You need to specifically tell the application to run to have it do what is in the run handler.

- Ken
[snip]

And I guess "to run" does something more than "to activate" since the "to activate" also does nothing with "ignoring" on, but runs the little app and hangs the big app with "ignoring" off ("to run" behaves just like "to activate" with "ignoring" off).


David A

_______________________________________________
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: How do you make AppleScript App Behave as App
      • From: Brian Johnson <email@hidden>
References: 
 >How do you make AppleScript App Behave as App (From: David Andrews <email@hidden>)
 >Re: How do you make AppleScript App Behave as App (From: Graff <email@hidden>)

  • Prev by Date: Re: Safari reload script.
  • Next by Date: Re: How do you make AppleScript App Behave as App
  • Previous by thread: Re: How do you make AppleScript App Behave as App
  • Next by thread: Re: How do you make AppleScript App Behave as App
  • Index(es):
    • Date
    • Thread