|
#1
| |||
| |||
| login with a script
is it possible to get a script to log me in to, say, a telnet session? i had thought that something along the lines of Code: % telnet host < script it seems that i should be able to somehow convince telnet that is this file is actually STDIN. any thoughts? |
|
#2
| |||
| |||
|
AppleScript it thusly (note: this is *NOT* a real script, just a general outline): tell application Terminal _____open document end tell In this context, "document" represents the terminal session. If you use ScriptEditor.app, you should be able to record this script without any trouble. Also, since this message board wouldn't accept a tab or five spaces for the indent in the second line, I inserted underscores; this needs to be a tab in ScriptEditor.app.
__________________ % man woman man: no entry for woman in the manual. •••••••••••••••••••••••••••••••••••• http://www.riddleme.com/html/cow.html |
![]() |
| Bookmarks |
| Thread Tools | |
|
|
| | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| LoginHook Script Problems | emh_alpha1 | Unix & X11 | 4 | August 29th, 2003 08:01 PM |
| Getting a CGI script to work locally on my Mac | simX | Mac OS X System & Mac Software | 11 | July 12th, 2002 01:43 PM |
| login script help | emh_alpha1 | Unix & X11 | 5 | July 4th, 2002 09:49 PM |
| HOW TO STOP SPAM -- join the fight! | GadgetLover | Apple News, Rumors & Discussion | 11 | April 11th, 2002 02:52 PM |
| AppleScript front end to a shell script? | meancode | Mac OS X System & Mac Software | 0 | March 17th, 2002 08:25 PM |