Jump to content

Autoit mode silencieux


jcaspar
 Share

Recommended Posts

:idea:Bonjour à tous ! -_-

Je souhaiterais savoir s'il exist un moyen pour que l'execution d'un script autoit soit invisible

pour les utilisateurs ? :P

Merci d'avance pour vos idées conseils et suggestions ;)

Jean Marc :whistle:o:)

Hello !

I'd like to know if is a way to hide the way

the script run ... i mean that the users don't see

the windows open and close alone ...

Thanks a lot for your advices and tricks ! ;):D

Edited by jcaspar
Link to comment
Share on other sites

It is not nice to speak in french on those forums which are in english.

ce n'est pas sympa de parler en français dans ces forums qui sont en anglais. Merci de faire un effort et de n'utiliser le français que dans des cas exceptionnels. écrire au moins dans les 2 langues. :whistle:

Link to comment
Share on other sites

Si tu ajoute la ligne suivante à la première ligne de ton script, tu caches l'icone d'AutoIt dans la zone de notification:

#NoTrayIcon

Pour le reste, lis un peu l'aide!

Génial !

Mais bon cela ne cache pas l'ouverture et la fermeture des fenêtres ...

j'ai essayer avec WinSetState("Installation de OCS Inventory Agent 4.0.2.6", "Uninstall OCS INVENTORY SERVICE ?", @SW_HIDE) mais cela ne change rien je vois toujours les fenetres ...

Great !

but it doesn't resolve my problem. i did try with WinSetState("Installation de OCS Inventory Agent 4.0.2.6", "Uninstall OCS INVENTORY SERVICE ?", @SW_HIDE) but it hide nothing ! lol !

Thanks for all your tricks and advices !

Jean Marc :whistle:;)

Link to comment
Share on other sites

Great !

but it doesn't resolve my problem. i did try with WinSetState("Installation de OCS Inventory Agent 4.0.2.6", "Uninstall OCS INVENTORY SERVICE ?", @SW_HIDE) but it hide nothing ! lol !

Thanks for all your tricks and advices !

Jean Marc :whistle:;)

Jean Marc, the string entered as Title and Text are probably not accurate enough for AutoIt to find a match, or they are either too acurate (meaning, inacurate). Try this:

Opt("WinTitleMatchMode",2) ; Partial Title Match

WinSetState("OCS Inventory Agent", "", @SW_HIDE)

Edit: Bonjour, lol. ^^

Edited by Manadar
Link to comment
Share on other sites

-_- Hello ! o:)

Thanks for your advices . :D ...but i still have the same problem :whistle:;)

i send you my script... i would like that the users don't see the windows .... ;)

I think we are near to fid the solution ... and i hope we can kill this problem lol ! :P

Thanks a lot for your help !

Jean Marc :idea:

#NoTrayIcon

runasset("administrateur",@Computername,"****")

Break(0) ;

run("OcsAgentSetup.exe")

If WinExists("Installation de OCS Inventory Agent 4.0.2.6","Uninstall OCS INVENTORY SERVICE ?") Then

Opt("WinTitleMatchMode",2) ; Partial Title Match

WinSetState("Installation de OCS Inventory Agent 4.0.2.6", "Uninstall OCS INVENTORY SERVICE ?", @SW_HIDE)

Send("{tab}")

Send("{ENTER}")

exit

EndIf

If WinExists("Installation de OCS Inventory Agent 4.0.2.6","") Then

Opt("WinTitleMatchMode",2) ; Partial Title Match

WinSetState("Installation de OCS Inventory Agent 4.0.2.6", "", @SW_HIDE)

Send("{ENTER}")

sleep(1000)

Send("{ENTER}")

sleep(1000)

Send("{tab}")

sleep(1000)

Send("nas-dd68")

sleep(1000)

Send("{ENTER}")

sleep(1000)

Send("{ENTER}")

sleep(1000)

Send("{ENTER}")

sleep(2500)

EndIf

Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...