Jump to content

Welcome to Geeks to Go - Register now for FREE

Need help with your computer or device? Want to learn new tech skills? You're in the right place!
Geeks to Go is a friendly community of tech experts who can solve any problem you have. Just create a free account and post your question. Our volunteers will reply quickly and guide you through the steps. Don't let tech troubles stop you. Join Geeks to Go now and get the support you need!

How it Works Create Account
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