Re: AppleScript-Users Digest, Vol 9, Issue 490
Re: AppleScript-Users Digest, Vol 9, Issue 490
- Subject: Re: AppleScript-Users Digest, Vol 9, Issue 490
- From: LIN-PENG <email@hidden>
- Date: Mon, 26 Nov 2012 23:32:06 +0800
LING-PENG
在 2012-11-26,15:22,email@hidden 写道:
> Send AppleScript-Users mailing list submissions to
> email@hidden
>
> To subscribe or unsubscribe via the World Wide Web, visit
> https://lists.apple.com/mailman/listinfo/applescript-users
> or, via email, send a message with subject or body 'help' to
> email@hidden
>
> You can reach the person managing the list at
> email@hidden
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of AppleScript-Users digest..."
>
>
> Today's Topics:
>
> 1. Re: Xcode Installation (Shane Stanley)
> 2. Re: Xcode Installation (Jeff Davidson)
> 3. Compte ICloud:iTunes (Marilyn Ubaldo)
> 4. Re: Removing a field from Contacts/Address Book (David Morrison)
> 5. Getting error -1708 for Messages script (Cheng-Yang Tan)
> 6. Re: Xcode Installation (Shane Stanley)
> 7. Size limit on Xcode projects? (Brian Christmas)
> 8. Re: Xcode Installation (Jeff Davidson)
> 9. how to add a file to my Xcode project using AS (Ronald Hofmann)
> 10. Re: Size limit on Xcode projects? (Shane Stanley)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Mon, 26 Nov 2012 08:49:31 +1100
> From: Shane Stanley <email@hidden>
> To: AppleScript Users <email@hidden>
> Subject: Re: Xcode Installation
> Message-ID: <email@hidden>
> Content-Type: text/plain; charset=us-ascii
>
> On 26/11/2012, at 5:13 AM, Luther Fuller <email@hidden> wrote:
>
>> Shouldn't this documentation be stored in <startupdisk>/Library/Developer/ ? (Which exists)
>
> No. /Library/Developer/ is no longer used at all.
>
> --
> Shane Stanley <email@hidden>
> 'AppleScriptObjC Explored' <www.macosxautomation.com/applescript/apps/>
>
>
>
>
> ------------------------------
>
> Message: 2
> Date: Sun, 25 Nov 2012 15:28:35 -0800
> From: Jeff Davidson <email@hidden>
> To: Shane Stanley <email@hidden>
> Cc: AppleScript Users <email@hidden>
> Subject: Re: Xcode Installation
> Message-ID:
> <CAE8H+Qbys8Pg9dJMy-RjjfQ7s+a5kySdAifiTSUJjeS+=email@hidden>
> Content-Type: text/plain; charset="iso-8859-1"
>
> Luther and Shane are both right on the ball. Shane's technically
> correct: Xcode is now installed as a user-specific application. But
> Luther's gripe about the user-specific documentation has merit too. If
> Xcode is installed on a single machine by three users Is it really
> necessary to install three identical and massive copies of the
> documentation?
>
>
>
> On 25 November 2012 13:49, Shane Stanley <email@hidden> wrote:
>
>> On 26/11/2012, at 5:13 AM, Luther Fuller <email@hidden> wrote:
>>
>>> Shouldn't this documentation be stored in
>> <startupdisk>/Library/Developer/ ? (Which exists)
>>
>> No. /Library/Developer/ is no longer used at all.
>>
>> --
>> Shane Stanley <email@hidden>
>> 'AppleScriptObjC Explored' <www.macosxautomation.com/applescript/apps/>
>>
>>
>> _______________________________________________
>> Do not post admin requests to the list. They will be ignored.
>> AppleScript-Users mailing list (email@hidden)
>> Help/Unsubscribe/Update your Subscription:
>>
>> Archives: http://lists.apple.com/archives/applescript-users
>>
>> This email sent to email@hidden
>>
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: <https://lists.apple.com/mailman/private/applescript-users/attachments/20121125/09673647/attachment.html>
>
> ------------------------------
>
> Message: 3
> Date: Mon, 26 Nov 2012 00:57:38 +0100
> From: Marilyn Ubaldo <email@hidden>
> To: Apple Support <email@hidden>
> Subject: Compte ICloud:iTunes
> Message-ID: <email@hidden>
> Content-Type: text/plain; charset=us-ascii
>
> Compte ICloud:iTunes
> MP:Mb28071973
> ID:email@hidden
>
>
>
> Ic:
>
>
> ------------------------------
>
> Message: 4
> Date: Mon, 26 Nov 2012 11:05:14 +1100
> From: David Morrison <email@hidden>
> To: asu <email@hidden>
> Subject: Re: Removing a field from Contacts/Address Book
> Message-ID: <p06240800ccd85c022971@[192.168.186.130]>
> Content-Type: text/plain; charset=us-ascii; format=flowed
>
>> This one seems to do what you want here:
>>
>> tell application "Contacts"
>> tell (people whose selected is true)
>> set value of (custom dates whose label is
>> "other") to missing value
>> save
>> end tell
>> end tell
>>
>> Please be sure to try it on a small selection first... ;-)
>
> Hehe, it works! I thought it was a case of getting the wording right
> and understanding the model. For Contacts, setting the field to
> missing value does the same thing as removing it.
>
> Thanks.
>
> David
>
>
> ------------------------------
>
> Message: 5
> Date: Sun, 25 Nov 2012 16:22:03 -0800 (PST)
> From: Cheng-Yang Tan <email@hidden>
> To: "email@hidden"
> <email@hidden>
> Subject: Getting error -1708 for Messages script
> Message-ID:
> <email@hidden>
> Content-Type: text/plain; charset="iso-8859-1"
>
> Hi guys,
> First, I am an applescript beginner, so I'm sure what I did is probably wrong and I hope one of you can help me with the script.
>
> The goal is to write an event handler for Messages which I wrote below in applescript:
>
> *******************************************************
> using terms from application "Messages"
> on buddy became availablemyBuddy
> tell application "Messages"
> tell myBuddy
> set buddyName to full name
> end tell
> end tell
> end buddy became available
> end using terms from
>
> *********************************************************
>
> The goal is to eventually pop up a message box. However, right now I am getting and -1708 error whenever this script is called by Messages event "Buddy becomes available" in Messages->Preferences->Alerts.
>
> I can't find anything that is obviously wrong. Please help.
>
> Thanks!
>
> cytan
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: <https://lists.apple.com/mailman/private/applescript-users/attachments/20121125/54a4aba7/attachment.html>
>
> ------------------------------
>
> Message: 6
> Date: Mon, 26 Nov 2012 11:45:53 +1100
> From: Shane Stanley <email@hidden>
> To: AppleScript Users <email@hidden>
> Subject: Re: Xcode Installation
> Message-ID: <email@hidden>
> Content-Type: text/plain; charset=iso-8859-1
>
> On 26/11/2012, at 10:28 AM, Jeff Davidson <email@hidden> wrote:
>
>> If Xcode is installed on a single machine by three users Is it really necessary to install three identical and massive copies of the documentation?
>
> I don't know why the change was made -- perhaps security-related, to keep third-party .docset files out of /Library. Whatever.
>
> But I was wrong when I said /Library/Developer/ is no longer used; Xcode still picks up any .docset files there just fine, and I'm guessing it keeps them up-to-date. I just tried moving my 10.8 .docset file there, and it works fine. So perhaps the answer to your rhetorical question is: no, it's not *necessary*.
>
> (Although I think the issue is more one of wasted bandwidth downloading three times than wasted disk space.)
>
> --
> Shane Stanley <email@hidden>
> 'AppleScriptObjC Explored' <www.macosxautomation.com/applescript/apps/>
>
>
>
>
> ------------------------------
>
> Message: 7
> Date: Mon, 26 Nov 2012 13:54:54 +1100
> From: Brian Christmas <email@hidden>
> To: applescript-users-request Users
> <email@hidden>
> Subject: Size limit on Xcode projects?
> Message-ID: <email@hidden>
> Content-Type: text/plain; charset=us-ascii
>
> G'day Scripters
>
> I've got a long standing Applescript app that had an extensive embedded script in it for speed. I've started to hit the limits of the size of the script as it's grown over the years, and am thinking about trying to turn it into an Xcode project.
>
> Question is, do Xcode projects have a size limit? And if so, is the limit larger than the Applescript limit?
>
> I've got Shane's book, so will have to go through it again to work out pitfalls. I haven't worked through it since it was first released, and my memory is dimming! Old age creeps up.
>
> Regards
>
> Santa
>
>
> ------------------------------
>
> Message: 8
> Date: Sun, 25 Nov 2012 19:58:54 -0800
> From: Jeff Davidson <email@hidden>
> To: Shane Stanley <email@hidden>
> Cc: AppleScript Users <email@hidden>
> Subject: Re: Xcode Installation
> Message-ID:
> <email@hidden>
> Content-Type: text/plain; charset="iso-8859-1"
>
> For anyone with a multi-terabyte HDD, most certainly disk space isn't a
> problem. For those of us with a modestly sized SSD, 6GB of docs for three
> user installations, instead of 2GB, isn't insignificant. It's possible the
> "problem" (read: annoyance, not an actual problem) could be ameliorated
> with symbolic links to the .docset in /Library/...
>
> So yeah, in my mind at least, it's not a "problem", just an annoyance.
>
> Cheers,
> ~Jeff
>
> On 25 November 2012 16:45, Shane Stanley <email@hidden> wrote:
>
>>
>> I don't know why the change was made -- perhaps security-related, to keep
>> third-party .docset files out of /Library. Whatever.
>>
>> But I was wrong when I said /Library/Developer/ is no longer used; Xcode
>> still picks up any .docset files there just fine, and I'm guessing it keeps
>> them up-to-date. I just tried moving my 10.8 .docset file there, and it
>> works fine. So perhaps the answer to your rhetorical question is: no, it's
>> not *necessary*.
>>
>> (Although I think the issue is more one of wasted bandwidth downloading
>> three times than wasted disk space.)
>>
>> --
>> Shane Stanley <email@hidden>
>> 'AppleScriptObjC Explored' <www.macosxautomation.com/applescript/apps/>
>>
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: <https://lists.apple.com/mailman/private/applescript-users/attachments/20121125/a2c0782a/attachment.html>
>
> ------------------------------
>
> Message: 9
> Date: Mon, 26 Nov 2012 07:50:17 +0100
> From: Ronald Hofmann <email@hidden>
> To: AppleScript Users <email@hidden>
> Subject: how to add a file to my Xcode project using AS
> Message-ID: <email@hidden>
> Content-Type: text/plain; charset=us-ascii
>
> Hi all,
> I created a WinDef.plist file in the Application Support folder which contains user default values.
> I would like to add this file to my Xcode project without doing it manually and want it to appear in the Project Navigator.
>
> Any ideas how to do this?
>
> Greetings from Switzerland, Ronald
> ---
>
>
> ------------------------------
>
> Message: 10
> Date: Mon, 26 Nov 2012 18:22:22 +1100
> From: Shane Stanley <email@hidden>
> To: applescript-users-request Users
> <email@hidden>
> Subject: Re: Size limit on Xcode projects?
> Message-ID: <email@hidden>
> Content-Type: text/plain; charset=us-ascii
>
> On 26/11/2012, at 1:54 PM, Brian Christmas <email@hidden> wrote:
>
>> Question is, do Xcode projects have a size limit? And if so, is the limit larger than the Applescript limit?
>
> I suspect the limits are more or less the same, in that most of the time what you hit is a compiler limit, but it's pretty simple to split an Xcode project into multiple files.
>
>
> --
> Shane Stanley <email@hidden>
> 'AppleScriptObjC Explored' <www.macosxautomation.com/applescript/apps/>
>
>
>
>
> ------------------------------
>
> _______________________________________________
> AppleScript-Users mailing list
> email@hidden
> https://lists.apple.com/mailman/listinfo/applescript-users
>
> End of AppleScript-Users Digest, Vol 9, Issue 490
> *************************************************
_______________________________________________
Do not post admin requests to the list. They will be ignored.
applescriptobjc-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden