SANOGO Posted May 29, 2019 Share Posted May 29, 2019 Hello, I am on a project The goal of the project is to display the status of a ping on a label or on a text box; if the ping passes a green icon displays if the ping passes a red icon appears. Thank you! Link to comment Share on other sites More sharing options...
Moderators JLogan3o13 Posted May 29, 2019 Moderators Share Posted May 29, 2019 Moved to the appropriate forum, as the AutoIt Example Scripts forum very clearly states: Quote Share your cool AutoIt scripts, UDFs and applications with others. Do not post general support questions here, instead use the AutoIt Help and Support forums. Moderation Team "Profanity is the last vestige of the feeble mind. For the man who cannot express himself forcibly through intellect must do so through shock and awe" - Spencer W. Kimball How to get your question answered on this forum! Link to comment Share on other sites More sharing options...
Moderators JLogan3o13 Posted May 29, 2019 Moderators Share Posted May 29, 2019 That's awesome, now is there a question? How about some code? This is not a forum where you put in a request and someone writes the code for you; please show what you have tried on your own and explain where you need assistance. "Profanity is the last vestige of the feeble mind. For the man who cannot express himself forcibly through intellect must do so through shock and awe" - Spencer W. Kimball How to get your question answered on this forum! Link to comment Share on other sites More sharing options...
coffeeturtle Posted May 29, 2019 Share Posted May 29, 2019 29 minutes ago, SANOGO said: Hello, I am on a project The goal of the project is to display the status of a ping on a label or on a text box; if the ping passes a green icon displays if the ping passes a red icon appears. Thank you! This might help...You could start here: https://www.autoitscript.com/autoit3/docs/functions/Ping.htm Link to comment Share on other sites More sharing options...
Developers Jos Posted May 29, 2019 Developers Share Posted May 29, 2019 (edited) @SANOGO, This is the last time I ask you to use the forum standard fonts and stop changing them in your posts, as I have done that now too many times. As you know: I have closed the last thread for a reason, so you better start showing some effort and compliance or else you will be banned from these forums. Everybody else: stay out till I have received a satisfactory answer! Jos EDIT: Sorry guys but I have removed the just posted posts as they would interfere with mine.... hope you understand. Edited May 29, 2019 by Jos FrancescoDiMuro 1 SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
Skeletor Posted May 29, 2019 Share Posted May 29, 2019 I wouldnt use the PING function of autoit. For me didnt provide successful returns... but rather use the Run(@ComSpec & " /c " & 'ping loopback', "", @SW_HIDE) Kind RegardsSkeletor "Coffee: my defense against going postal." Microsoft Office Splash Screen | Basic Notepad Program (Beginner) | Transparent Splash Screen | Full Screen UI Link to comment Share on other sites More sharing options...
SANOGO Posted May 29, 2019 Author Share Posted May 29, 2019 Hello, I am on a project The goal of the project is to display the status of a ping on a label or on a text box; if the ping passes a green icon displays if the ping passes a red icon appears. Thank you! hello! Link to comment Share on other sites More sharing options...
SANOGO Posted May 29, 2019 Author Share Posted May 29, 2019 4 minutes ago, Jos said: @SANOGO , C’est la dernière fois que je vous demande d’utiliser les polices standard du forum et d’arrêter de les modifier dans vos messages, comme je l’ai déjà fait trop souvent. Comme vous le savez: j'ai fermé le dernier fil pour une raison, alors vous feriez mieux de commencer à faire des efforts et à vous mettre en conformité, sinon vous serez banni de ces forums. Tous les autres: restez jusqu'à ce que j'ai reçu une réponse satisfaisante! Jos sorry! sorry, I did not pay attention. Link to comment Share on other sites More sharing options...
SANOGO Posted May 29, 2019 Author Share Posted May 29, 2019 (edited) 51 minutes ago, JLogan3o13 said: C'est génial, y a-t-il une question? Que diriez-vous du code? Ce n'est pas un forum où vous faites une demande et quelqu'un écrit le code pour vous; S'il vous plaît montrer ce que vous avez essayé vous - même et expliquer où vous avez besoin d' aide. $Form1 = GUICreate("SECURIPORT MALI - App: Diagnostic Sysème V1.0", 850, 631, -1, -1) ; formulaire global GUISetOnEvent($GUI_EVENT_CLOSE, "_hkExitApp"); définir un événement de sortie et utiliser un constant pour que les gens ne me crient pas des chiffres magiques GUISetBkColor(0xABABAB) GUICtrlCreateLabel("Hote 1 :", 8, 8, 38, 17) ; label host 1 Global $Hostname1 = GUICtrlCreateInput("Entrez l'adresse IP", 48, 8, 209, 21) ; zone de texte hostname 1 GUICtrlSetBkColor(-1, 0) GUICtrlSetColor(-1, 0x00ff00) ; couleur Edited May 29, 2019 by Jos added codebox Link to comment Share on other sites More sharing options...
Developers Jos Posted May 29, 2019 Developers Share Posted May 29, 2019 (edited) @SANOGO, Ok, but also remember this is an English speaking forum! It is fine you use a translator to translate to/from French, but use the English in your posts so we can understand. An other option might be to go here: https://autoitscript.fr/forum/ AND: Why did you create another topic AGAIN while you had this one going? STOP that! (Merged) Jos (thread is open again) Edited May 29, 2019 by Jos SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
Zedna Posted May 29, 2019 Share Posted May 29, 2019 @SANOGO As far as I know this was solved here on the forum already (how to catch result from console ping inside AutoIt's GUI). So try to search this forum ... Resources UDF ResourcesEx UDF AutoIt Forum Search Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now