Jump to content

ss18

Members
  • Posts

    11
  • Joined

  • Last visited

Everything posted by ss18

  1. got it, and i had to put ENTER on it's own line!
  2. while i'm reading more if anyone has any other help. the $wintitle works perfect, but it won't pass the $server IP, it just shows up at "$server". $server = "192.168.200.1" $host = "127.0.0.1" $wintitle = "Telnet 127.0.0.1" Run ("telnet.exe " & $host) ControlSend ("$wintitle", "", "", "enable{ENTER}") ControlSend ("$wintitle", "", "", "$server {ENTER}")
  3. yeah, i'm trying to read through it, making some progress on my own, but also hitting a few issues! thanks for the help!
  4. can you use variables with ControlSend? like $host = "127.0.0.1" $wintitle = "Telnet 127.0.0.1" Run ("telnet.exe " & $host) ControlSend ("$wintitle", "", "", "enable{ENTER}")
  5. thanks! i knew it had to be something simple
  6. trying to add a variable to my script, and having no luck. the telnet window opens and say's it's trying to connect to $host, and not the IP address. when i replace the $host with the IP it works fine. Unless i'm defining it wrong, but it looked correct based on the example! $host = "127.0.0.1" Run ("telnet.exe $host")
  7. it's retarded cause i have the same script written without the ControlSend's, but when i typed the ENTER command i just messed up!! thanks again for your help!!!
  8. that fixed it, i had the ( and not the { for the enter... i knew it would be something simple!!!
  9. of the open telnet window? >>>> Window <<<< Title: Telnet 127.0.0.1 Class: ConsoleWindowClass Position: 64, 162 Size: 677, 342 Style: 0x14EF0000 ExStyle: 0x00040310 Handle: 0x00560BD0 >>>> Control <<<< Class: Instance: ClassnameNN: Name: Advanced (Class): ID: Text: Position: Size: ControlClick Coords: Style: ExStyle: Handle: >>>> Mouse <<<< Position: 298, 303 Cursor ID: 0 Color: 0x000000 >>>> StatusBar <<<< >>>> ToolsBar <<<< >>>> Visible Text <<<< >>>> Hidden Text <<<<
  10. I've searched a lot and can't seem to find what i am doing wrong (i'm sure it's simple). Just to get a grasp on what i'm doing and make my scripts better i want to make sure the window is in focus so it doesn't spew the commands to another window (which happens sometimes). So i'm just testing local for now. Al i am trying to do is open a telnet window, run the command "get". the window opens, the title is correct, but nothing happens, it's gotta be sometime simple! Run ( 'telnet.exe 127.0.0.1 80' ) Sleep ( 300 ) WinWaitActive ("Telnet 127.0.0.1") ControlSend ("Telnet 127.0.0.1", "", "get", "get(ENTER)")
  11. Does this script (or the ie.au3) work with IE7? i keep getting errors with T-mobile
×
×
  • Create New...