Jump to content
Sil3nt

Need help with a couple scripts...

Recommended Posts

Sil3nt

I know it's bad practice to ask someone else to write stuff but I have no idea when it comes to this kind of stuff... Need a script that'll 1. Automatically minimize any programs/windows upon Win login and or opening. 2. Automatically click 'Ok' when an Ok/Cancel dialog pops up from a certain program.  I'll fill in the parms for which program it'll send the 'Ok' cmd to.

Share this post


Link to post
Share on other sites
KickStarter15

@Sil3nt, So what have you got so far? Lot's of people here in this forum knows how to deal with your problem but it's better if the source code is from you the rest will follow.;)

 

 

KS15


Programming is "To make it so simple that there are obviously no deficiencies" or "To make it so complicated that there are no obvious deficiencies" by C.A.R. Hoare.

Share this post


Link to post
Share on other sites
JLogan3o13
On 4/23/2017 at 10:12 AM, Sil3nt said:

I know it's bad practice to ask someone else to write stuff

Yep, it is

Quote

but I have no idea when it comes to this kind of stuff

There's a help file for that

Quote

Need a script that'll 1. Automatically minimize any programs/windows upon Win login and or opening

Look in the help file for WinSetState, WinList()

Quote

2. Automatically click 'Ok' when an Ok/Cancel dialog pops up from a certain program.  I'll fill in the parms for which program it'll send the 'Ok' cmd to.

Look in the help file for WinExists, WinWait, ControlClick, ControlSend

 

Once you have done a bit of reading, and have some code, feel free to post here and we will do our best to assist


√-1 2^3 ∑ π, and it was delicious!

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

×