Jump to content

potitpanda

Active Members
  • Posts

    103
  • Joined

  • Last visited

Everything posted by potitpanda

  1. how can i get the time on my server and set up automatically on my client ???
  2. Hello I want to get the date / time of my server and put the same on my client which is not in a domain. If the date / time is the same, do nothing. How can I do this using autoit ? Thx
  3. Hi I Want to select a domain as a default domain, but i want to get the list of domains available from local computers and select a default domain by applying some criters of choice ... How can I do it ??? Thx
  4. Hello I want my script do some actions depending on the computer name. Example If @computername begins by S272 do this.... If @computername begins by S274 do this.... etc etc... How can I translate this into AutoIt Language Thanks
  5. Here ???? ! http://www.autoitscript.com/forum/index.ph...l=_blockinputex I will test it tomorrow
  6. 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
  7. Hi Everybody I want to start a program after my disk finish booting, and full loading user profile How to detect when disk activity is finished ? and system fully initialized ? Anyone can give me an example please ? Thanks
  8. 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
  9. Which lot of functions have to include this command ? I Want to hide cursor from all the screen and not only a GUI.
  10. 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
  11. Hi everybody When i get @Ipadress1 i want to verify that ipadress looks like 172.*.*.* How can I do this Anyone can give me example ? thanks Potit panda
  12. That's not OK... I explain I want to delete all the \\Server\Share on my local computer before activities of my script I want to delete all of the Shared resources visible with Net use
  13. Sorry this is the bad section of the forum to post this topic Anyone can delete this topic please ??? Thanks Potitpanda
  14. I want to detect the presence of Shared folders, and delete them before running actions in my script How can i do that Anyone can give me an example ? Thanks
  15. I want to detect the presence of Shared folders, and delete them before running actions in my script How can i do that Anyone can give me an example ? Thanks
  16. 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
  17. 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
  18. How to create multiple connexions to shared folder using Net Use and same login / Password on W2K domain... ? IS there any other issue to create multiple connexion ?
  19. Is not working... How can I get All process Name and All Process PIDS on a single GUI window.... Thanks
  20. 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.
×
×
  • Create New...