Jump to content

GUICreate doesn't work under Win7


tempo
 Share

Recommended Posts

Hi All,

I'm trying to make my first script work, here is what I have:

GUICreate("Test")
WinActivate("Untitled - Notepad")
Send("8")

When I run it by double clicking the script icon, Notepad window is activated and "8" is printed in it, but GUI window doesn't appear and I don't see any error messages.

Can anyone please tell me what I'm doing wrong?

Thanks!

Link to comment
Share on other sites

  • Developers

Open the Helpfile and look at the example for the GUICreate and you will see that you are missing some code there.

Jos

SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource   Forum etiquette  Forum Rules 
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...