Sil3nt

Need help with a couple scripts...

4 posts in this topic

#1 ·  Posted

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



#3 ·  Posted

@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

Share this post


Link to post
Share on other sites

#4 ·  Posted

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