Sign in to follow this  
Followers 0
earl82

Progress Bar

7 posts in this topic

Hey does anyone know how to make a progress bar to work with GHOST. This is what i am doing with it. I have made a recovery partition and used Autoit to make a GUI to control it. Now i want to make a progress bar to show the progress of ghost and hide ghost from being seen by the end user. (FYI the reason for hiding ghost is that it is ugly) Any help will be appreciated.

Share this post


Link to post
Share on other sites



You can not really have a progress bar do this, without patching GHOST. However, you could hide the GUI if you know the winhandle.

Then, you use GUISetState($winhandle, @SW_HIDE)


[font="Comic Sans MS"]My code does not have bugs! It just develops random features.[/font]My Projects[list][*]Live Streaming (Not my project, but my edited version)[right]AutoIt Wrappers![/right][/list]Pure randomness[list][*]Small Minds.......................................................................................................[size="1"]Simple progress bar that changes direction at either sides.[/size][*]ChristmasIt AutoIt Christmas Theme..........................................................[size="1"]I WAS BOOOORED![/size][*]DriveToy..............................................................................................................[size="1"]Simple joke script. Trick your friends into thinking their computer drive is haywire![/size][/list]In Development[list][*]Your Background Task Organiser[*]AInstall Second Generation[/list]BEFORE POSTING ON THE FORUMS, TRY THIS:
%programfiles%/AutoIt3/autoit3.chm

Share this post


Link to post
Share on other sites

And if you don't have a handle to the target window, you should be able to create a list of the windows that currently exist, active or inactive, using WinList(). Then you can check things like the title and content to see which one is the correct window.


[font="Verdana"] [size="2"]"[/size][/font]Failure is not an option -- it comes packaged with Windows"[font="Verdana"][size="2"] Gecko Web Browser[/size][/font][font="Verdana"][size="2"], [/size][/font][font="Verdana"][size="2"]Yahtzee![/size][/font][font="Verdana"][size="2"], Toolbar Launcher (like RocketDock)[/size][/font][font="Verdana"][size="2"]Internet Blocker, Simple Calculator, Local Weather, Easy GDI+ GUI [/size][/font][font="Verdana"][size="2"]Triangle Solver, TCP File Transfer, [/size][/font][font="Verdana"][size="2"]Valuater's Autoit Wrappers[/size][/font][font="Verdana"][size="3"][size="2"][size="2"]OOP In AutoIt[/size][/size][/size][/font][font="Verdana"][size="2"][size="1"]Using Windows XP SP3, 1GB RAM, AMD Athlon Processor @ 2.1 GHzCheck me out at gadgets.freehostrocket.com[/size][/size][/font]

Share this post


Link to post
Share on other sites

#4 ·  Posted (edited)

(FYI the reason for hiding ghost is that it is ugly)

So, nobody if forcing you to watch it ... OR: whats wrong with just minimizing the window! Edited by MvGulik

"Straight_and_Crooked_Thinking" : A "classic guide to ferreting out untruths, half-truths, and other distortions of facts in political and social discussions."
"The Secrets of Quantum Physics" : New and excellent 2 part documentary on Quantum Physics by Jim Al-Khalili. (Dec 2014)

"Believing what you know ain't so" ...

Knock Knock ...
 

Share this post


Link to post
Share on other sites

So, nobody if forcing you to watch it ... OR: whats wrong with just minimizing the window!

because most people that use a recovery partition just let it run, and so i was just trying to make it look a little better.

Share this post


Link to post
Share on other sites

#6 ·  Posted (edited)

You can not really have a progress bar do this, without patching GHOST. However, you could hide the GUI if you know the winhandle.

Then, you use GUISetState($winhandle, @SW_HIDE)

so with this idea,(just trying to understand) when using "GUISetState($winhandle, @SW_HIDE)" i will hide the GHOST GUI and show my in its place until GHOST is done? if not is there a way to do that with GUISetState($winhandle, @SW_HIDE).

Edited by earl82

Share this post


Link to post
Share on other sites

#7 ·  Posted (edited)

so with this idea,(just trying to understand) when using "GUISetState($winhandle, @SW_HIDE)" i will hide the GHOST GUI and show my in its place until GHOST is done? if not is there a way to do that with GUISetState($winhandle, @SW_HIDE).

Yes, No, No/Inappropriate_Use.

- GUISetState() is not intended for changing/switching the active focus from one window to a other.

- See help documentation for possible GUISetState() changes. (Help Section: "GUI set parameters, GUISetState.")

- See help section: "Window Management" for commands that are intended to deal with window focus control.

Edited by MvGulik

"Straight_and_Crooked_Thinking" : A "classic guide to ferreting out untruths, half-truths, and other distortions of facts in political and social discussions."
"The Secrets of Quantum Physics" : New and excellent 2 part documentary on Quantum Physics by Jim Al-Khalili. (Dec 2014)

"Believing what you know ain't so" ...

Knock Knock ...
 

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  
Followers 0