KennethWalle

Refresh script on startup?

7 posts in this topic

Hi, i would like to make my program auto refresh when i start it, any ideas how?

-KW

Share this post


Link to post
Share on other sites



You need to give more detail about that, especially what you mean by Refresh.

Usually refresh is something you might do after a program has been running a while.


AutoIt.4.Life Clubrooms - Life is like a Donut (secret key)

Make sure brain is in gear before opening mouth!
Remember, what is not said, can be just as important as what is said.

Spoiler

What is the Secret Key? Life is like a Donut

If I put effort into communication, I expect you to read properly & fully, or just not comment.
Ignoring those who try to divert conversation with irrelevancies.
If I'm intent on insulting you or being rude, I will be obvious, not ambiguous about it.
I'm only big and bad, to those who have an over-active imagination.

I may have the Artistic Liesense ;) to disagree with you. TheSaint's Toolbox (be advised many downloads are not working due to ISP screwup with my storage)

userbar.png

Share this post


Link to post
Share on other sites

You need to give more detail about that, especially what you mean by Refresh.

Usually refresh is something you might do after a program has been running a while.

 

Thanks for reply.

I would like my program to refresh or minimize then "pop up" right after it launches. The reason for this is, my labels arent invisible, they are white boxes, but if i refresh my script, they will be invisible.

Hope that make sence.

Share this post


Link to post
Share on other sites

if you are talking about a GUI you have created, maybe you could use...

https://www.autoitscript.com/autoit3/docs/libfunctions/_WinAPI_RedrawWindow.htm

:alien:


if @error Then
	MsgBox(262192,"",@ComputerName&" slaps "&@UserName&" around a bit with a large trout!")
	EndIf

>Exit code: 0

REAL search results

"Yeah yeah yeah, patience. How long will that take?"  -Ed Gruberman

Share this post


Link to post
Share on other sites

A title for this topic, like - Refresh GUI after startup, would have been more illuminating.

Some basic code to illustrate your issue, as well as a full description, helps a lot too, so that we know exactly where to suggest tweaks and not have to craft an entire chunk of code ourselves, which might be harder for you to understand or be a misinterpretation on our part.

All part of helping us to help you.


AutoIt.4.Life Clubrooms - Life is like a Donut (secret key)

Make sure brain is in gear before opening mouth!
Remember, what is not said, can be just as important as what is said.

Spoiler

What is the Secret Key? Life is like a Donut

If I put effort into communication, I expect you to read properly & fully, or just not comment.
Ignoring those who try to divert conversation with irrelevancies.
If I'm intent on insulting you or being rude, I will be obvious, not ambiguous about it.
I'm only big and bad, to those who have an over-active imagination.

I may have the Artistic Liesense ;) to disagree with you. TheSaint's Toolbox (be advised many downloads are not working due to ISP screwup with my storage)

userbar.png

Share this post


Link to post
Share on other sites

TheSaint

Yes i guess that would have been a better title.

The issue was that my labels werent hidden on startup, after help from "M23" i figured out my problem.

I dont need to refresh gui on startup anymore.

-KW

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