Computing.Net > Forums > Programming > creating a script

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

creating a script

Reply to Message Icon

Name: ant1119
Date: December 29, 2008 at 14:55:38 Pacific
OS: vista
CPU/Ram: 2.0 core two 1.5G
Product: Gateway / MT 6840
Comment:

I hope this is the correct forum.

Hi,

I want to create a simple script to visit a certain link once an hour.

Gateway laptop.

Thanks



Sponsored Link
Ads by Google

Response Number 1
Name: reno
Date: December 30, 2008 at 04:28:37 Pacific
Reply:

-edit-


0

Response Number 2
Name: reno
Date: December 30, 2008 at 04:35:10 Pacific
Reply:

use this one.

::sleep.bat USAGE: Sleep [n seconds]
>~sleep.vbs echo WScript.sleep %~1*1000
CScript //NoLogo ~sleep.vbs
start iexplore "www.google.com"


0

Response Number 3
Name: reno
Date: December 30, 2008 at 05:34:31 Pacific
Reply:

actually, to open an url:

start "wwww.google.com" -> working
start "google.com" -> not working

start iexplore "google.com" -> working


0

Response Number 4
Name: ant1119
Date: December 30, 2008 at 08:54:38 Pacific
Reply:

I use FF, was wondering which script to try?


0

Response Number 5
Name: reno
Date: December 30, 2008 at 09:55:29 Pacific
Reply:

type this in command prompt:
start "www.google.com"

does it open up the FF browser and load google.com??

there is 2 options i can think at the moment:
1. the above batch using vbs to pause for certain seconds
2. start->controlpanel->scheduled task (i can't test this out in my pc, something is wrong that i cannot create new schedule task)


0

Related Posts

See More



Response Number 6
Name: Judago
Date: December 31, 2008 at 22:17:16 Pacific
Reply:

As per usual start will open the default program for the content you set it. If the default browser is IE then "start www.google.com" will start in IE, same goes for ff. As above you can specify the program to override the default behaviour by specifying a program, i.e. "start firefox www.google.com".

If you really wanted to be pedantic about the addressing you could always specify "http://www.google.com/index.html".


0

Sponsored Link
Ads by Google
Reply to Message Icon

Batch Syntax Help display on-screen and out...



Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Programming Forum Home


Sponsored links

Ads by Google


Results for: creating a script

I need help creating a script www.computing.net/answers/programming/i-need-help-creating-a-script-/16174.html

how to create a script www.computing.net/answers/programming/how-to-create-a-script-/18762.html

Need help creating a script www.computing.net/answers/programming/need-help-creating-a-script/15619.html