Programming Forums
User Name Password Register
 

RSS Feed
FORUM INDEX | TODAY'S POSTS | UNANSWERED THREADS | ADVANCED SEARCH

Reply
 
Thread Tools Display Modes
Old Jul 20th, 2005, 1:03 PM   #1
B3TA_SCR1PT3R
Hobbyist Programmer
 
B3TA_SCR1PT3R's Avatar
 
Join Date: Jul 2005
Location: Dallas, Texas
Posts: 101
Rep Power: 0 B3TA_SCR1PT3R is an unknown quantity at this point
Send a message via AIM to B3TA_SCR1PT3R
autoit=shell

ok so i created a prog. that fixes ur internet connection but for it 2 work i have 2 open cmd and do ipconfig /release /renew blah blah yada yada yada is there anyway 2 send the keys while cmd is hidden cuz i tried it and it would enter teh keys but it would keep doing it over and voer

would end up looking like

ipconfig /release ipconfig /release ipconfig /realease????

i did Send("ipconfig /release{ENTER}")

anyhelp?
B3TA_SCR1PT3R is offline   Reply With Quote
Old Jul 20th, 2005, 3:31 PM   #2
Ooble
I eat cake for breakfast.
 
Ooble's Avatar
 
Join Date: Jul 2004
Location: In my box.
Posts: 4,434
Rep Power: 9 Ooble is on a distinguished road
First of all, "2" isn't a word.

The problem is that in AutoScript, I believe {ENTER} sends the character code 0x0A, or "\n" in C-speak. However, in the Windows console, this is a legitimate character - it's 0x0D ("\r") that actually does the work. Perhaps you could just create a batch file and execute it using the AutoScript application?
__________________
Me :: You :: Them
Ooble is offline   Reply With Quote
Old Aug 1st, 2005, 9:50 PM   #3
layer
Hobbyist Programmer
 
Join Date: Feb 2005
Posts: 112
Rep Power: 4 layer is on a distinguished road
Cool hmmm

Hey BETA_SCRIPTER... I see you registered at AutoIt froums. Sorry I haven't been to these forums in a while...

Well, why not just use _RunDos, or Run, or RunWait ?

EDIT: Also, Ooble is right!
layer is offline   Reply With Quote
Reply

Bookmarks

« Previous Thread in Forum | Next Thread in Forum »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump




DaniWeb IT Discussion Community
All times are GMT -5. The time now is 5:54 PM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC