• 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: First Script
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: First Script


  • Subject: Re: First Script
  • From: Arthur J Knapp <email@hidden>
  • Date: Fri, 08 Mar 2002 15:14:22 -0500

> Date: Fri, 8 Mar 2002 08:04:17 -0800
> Subject: First Script
> From: Elton Hughes <email@hidden>

> ignoring application responses
> tell application "Terminal"
> activate
...

> It works almost as expected, except that I get two windows. Why am I
> getting two windows?

Possibly because of the "activate" command. Try "launch" instead.
Activate often causes an application to do it's "start up" stuff,
which often includes opening a new window.

And congratulations on your first script. :)


{ Arthur J. Knapp, of <http://www.STELLARViSIONs.com>
<mailto:email@hidden>
try
<http://www.lazerware.com/>
on error number -128
end try
}
_______________________________________________
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: Re: Scripting Palm Desktop
  • Next by Date: Re: possible bug? Radically different time profile for list access in script objects or by explicit reference.
  • Previous by thread: Re: First Script
  • Next by thread: possible bug? Radically different time profile for list access in script objects or by explicit reference.
  • Index(es):
    • Date
    • Thread