Jump to content
Sign in to follow this  

Hide autoit open flash in cd

Recommended Posts

Good Day,

i´m glad to work with autoit, now i'm working on a project that demands open files within a folder on cd, now I have code that works, but I want to hide the autoit launcher or running it in background



MULTIMEDIAINTRO\FSCOMMAND\1-home.exe <- this is the autoit program :unsure:


ShellExecute(@ScriptDir & "\multimedias\1-Delinquir-no-paga\home.exe","","","")

many thanks for your help

Share this post

Link to post
Share on other sites

You can do it with GUISetState(@SW_Hide) and GUISetState(@SW_SHOW) but without seeing your home.au3 code or at least part of it I can't tell you where you will have to place the lines. The @SW_Hide will probably be right ahead of the ShellExecute() line.


Question about decompiling code? Read the decompiling FAQ and don't bother posting the question in the forums.

Be sure to read and follow the forum rules. -AKA the AutoIt Reading and Comprehension Skills test.***

The PCRE (Regular Expression) ToolKit for AutoIT - (Updated Oct 20, 2011 ver: - Please update your current version before filing any bug reports. The installer now includes both 32 and 64 bit versions. No change in version number.

Visit my Blog .. currently not active but it will soon be resplendent with news and views. Also please remove any links you may have to my website. it is soon to be closed and replaced with something else.

"Old age and treachery will always overcome youth and skill!"

Share this post

Link to post
Share on other sites

Are you trying to disguise the tray icon, or the program opening? Have you tried using the @SW_Hide parameter when running the program?

If I posted any code, assume that code was written using the latest release version unless stated otherwise. Also, if it doesn't work on XP I can't help with that because I don't have access to XP, and I'm not going to.
Give a programmer the correct code and he can do his work for a day. Teach a programmer to debug and he can do his work for a lifetime - by Chirag Gude
How to ask questions the smart way!

I hereby grant any person the right to use any code I post, that I am the original author of, on the autoitscript.com forums, unless I've specifically stated otherwise in the code or the thread post. If you do use my code all I ask, as a courtesy, is to make note of where you got it from.

Back up and restore Windows user files _Array.au3 - Modified array functions that include support for 2D arrays.  -  ColorChooser - An add-on for SciTE that pops up a color dialog so you can select and paste a color code into a script.  -  Customizable Splashscreen GUI w/Progress Bar - Create a custom "splash screen" GUI with a progress bar and custom label.  -  _FileGetProperty - Retrieve the properties of a file  -  SciTE Toolbar - A toolbar demo for use with the SciTE editor  -  GUIRegisterMsg demo - Demo script to show how to use the Windows messages to interact with controls and your GUI.  -   Latin Square password generator

Share this post

Link to post
Share on other sites

Many Thanks for your help, let me explain,

when u start the main multimedia cd, there is a main directory of other multimedia applications into folders, so there is how it works

1. open main multimedia main.exe

2. then is a screen with 10 sub - multimedia links, each of one is in subfolder

3. i´m use autoit to open from exe the sub - multimedias, because flash not support subfolders and path to open directly

4. but:

when i´m open the autoit exe for example \FSCOMMAND\1-home.exe a litte screen appears mean while open the multimedia located into \FSCOMMAND\multimedias\1-Delinquir-no-paga\home.exe

that´s the reason i need hide this window. because see ugly and in the project manager don´t like see it.

Many many thanks for ur suggestions i´m try with all support code and later tell my history.

Share this post

Link to post
Share on other sites

Many thanks with GUISetState(@SW_Hide) works perfectly.

sleepydvdr, is the screen from autoit exe file that open the another exe.. :unsure:..

main cd multimedia -> {list of submultimedia in links screen} -> {autoit exe file opener} (this is the screen, but it show for less an a second.) -> {subfolder/ other multimedia }

Share this post

Link to post
Share on other sites

Another thing,

the script works, but somethimes when new flash multimedia opens the second exe not appears on front

ShellExecute(@ScriptDir & "\multimedias\1_gobierno_en_linea\template.exe","","","")

any body could help me?

in the attachment i got 2 screenshot, the second one is that i find get my work finish.



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  

  • Recently Browsing   0 members

    No registered users viewing this page.

  • Create New...