Jump to content
Sign in to follow this  
AntonioGNAL

Press "Start" button in a script

Recommended Posts

Hello everyone,

I'm completely new to AutoIt and i would like to create a script to automatically create a windows print queue going through Start >> Control Panel >> Printers and Faxes ... Add printer, and so on.

The thing is i'm unable to start because i don't know how to send the Press Start Button command in the script.

I thought it might work as:

Send("{START}")

But it doesn't.

I'm sending Key pushes like that and they work fine, but not with the Start (Windows) button.

With the AutoIt info tool i can see the following data for that button:

>>>> Window <<<<

Title: Start

Class: Button

Position: 0, 1003

Size: 66, 46

Style: 0x94000C00

ExStyle: 0x00080088

Handle: 0x000000000001007E

>>>> Control <<<<

Class:

Instance:

ClassnameNN:

Name:

Advanced (Class):

ID:

Text:

Position:

Size:

ControlClick Coords:

Style:

ExStyle:

Handle:

>>>> Mouse <<<<

Position: 34, 1031

Cursor ID: 0

Color: 0xF8DB82

>>>> StatusBar <<<<

>>>> ToolsBar <<<<

>>>> Visible Text <<<<

>>>> Hidden Text <<<<

Can anyone help me?

Thanks a lot.

Share this post


Link to post
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
Sign in to follow this  

×
×
  • Create New...