• 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: Need your thoughts
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Need your thoughts


  • Subject: Re: Need your thoughts
  • From: Cameron Knowlton <email@hidden>
  • Date: Thu, 24 Feb 2011 09:39:54 -0800

I had no idea that you could use a script to write a script... very cool.

Cam

>I've found the same to be true when using 'store script', which saves
>having to go through AppleScript Editor:
>
>  on makeApplet(theName, theNumber)
>    script o
>      property callee : theName
>      property tel : theNumber
>
>      -- Your code here. This is just a demo.
>      display dialog callee & return & tel
>    end script
>
>    store script o in file ((path to desktop as text) & theName & ".app")
>  end makeApplet
>
>  set theName to the text returned of (display dialog "enter the name"
>default answer "")
>  set theNumber to the text returned of (display dialog "enter the phone
>number" default answer "")
>  -- you might want to perform error checking for the phone number to
>make sure it's numeric and has the right number of digits
>
>  makeApplet(theName, theNumber)
>
>NG
>

--
Cameron Knowlton
KnowledgeVine SEO Dashboards
email@hidden
P: 250.382.0226
http://www.knowledgevine.net
 _______________________________________________
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: Need your thoughts (From: Nigel Garvey <email@hidden>)

  • Prev by Date: Re: apply the same property to a number of items
  • Next by Date: Re: A problem
  • Previous by thread: Re: Need your thoughts
  • Next by thread: I got your thoughts
  • Index(es):
    • Date
    • Thread