• 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: How to get the number of items in a selected Folder ?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to get the number of items in a selected Folder ?


  • Subject: Re: How to get the number of items in a selected Folder ?
  • From: Shane Stanley <email@hidden>
  • Date: Sat, 28 Nov 2015 10:21:18 +1100

On 27 Nov 2015, at 11:56 PM, Yvan KOENIG <email@hidden> wrote:

Why is it erroring on Thomas’s machine but not on mine ?

Perhaps he is using my version, with the line:

set forder to load framework -- returns SMSForder class

That puts a Cocoa object in a top-level variable.

Something that can reduce the annoyance is to do something Nigel Garvey wrote about here some time back: turn off autosaving for Script Editor. That should at least reduce the number of time sit happens, and if it happens when you manually save, there's now (in 10.11 at least) an explanatory dialog.

Here's the relevant part of Nigel's post:

I came across a tip on Friday for turning off autosave in individual applications:
<http://apple.stackexchange.com/questions/27544/how-to-completely-disable-auto-save-and-versions-in-mac-os-x-lion>.
Applying it to Script Editor by running the following in Terminal (with Script Editor not open) …

 defaults write -app 'script editor' ApplePersistence -bool no

… seems to have cured many of the other problems.

-- 
Shane Stanley <email@hidden>
<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

References: 
 >How to get the number of items in a selected Folder ? (From: "emile.a.schwarz" <email@hidden>)
 >Re: How to get the number of items in a selected Folder ? (From: "Stockly, Ed" <email@hidden>)
 >Re: How to get the number of items in a selected Folder ? (From: "Stockly, Ed" <email@hidden>)
 >Re: How to get the number of items in a selected Folder ? (From: Yvan KOENIG <email@hidden>)
 >Re: How to get the number of items in a selected Folder ? (From: Shane Stanley <email@hidden>)
 >Re: How to get the number of items in a selected Folder ? (From: Shane Stanley <email@hidden>)
 >Re: How to get the number of items in a selected Folder ? (From: Yvan KOENIG <email@hidden>)

  • Prev by Date: Expected end of line, etc. but found identifier
  • Next by Date: My applescripts on github...
  • Previous by thread: Re: How to get the number of items in a selected Folder ?
  • Next by thread: Re: How to get the number of items in a selected Folder ?
  • Index(es):
    • Date
    • Thread