• 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: duplicate command
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: duplicate command


  • Subject: Re: duplicate command
  • From: "koenig.yvan" <email@hidden>
  • Date: Fri, 12 Apr 2013 22:29:15 +0200

Le 12/04/2013 à 22:19, Simon Topliss <email@hidden> a écrit :

On 12 Apr 2013, at 18:16, koenig.yvan <email@hidden> wrote:

And I'm interested to learn what would be dangerous with that.

(path to desktop as text) & "get archives AppleScript - stripped.scpt"
display dialog result
set sourcePath to quoted form of POSIX path of result

That's why.


During my numerous years of practice, I have written five (or more) consecutive instructions with no explicit variables but I never prove to be fool enough to do this odd thing.
I use this kind of syntax because from my point of view it's more legible than a long one concatenating the short ones.

Here, I would code :

(path to desktop as text) & "get archives AppleScript - stripped.scpt"
set sourcePath to quoted form of POSIX path of result
display dialog result

Yvan KOENIG (VALLAURIS, France) vendredi 12 avril 2013 22:28:10



 _______________________________________________
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: duplicate command
      • From: Simon Topliss <email@hidden>
References: 
 >Re: duplicate command (From: Robert Cuilla <email@hidden>)
 >Re: duplicate command (From: Luther Fuller <email@hidden>)
 >Re: duplicate command (From: "koenig.yvan" <email@hidden>)
 >Re: duplicate command (From: Luther Fuller <email@hidden>)
 >Re: duplicate command (From: "koenig.yvan" <email@hidden>)
 >Re: duplicate command (From: Simon Topliss <email@hidden>)
 >Re: duplicate command (From: "koenig.yvan" <email@hidden>)
 >Re: duplicate command (From: Simon Topliss <email@hidden>)

  • Prev by Date: Re: duplicate command
  • Next by Date: Re: duplicate command
  • Previous by thread: Re: duplicate command
  • Next by thread: Re: duplicate command
  • Index(es):
    • Date
    • Thread