
potitpanda
Active Members-
Posts
103 -
Joined
-
Last visited
Everything posted by potitpanda
-
do something when computername begins by ....
potitpanda replied to potitpanda's topic in AutoIt General Help and Support
thanks -
How To add Exceptions on Block Input
potitpanda replied to potitpanda's topic in AutoIt General Help and Support
Here ???? ! http://www.autoitscript.com/forum/index.ph...l=_blockinputex I will test it tomorrow -
HI everybody I want to use similar function like blockInput(0) or (1) But I want to make an exception with a hotkey, in order to when i press only the key specified as a hotkey, the block input = 0 Schema : When I press F10 on my computer the imputs were blocked, excepted only the hotkey i specify. the screen shutdown and the mouse move / clicks are disabled. When I Press the hotkey, Power on the screen and unlock Input and mouse move / click I have the shutdown / power up screen routine ... But i want to block all input on keyboard, except a combination of keys... and Mouse clicks / moves How can I do this Many Thanks for replies Potit Panda
-
Hi Everybody I have a problem using of the function FileCreateShortcut : CODE : FileCreateShortcut("c:\Script\ODP1P5.exe OKpreconf", @DesktopDir & "\Configuration terminée.lnk","C:\Script\") I create the shortcut OK I am obliged to modify it to remove quotation marks" with right click / properties so that the shortcut works. That have to I make so that the shortcut works straight off on the Windows desktop. Thank you for your answers. Potit Panda
-
How to Hide mouse cursor
potitpanda replied to potitpanda's topic in AutoIt General Help and Support
Which lot of functions have to include this command ? I Want to hide cursor from all the screen and not only a GUI. -
Hello everybody I want to hide mouse cursor in my script because, it run silently an application that cannot be stopped. How can I hide the Arrow cursor of the mouse ? Thanks
-
Need help to update code of a GUI
potitpanda replied to potitpanda's topic in AutoIt GUI Help and Support
Thanks Sorry -
I have updated my AutoIt to Version 3.2.12.0 This code seems not working after the update CODE : Func ValideChemin() $popup = GUICreate("Confirmation du chemin de l'image", 432, 227, -1, -1, BitOR($WS_CAPTION,$WS_POPUP,$WS_BORDER,$WS_CLIPSIBLINGS), BitOR($WS_EX_TOPMOST,$WS_EX_WINDOWEDGE)) $lbl_edit = GUICtrlCreateEdit("", 10, 34, 410, 80, BitOR($ES_AUTOVSCROLL,$ES_AUTOHSCROLL,$ES_READONLY,$ES_WANTRETURN,$WS_HSCROLL,$WS_VSCROLL)) $chemin = IniRead(@ScriptDir & "\autopcasto13.ini", "AutoPCastO13", "chemin", "") GUICtrlSetData($lbl_edit, $chemin) GUICtrlSetFont(-1, 10, 800, 0, "MS Sans Serif") $Button_1 = GUICtrlCreateButton("Redéfinir...", 116, 172, 76, 36, 0) $Button_2 = GUICtrlCreateButton("Continuer", 244, 172, 76, 36, 0) $Label1 = GUICtrlCreateLabel("Le chemin de l'image a utiliser pour le déploiement est le suivant : ", 8, 8, 313, 17) $Label2 = GUICtrlCreateLabel("Cliquez sur Redéfinir pour choisir une nouvelle image.", 96, 136, 252, 17) GUISetState(@SW_SHOW) While 1 $nMsg = GUIGetMsg() Switch $nMsg Case $Button_1 GUISetState(@SW_HIDE) ChoixChemin() $chemin = IniRead(@ScriptDir & "\autopcasto13.ini", "AutoPCastO13", "chemin", "") GUISetState(@SW_SHOW) GUICtrlSetData($lbl_edit, $chemin) Case $Button_2 GUIDelete($popup) MsgBox(0, "Attention", "Votre ordinateur va maintenant travailler tout seul, veuillez attendre le message de fin avant d'utiliser votre ordinateur (2 minutes maxi).", 10); $Netuseclose="Net Use /delete \\" &$s2_ip & "\E$" Run ($netuseclose,"",@SW_HIDE) AutoConfigTSE() EndSwitch Wend EndFunc I have tried to update with Koda Form Designer 1.7.0.5, but the code Given by koda uses other method (OnEvent Mode) How can i Update this code with this functionnal structure Thanks I want to try to update code without Using OnEvent Mode This Not work (possibly due to a bug issue in koda 1.7.0.5) and the title bar vanishes ! Thanks for all replies PotitPanda
-
Hi I have this code and it's still not working on V3.2.12.0 Why CODE : #include <Constants.au3> ;Récupere le nom et l'IP du S1 $process_id = Run(@ComSpec & " /c nslookup.exe 127.0.0.1 ","", @SW_HIDE,$STDOUT_CHILD) $line = StdoutRead($process_id) if StringLen($line)>11 then $myarray = StringRegExp(StringLower($line),".*(w-013[0-9]{4}[a-z]-).*", 1) if (StringLen($myarray[0]) >10) then $S1_name=$myarray[0]&"1" ; Msgbox (0,"test",$s1_name) EndIf endif $process_id = Run(@ComSpec & " /c nslookup.exe "& $s1_name ,"", @SW_HIDE,$STDOUT_CHILD) $line = StdoutRead($process_id) if StringLen($line)>11 then $myarray = StringRegExp(StringLower($line),"172.*.*.162",1) if (StringLen($myarray[0]) >5) then $S1_ip=$myarray[0] ;Msgbox (0,"test",$s1_ip) EndIf endif With AU V3.2.10.0 this code works Thanks for the replies PotitPanda
-
I have added my application in "Add remove" tab of Windows Before remove IT, I Want to check if an instance is running and close the running instance before removing regkeys and autokill script. I Launch My app while "MyApp /uninstall" Normally my App is launched in HKLM\Software\Microsoft\Windows\CurrentVersion\Run "myapp.exe" Myapp and Myapp /uninstall is the same application with command line in order to uninstall it Thanks for replies.