Re: Active Application
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.