I'm trying to automate running scripts at night but I don't know how to change the default internet explorer download directory. Is there a way I can do this from the command line? I tried the following and it didn't work:
REGFIND -b \HKEY_CURRENT_USER\Software\Microsoft\Internet...
There are a large group of files contained in the site. I actually include the file name in the internet thread so the "Save As" dialog box pops up as soon as the password is entered. I'll just have to find another way.
Thanks,
Volkmaniac
I'll ask our systems admin about the registry values. I tried using sendkeystr but it will not work. I also tried using the TAB key but the only thing that works is using the mouse to change the paths. It's still much easier than typing in the address, locating and downloading the file but I...
I'm running the script in Telnet, but I'm actually downloading the file from a website through Windows. In other words, I'm using ProComm to login to the website, choose the file, then then downloading (or saving) it to my hard drive. I'm having the script type in the actual web address (with...
Is there a way I can specify the path I save a file to if I download the file from an internet site? For instance, if you download a program off the internet you'll get the "Save As" prompt and it will usually default to the last directory that you saved a file. Is there a way you can change the...
Does this have to happen at a specific time? If you want to pause something I know that mspause will pause something in millisecond time frames.
proc main
integer Count = 0 ; Integer used for counting.
while (Count++) < 3 ; Loop 3 times.
transmit "^M" ...
Thank You. The only problem is that it is placing a tab on every single space in the line, and some of the numbers are multiple spaces apart. Is there anyway it can only insert one tab on the first instance of a space?
I took a script off http://www.aspectscripting.com that inserts a tab delimit at the end of every line:
proc main
string sLine, sTemp1, sTemp2, sTemp3
fopen 0 "C:\XXX_031204.txt" READ TEXT
while not feof 0
fgets 0 sLine
strtok sTemp1 sLine "`t" 1
strtok sTemp2 sLine "`t" 1
strtok sTemp3 sLine...
Yes,
I ended up using a for loop.
while 1
dlgevent 0 Event
switch Event
case 0
endcase
case 141
disable DLGCTRL 0 141
capture on
winminimize $PWMAINWIN
for Loops = 0 upto...
I'm trying to run a script that calculates the current date, loops through, and then decrements the date by one month on every pass. I think I'm having a problem with one of the two loops because the statmsg will show that the month is decreasing but my strings sDate and sDate2 are not changing...
I was able to grab a number off the terminal screen and place it into Excel using the following:
proc main
set aspect rgetchar 13
transmit "GET-LIST JV_TODAY^M"
rget sLine
set aspect rgetchar 32 STRIP
rget sLinea
strreplace sLinea "`r" ""
strreplace sLinea "`n" ""
strtonum sLinea Number...
Knob,
I don't have asptime.dll. Why doesn't this work? Is there a way I can convert the value stored in sMonth to become the value in iMonth?
ltimeints $LTIME iYear iMonth iDay iHour iMin iSec
sdlginput "Enter the number of the month" "Number of the Month: " sMonth
strtonum sMonth iMonth...
Hello,
I borrowed a date script taken off of www.aspectscripting.com. This is a great script for date handling. I currently have the script grabbing everything from the previous month (02/01/04 to 02/29/04). I'd like the user to enter whichever month they'd like to run. Is there a way I can...
Knob,
I took some portions from the monitor script, which is a great script, and I just successfully poked one number into Excel. I finally realized that I needed to declare the string that I grab off the terminal as a global variable.
Thanks.
Has anyone successfully written a script that grabs information off the terminal screen and places it into an Excel spreadsheet? I'd like to use rget to save numbers into strings and then I'd like to poke those numbers into Excel. Most of the examples I've seen have been from a text file to...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.