• 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
Script to make a new window in Smile if there is not one open
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Script to make a new window in Smile if there is not one open


  • Subject: Script to make a new window in Smile if there is not one open
  • From: Timothy Bates <email@hidden>
  • Date: Sat, 21 Jun 2003 10:59:51 +1000

Hi, I am scripting Smile (2.5.2) and wanting to have the script say "if
there isn't a script window open , then make one, otherwise add this to the
current window".

However, even when I have no windows open (running the script from smile's
script menu), the statement "set theDocument to script window 1" never
fails. What is the correct code to detect if the user has already opened a
script window?


<http://www.satimage-software.com/en/softx.html#smile>

Tim
_______________________________________________
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.

  • Follow-Ups:
    • Re: Script to make a new window in Smile if there is not one open
      • From: Emmanuel <email@hidden>
  • Prev by Date: Oh-oh, another victim to scripting Mail (how do I restart Mail with AS?)...
  • Next by Date: Re: Path To blessed items (OSX and OS9): Odd or Normal?
  • Previous by thread: Re: Oh-oh, another victim to scripting Mail (how do I restart Mail with AS?)...
  • Next by thread: Re: Script to make a new window in Smile if there is not one open
  • Index(es):
    • Date
    • Thread