Re: VB or c++ call in script
Re: VB or c++ call in script
- Subject: Re: VB or c++ call in script
- From: Johnny AppleScript <email@hidden>
- Date: Sun, 19 Sep 2004 18:38:49 -0600
On 04/09/19 4:38 PM, "Paul Berkowitz" <email@hidden> wrote:
>> Can it? I have been unable to create an SSH tunnel via AS. Is there a method
>> you can share for this?
>
> If there's a way you can do it in the Terminal, then you can do it by
> AppleScript. So if you can share how to do it by a command in the Terminal,
> or a shell script that can be read by a command line in terminal, then it
> should be possible by AppleScript and I could tell you how, probably.
I had guessed you could do it by triggering a shell script, but that's not
as convenient as direct from AS for obvious reasons.
For the fun of it though, how about just a simple login and do one thing
script, just to be sure it can be done purely in AS.
sudo ssh email@hidden <-- login line in terminal
--> returns call for local admin password; this is where AS breaks down
unless you pass calls to an actual window in Terminal.app
[email@hidden's password] <-- now you need to give the password
for the ssh user login
killall Dock <-- if you can get in, you can kill any app by its exact
name
logout <-- always good to logout
If the above were somehow able to work via AS without going into a visual
session in Terminal or writing additional shell scripts, which also require
compiling, that would be awesome.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden