Jump to content

Welcome to Geeks to Go - Register now for FREE

Geeks To Go is a helpful hub, where thousands of volunteer geeks quickly serve friendly answers and support. Check out the forums and get free advice from the experts. Register now to gain access to all of our features, it's FREE and only takes one minute. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, post status updates, manage your profile and so much more.

Create Account How it Works
Photo

executing a .js file on startup?


  • Please log in to reply

#1
ggordie

ggordie

    Member

  • Member
  • PipPip
  • 40 posts
i'm learning javascript, and i want to make a script that will execute on logon and greet me, but i don't know how to make a file execute at startup, or wether i can put a .js file on the startup list.

can .js files be executed on startup in windows xp?
if so, how?
  • 0

Advertisements


#2
Tyger

Tyger

    Member 2k

  • Member
  • PipPipPipPipPip
  • 2,896 posts
If the spyware/adware makers can make a .js file execute on startup, I'm sure you can too! You could make an .html page or popup open and have it link to the .js, for instance.
  • 0

#3
ggordie

ggordie

    Member

  • Topic Starter
  • Member
  • PipPip
  • 40 posts
i actually figured out how to make a .js file execute on startup by putting it in the startup file under 'all programs' (duh). i didnt want to make an html page tho because i dont want a window opening, just the pop-up greeting. now i'm having problems with my coding. it's wanting me to define the object, and i dont know how. i was using the document object and idk if thats even the right one. i'll make a new post under the programs section. thatnks!
  • 0






Similar Topics

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

As Featured On:

Microsoft Yahoo BBC MSN PC Magazine Washington Post HP