• 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: AppleScript-Users Digest, Vol 8, Issue 106
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: AppleScript-Users Digest, Vol 8, Issue 106


  • Subject: Re: AppleScript-Users Digest, Vol 8, Issue 106
  • From: Jacob NGC <email@hidden>
  • Date: Fri, 25 Feb 2011 14:13:35 -0600
  • Thread-topic: AppleScript-Users Digest, Vol 8, Issue 106

I'm back


On 2/25/11 2:00 PM, "email@hidden"
<email@hidden> wrote:

> Send AppleScript-Users mailing list submissions to
> email@hidden
>
> To subscribe or unsubscribe via the World Wide Web, visit
> http://lists.apple.com/mailman/listinfo/applescript-users
> or, via email, send a message with subject or body 'help' to
> email@hidden
>
> You can reach the person managing the list at
> email@hidden
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of AppleScript-Users digest..."
>
>
> Today's Topics:
>
>    1. script to make script (louie)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Fri, 25 Feb 2011 11:56:57 -0800
> From: louie <email@hidden>
> Subject: script to make script
> To: email@hidden
> Message-ID: <email@hidden>
> Content-Type: text/plain; charset=us-ascii
>
> Hi all,
> with your help I now have a application made from a apple script that creates
> a application that creates a application. When I run the application to create
> a application it works but the apple script editor is started. The new
> application is created. How do I get the apple script editor to close? The
> script is below.
>
> set theName to the text returned of (display dialog "enter the name" default
> answer "")
> --set theName to "\"" & theName & "\""
>
> set theNumber to the text returned of (display dialog "enter the phone number"
> default answer "")
> set theNumber to "\"" & theNumber & "\""
> tell application "AppleScript Editor"
> set theDoc to make new document with properties {contents:"do shell script
> \"echo \\\"off\\\" > ~/.recording\"
> do shell script \"echo " & theName & " > ~/Whistle/lastCalled\"
>
> tell application \"Whistle\"
> activate
> set the clipboard to " & theNumber & " as text
> tell application \"System Events\" to keystroke \"v\" using {command down}
> delay 1
> say \"Press enter to dial\"
> end tell
> "}
> save theDoc as "application bundle" in file ((path to desktop as text) &
> theName & ".app")
> say "The application " & theName & "has been created"
>
> end tell
>
> louie
> email@hidden
>
>
>
>
>
> ------------------------------
>
> _______________________________________________
> AppleScript-Users mailing list
> email@hidden
> http://lists.apple.com/mailman/listinfo/applescript-users
>
> End of AppleScript-Users Digest, Vol 8, Issue 106
> *************************************************


 _______________________________________________
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

  • Prev by Date: script to make script
  • Next by Date: Re: script to make script
  • Previous by thread: Re: script to make script
  • Next by thread: aborting a running script
  • Index(es):
    • Date
    • Thread