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

Re: Active Application


  • Subject: Re: Active Application
  • From: Philippe GRUCHET <email@hidden>
  • Date: Tue, 18 Mar 2003 11:14:30 +0100

From: julifos <email@hidden>

try
set ap to get name of current application
display dialog ap
on error e
display dialog e
end try

... in Script Editor I get "Script Editor"
in Smile I get ""

(Smile defines "name" within its application classes, but it will return allways an empty string, why? Bug?)


Hot-line ;-)

set {text item delimiters, myName, text item delimiters} to {":", last text item of ((path name of me as string) & ":Contents:MacOS:Smile"), ""}

In 144 chars, for those who like symbols...


Kind regards,
Philippe Gruchet/SVM Mac
VNU Publications France
http://svmmac.vnunet.fr
_______________________________________________
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: Get ID of items Modified with 1 month
  • Next by Date: Re: Applescript guides
  • Previous by thread: Re: Active Application
  • Next by thread: Re: Active Application
  • Index(es):
    • Date
    • Thread