• 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: Creating a shell script with AppleScript, and line endings
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Creating a shell script with AppleScript, and line endings


  • Subject: Re: Creating a shell script with AppleScript, and line endings
  • From: plumber <email@hidden>
  • Date: Mon, 14 Jul 2003 20:20:02 +0200

osascript << END
tell app "Terminal" to do script "cd \"`pwd`\" \nsudo echo bn"
END

side shell
or

side script


tell app "Terminal" to do script "cd \"`pwd`\" \n echo houhou1\necho
houhou2"

Regards Plumber

[demime 0.98b removed an attachment of type image/jpeg which had a name of phpmac.jpg]
_______________________________________________
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.

References: 
 >Re: Creating a shell script with AppleScript, and line endings (From: Rob Morton <email@hidden>)

  • Prev by Date: Re: Creating a shell script with AppleScript, and line endings
  • Next by Date: Re: Creating a shell script with AppleScript, and line endings
  • Previous by thread: Re: Creating a shell script with AppleScript, and line endings
  • Next by thread: Re: Creating a shell script with AppleScript, and line endings
  • Index(es):
    • Date
    • Thread