• 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: read a file - Lion vrs Tiger
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: read a file - Lion vrs Tiger


  • Subject: Re: read a file - Lion vrs Tiger
  • From: Jim Brandt <email@hidden>
  • Date: Wed, 26 Sep 2012 18:09:06 -0500

No, sorry to say. I got this machine on 13-Sep @ 7pm. (60th birthday present). I didn't even install it until the 15th. (No firewire 800 cable, no way to address old machine in target mode [main boot disk was NOT attached to motherboard and therefore not seeable in target mode] etc.) It took some 12 hours of copying over ethernet to even get files to the new machine. Then began the fun of making everything work.

I started about a year ago using Luther Fuller's suggestion of .plist files as an easy way to store and retrieve stuff (I have a MacBook that I try to keep up-to-date so I can use my scripts on it also, in a pinch. Thus, it has different locations for some of the places I download/store/update files/scripts, etc.). I even have to address scripts differently on the two machines because I'm running different OS's and responses are sometimes different. Safari is my biggest culprit, as GUI responses are different across versions.

My primary file locations are now stored in a .plist file in my user preferences folder of each machine I use to address differing script (and other) folder locations so I can migrate scripts from one machine to another by editing only one major file. This propagated extensively with this machine migration. (i.e. I'm lazy, so I had to start almost from scratch for a LOT of scripts, fixing each as I went). I estimate I've edited some 250 scripts in the last week alone just to add the adjustment from hard-coded locations to reading them from a .plist file. Consequently, almost every script I use has been opened, looked at, and in most cases, improved, just because my script programming style has changed/improved since that script was written.

I will be going back through the digests to catch up on my reading once I've got most of my personal scripting issues "caught up". I'll look back through the last 10 days of messages, though. Thanks for the heads up.

BTW, I made the changes you suggested. It changed by about a second on the Mac Mini. Still takes 24-26 seconds to read and "process" the 69 files vrs 5 seconds under Tiger (yes, it was a typo.   ;>)


Jim Brandt

On 26-Sep-2012, at 3:47 PM, Christopher Stone wrote:

Did you see the script I posted a few days ago to create machine-relative path strings to files/folders?

I finally started writing references like this:

  alias ("" & (path to scripts folder) & "Applications:Finder:Select Files.scpt")

Due to the annoyances of moving machines, upgrades, and changing user accounts.


 _______________________________________________
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: 
 >read a file - Lion vrs Tiger (From: Jim Brandt <email@hidden>)
 >Re: read a file - Lion vrs Tiger (From: Jim Brandt <email@hidden>)

  • Prev by Date: Re: read a file - Lion vrs Tiger
  • Next by Date: Re: read a file - Lion vrs Tiger
  • Previous by thread: Re: read a file - Lion vrs Tiger
  • Next by thread: Re: read a file - Lion vrs Tiger
  • Index(es):
    • Date
    • Thread