• 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: VB or c++ call in script
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Securely scripting a remote machine (was Re: VB or c++ call in script)
      • From: Sander Tekelenburg <email@hidden>
    • Re: VB or c++ call in script
      • From: Jean-Baptiste LE STANG <email@hidden>
    • Re: VB or c++ call in script
      • From: "John C. Welch" <email@hidden>
    • Re: VB or c++ call in script
      • From: Gnarlodious <email@hidden>
References: 
 >Re: VB or c++ call in script (From: Paul Berkowitz <email@hidden>)

  • Prev by Date: Re: VB or c++ call in script
  • Next by Date: Replicating idle-time ...
  • Previous by thread: Re: VB or c++ call in script
  • Next by thread: Re: VB or c++ call in script
  • Index(es):
    • Date
    • Thread