• 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: Simple AS question (BBEdit)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Simple AS question (BBEdit)


  • Subject: Re: Simple AS question (BBEdit)
  • From: Michelle Steiner <email@hidden>
  • Date: Thu, 5 Feb 2009 12:35:06 -0700

On Feb 5, 2009, at 12:20 PM, Chris Goedde wrote:

set thePath to (path to desktop as string)
set theOffset to offset of "Desktop" in thePath
set thePath to (text 1 through (theOffset - 1) of thePath)
set thePath to thePath & "Documents:Work:Professional:STEP:Web Site:Development:"

Why go through that rigamarole?

set thePath to path to home folder as text & "Documents:Work:Professional:STEP:Web Site:Development:"

I realize that this doesn't address your original question, but I'm offering it as a suggestion to simplify the overall script.

-- Michelle

--
Tubal Litigation: Suing because of a misconception

_______________________________________________
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
  • Follow-Ups:
    • Re: Simple AS question (BBEdit)
      • From: Chris Goedde <email@hidden>
References: 
 >Simple AS question (BBEdit) (From: Chris Goedde <email@hidden>)
 >Re: Simple AS question (BBEdit) (From: "Mark J. Reed" <email@hidden>)
 >Re: Simple AS question (BBEdit) (From: Eric Taylor <email@hidden>)
 >Re: Simple AS question (BBEdit) (From: Chris Goedde <email@hidden>)

  • Prev by Date: Re: Finding and shelling out to a sh script in the same
  • Next by Date: Re: Simple AS question (BBEdit)
  • Previous by thread: Re: Simple AS question (BBEdit)
  • Next by thread: Re: Simple AS question (BBEdit)
  • Index(es):
    • Date
    • Thread