Jump to content
Sign in to follow this  
sithz

Full screen minimizes

Recommended Posts

sithz

Hello.

I downloaded Autoit today, to have one simple function where it sends the keys, C and P to a full screen application.

My problem is that when the autoit script .exe is run, the full screen app. get's minimized.

It works very good if i run the app. in window mode, but not when in full screen.

The code I put in is just 1 line: Send, CP

The scipt is compiled to an .exe file and triggered my another application.

But as I said, as soon as the .exe starts (when the A icon shows in tray (can that icon be removed btw?)) my full screen app minimizes.

Can anyone help me with my problem? :)

Thank you

Share this post


Link to post
Share on other sites
martin

Hello.

I downloaded Autoit today, to have one simple function where it sends the keys, C and P to a full screen application.

My problem is that when the autoit script .exe is run, the full screen app. get's minimized.

It works very good if i run the app. in window mode, but not when in full screen.

The code I put in is just 1 line: Send, CP

The scipt is compiled to an .exe file and triggered my another application.

But as I said, as soon as the .exe starts (when the A icon shows in tray (can that icon be removed btw?)) my full screen app minimizes.

Can anyone help me with my problem? :)

Thank you

Welcome to these forums :P

If the line is like you show then it won't work. You need Send("CP").

The tray icon cannot be completely prevented easily. Look up AuotItSetOption and the parameter TrayIconHide.

You could use your script to restore the application perhaps with WinActivate.


Serial port communications UDF Includes functions for binary transmission and reception.printing UDF Useful for graphs, forms, labels, reports etc.Add User Call Tips to SciTE for functions in UDFs not included with AutoIt and for your own scripts.Functions with parameters in OnEvent mode and for Hot Keys One function replaces GuiSetOnEvent, GuiCtrlSetOnEvent and HotKeySet.UDF IsConnected2 for notification of status of connected state of many urls or IPs, without slowing the script.

Share this post


Link to post
Share on other sites
sithz

Welcome to these forums :)

If the line is like you show then it won't work. You need Send("CP").

The tray icon cannot be completely prevented easily. Look up AuotItSetOption and the parameter TrayIconHide.

You could use your script to restore the application perhaps with WinActivate.

Thank you.

But now you confuse me :blink:

I do only have

Send, CP

and this is working without problems, actually Send("CP") as you wrote, gives me an error.

So it's not the sending of keys that is the problem, but that my full screen application minimizes when the script runs.

It's not possible to use the WinActivate, cause that will still make it minimize and that can not happen :P

But thank you for answering and if you have any other ideas, write away.

Thank you

Edited by sithz

Share this post


Link to post
Share on other sites
Siao

Heh, the guy is using AutoIt v2...


"be smart, drink your wine"

Share this post


Link to post
Share on other sites
sithz

Heh, the guy is using AutoIt v2...

Aha :P Well now I'm running version 3 and the minimize problem is gone :):)

(still very sure I download version 3 earlier today, so dont know how version 2 got installed :blink:)

Thanks guys!

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  

×