PcExpert Posted February 9, 2008 Posted February 9, 2008 Hi all, How to generate random characters? Numbers can be done with random() , but how to do it with characters (A-Z) ? Thanks!
martin Posted February 9, 2008 Posted February 9, 2008 PcExpert said: Hi all, How to generate random characters? Numbers can be done with random() , but how to do it with characters (A-Z) ? Thanks! $Random_Char = Chr(Random(Asc('A'), Asc('Z'),1)) Serial port communications UDF Includes functions for binary transmission and reception.printing UDF Useful for graphs, forms, labels, reports etc.Add User Call Tips to SciTE for functions in UDFs not included with AutoIt and for your own scripts.Functions with parameters in OnEvent mode and for Hot Keys One function replaces GuiSetOnEvent, GuiCtrlSetOnEvent and HotKeySet.UDF IsConnected2 for notification of status of connected state of many urls or IPs, without slowing the script.
Zedna Posted February 9, 2008 Posted February 9, 2008 $n = 65; Random Chr($n) Resources UDF ResourcesEx UDF AutoIt Forum Search
PcExpert Posted February 9, 2008 Author Posted February 9, 2008 (edited) Thanks Martin an Zedna! Edited February 9, 2008 by PcExpert
DexterMorgan Posted February 9, 2008 Posted February 9, 2008 How do I use the random # thing in a msgbox?? Thank you In advance code
BigDod Posted February 9, 2008 Posted February 9, 2008 Nooblet said: How do I use the random # thing in a msgbox?? Thank you In advanceMsgBox(0,"Your random no is",Random(1,999,1)) Time you enjoyed wasting is not wasted time ......T.S. Elliot Suspense is worse than disappointment................Robert Burns God help the man who won't help himself, because no-one else will...........My Grandmother
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