• 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
Scripting Style (was: Re: Hiding Slaves)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Scripting Style (was: Re: Hiding Slaves)


  • Subject: Scripting Style (was: Re: Hiding Slaves)
  • From: Ken Scott <email@hidden>
  • Date: Fri, 13 Sep 2002 21:13:52 -0600

on 9/11/02 9:17 AM, John Delacour at email@hidden wrote:

> set the hidFolder to alias ("" & (path to scripts folder) & ".hid")
> -- alias "dx2:Users:jd:Library:Scripts:.hid:"
>

Hi John,

I have a question about the script snippet that you posted above. Why do you
prepend the empty string to the (path to scripts folder)? Does this force an
alias to become a string, or something like that? Is this more efficient
than saying (path to scripts folder) as string?

I'm a new scripter, and learning by example.

Thanks,
Ken

--
<>< Ken Scott email@hidden http://www.pcisys.net/~kscott

This is the day that the Lord has made;
Let us rejoice and be glad in it -- Psalm 118:24
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: Scripting Style (was: Re: Hiding Slaves)
      • From: Paul Berkowitz <email@hidden>
References: 
 >Hiding Slaves (From: John Delacour <email@hidden>)

  • Prev by Date: Re: Error resolving references
  • Next by Date: Re: Scripting Style (was: Re: Hiding Slaves)
  • Previous by thread: Hiding Slaves
  • Next by thread: Re: Scripting Style (was: Re: Hiding Slaves)
  • Index(es):
    • Date
    • Thread