• 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 apple script - Beginner Problem
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Simple apple script - Beginner Problem


  • Subject: Re: Simple apple script - Beginner Problem
  • From: James Bensley <email@hidden>
  • Date: Thu, 16 Jul 2009 06:26:30 +0100

Hey Mark,

> Value persistence between runs is a feature of properties.  If you
> don't want the values to persist, you can just remove the "property"
> line.  But if you don't want the value to persist, why do you check to
> see if it's empty?  Just prompt for it every time:

Haha, do you ever get that glazed over feeling where you have been
staring at your own work for so long you can't see the mistakes, why
am I check to see if they value is there instead of just prompting for
it every time, doh!

> Also, you set a variable to the AD domain name and then never use it
> (your dscl command just looks under All Domains).

its for the mount command here;
set command to "smb://" & domain_name & ";" & user_name & ":" &
pass_word & "@" & uncPath

Thanks and regards,

James ;)

-----BEGIN GEEK CODE BLOCK-----
  Version: 3.1
GIT/MU/U dpu s: a--> C++>$ U+> L++> B-> P+> E?> W+++>$ N K W++ O M++>$ V-
PS+++ PE++ Y+ PGP t 5 X+ R- tv+ b+> DI D+++ G+ e(+++++) h--(++) r++ z++
------END GEEK CODE BLOCK------
 _______________________________________________
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: 
 >Re: Simple apple script - Beginner Problem (From: Stan Cleveland <email@hidden>)
 >Re: Simple apple script - Beginner Problem (From: Simon Topliss <email@hidden>)
 >Simple apple script - Beginner Problem (From: James Bensley <email@hidden>)
 >Re: Simple apple script - Beginner Problem (From: James Bensley <email@hidden>)
 >Re: Simple apple script - Beginner Problem (From: "Mark J. Reed" <email@hidden>)

  • Prev by Date: Re: 'do shell script' error has me stumped
  • Next by Date: What AppleScript Can Do For Me?
  • Previous by thread: Re: Simple apple script - Beginner Problem
  • Next by thread: Mail: Message Reference Problem
  • Index(es):
    • Date
    • Thread