• 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: Replace slash by underscroe in file name
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Replace slash by underscroe in file name


  • Subject: Re: Replace slash by underscroe in file name
  • From: kai <email@hidden>
  • Date: Thu, 23 Mar 2006 18:38:41 +0000


On 23 Mar 2006, at 17:26, Michelle Steiner wrote:


On Mar 23, 2006, at 6:18 AM, kai wrote:

to switchText of t from s to r

One of the things I've yet to be able to understand is the difference in parameter passing to handlers.


How does the above functionally differ from this:

to switchText (t, s, r)

Essentially, the short answer is that it doesn't really, Michelle. Nevertheless, labelled parameters might sometimes help to put a handler's functionality into some context.


For my attempt at a longer answer:
http://lists.apple.com/archives/applescript-users/2006/Feb/msg00145.html

I suppose an analogy might be if, instead of:
--------------

display dialog "Hello world" default answer "Hello yourself" buttons {"Done", "Continue..."} default button "Continue..." cancel button "Done" with title "Example" with icon note giving up after 3 without hidden answer

--------------

... we could say something like:
--------------

(* Um... don't try this at home, boys and girls *)

display dialog ("Hello world", "Hello yourself", {"Done", "Continue..."}, "Continue...", "Done", "Example", note, 3, false)

--------------

Thank you. I'll take my answer off the air.

I didn't - just in case anyone else was wondering the same thing. ;-)

---
kai


_______________________________________________ Do not post admin requests to the list. They will be ignored. Applescript-users mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
  • Follow-Ups:
    • Re: Replace slash by underscroe in file name
      • From: Michelle Steiner <email@hidden>
References: 
 >Replace slash by underscroe in file name (From: stephan <email@hidden>)
 >Re: Replace slash by underscroe in file name (From: kai <email@hidden>)
 >Re: Replace slash by underscroe in file name (From: Michelle Steiner <email@hidden>)

  • Prev by Date: Re: Replace slash by underscroe in file name
  • Next by Date: CPU load and by id
  • Previous by thread: Re: Replace slash by underscroe in file name
  • Next by thread: Re: Replace slash by underscroe in file name
  • Index(es):
    • Date
    • Thread