Re: Need your thoughts
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