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

Re: newbie question


  • Subject: Re: newbie question
  • From: John Delacour <email@hidden>
  • Date: Fri, 28 Feb 2003 21:50:40 +0000
  • Mac-eudora-version: 6.0a8

At 12:53 pm -0800 28/2/03, Paul Berkowitz wrote:

set bah to "Finder"
-- specifying app name through a var
using terms form application "Finder"
tell application bah


Tra la la. This is a classic case of "begging the question". How can I use terms from application x if I don't know what x is called? I've never used that novelty, because it won't work in systems 7, 8 and it's useless in any case in my book.


At present the only alternatives I can work out are as follows:

set vAppName to "Mail"
set vScript to "
tell application \"" & vAppName & "\"
get authentication of pop account 1
end tell"
run script vScript


set vAppName to "Mail"
tell app vAppName to get <<class paus>> of <<class pact>> 1

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

References: 
 >Re: newbie question (From: Paul Berkowitz <email@hidden>)

  • Prev by Date: Re: Scripting MS Word without VBA?
  • Next by Date: Re: newbie question
  • Previous by thread: Re: newbie question
  • Next by thread: Re: newbie question
  • Index(es):
    • Date
    • Thread