MACSCRPT Archives

November 2009

MACSCRPT@LISTSERV.DARTMOUTH.EDU

Options: Use Monospaced Font
Show Text Part by Default
Condense Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Mime-Version:
1.0 (Apple Message framework v1075.2)
Content-Type:
text/plain; charset=us-ascii; format=flowed; delsp=yes
Date:
Mon, 9 Nov 2009 16:13:12 -0500
Reply-To:
Macintosh Scripting Systems <[log in to unmask]>
Subject:
From:
Mark Lively <[log in to unmask]>
In-Reply-To:
Content-Transfer-Encoding:
7bit
Sender:
Macintosh Scripting Systems <[log in to unmask]>
Parts/Attachments:
text/plain (57 lines)
It did for me.

I am running 10.6  I opened up the app's plist, added the key then  
saved the plist.  It then ran a script that said


tell application id "com.AccuWeather.Foo" to activate

and it did.


On Nov 9, 2009, at 4:01 PM, Paul Skinner wrote:

> Mark,
>
> 	That doesn't seem to have any effect as far as "tell application  
> ID" is concerned. I can't get it to alter the returned code.
>
> 	Does this wrk on your machine?
>
> Thanks
> Paul
>
> On Nov 9, 2009, at 1:05 PM, Mark Lively wrote:
>
>> If you were to right click on an application and show package  
>> contents, there would be a file in there called "Info.plist"
>> On of the keys in the file is "Bundle identifier" which contains  
>> "com.Apple.TextEdit" for instance.
>>
>> You can add one to an application if it doesn't have one.
>>
>>
>> On Nov 9, 2009, at 12:52 PM, Paul Skinner wrote:
>>
>>> Hello,
>>>
>>> get id of application "TextEdit"
>>> -->"com.apple.TextEdit"
>>>
>>> get id of application "applescriptApplication.app"
>>> -->"aplt"
>>>
>>> What is it that causes an applescript application to create a  
>>> plist and, I assume, thusly be locatable with the...
>>>
>>> tell application id "com.apple.TextEdit"
>>>  make new document
>>> end tell
>>>
>>> ...construct?
>>>
>>> thanks,
>>> Paul
>>>
>

ATOM RSS1 RSS2