Vicks Posted September 3, 2006 Share Posted September 3, 2006 Hello, I am wondering how could I make a script to retrieve all of my firends names on msn for example, *like this* vicks *Not like this* vicks@hotmail.com I only would like it to get there display name not there actually email address. ok i was also wondering if this is possable $Window = IniRead("Friends list.ini", "Friends", "1", "NotFound") IniRead("Friends list.ini", "Friends", "2", "NotFound") IniRead("Friends list.ini", "Friends", "3", "NotFound") i want $Window to read all of the inireads is this possable i hope so [s]Autoit[/s] Link to comment Share on other sites More sharing options...
Confuzzled Posted September 4, 2006 Share Posted September 4, 2006 Why Iniread? Why not just read the file sequentially and get whatever you need out from it? Try stringsplit in the help file to break up the user name. Link to comment Share on other sites More sharing options...
Moderators SmOke_N Posted September 4, 2006 Moderators Share Posted September 4, 2006 (edited) You've been a member long enough I think that you know that if you want help with "string" manipulation, that you look in the helpfile under "String"!??$Name = 'vicks@hotmail.com' $aSplitName = StringSplit($Name, '@') MsgBox(64, 'Info', $aSplitName[1])Edit:!!! And I also showed you how to get all the names!! (IniReadSection()) Edited September 4, 2006 by SmOke_N Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer. Link to comment Share on other sites More sharing options...
Vicks Posted September 4, 2006 Author Share Posted September 4, 2006 (edited) You've been a member long enough I think that you know that if you want help with "string" manipulation, that you look in the helpfile under "String"!?? $Name = 'vicks@hotmail.com' $aSplitName = StringSplit($Name, '@') MsgBox(64, 'Info', $aSplitName[1]) Edit: !!! And I also showed you how to get all the names!! (IniReadSection()) i use autoit for quick fixes here and there and your wrong your script won't help i need the display name Edited September 4, 2006 by Vicks [s]Autoit[/s] Link to comment Share on other sites More sharing options...
Moderators SmOke_N Posted September 4, 2006 Moderators Share Posted September 4, 2006 (edited) i use autoit for quick fixes here and there and your wrong your script won't help i need the display nameI'm "wrong".. then show me the right way...! Edit: Wait, you're right... this is probably what your looking for:$NameIWant = 'vicks' $NameThatIsOutThere = 'vicks@hotmail.com' $SoYourADumbAssSoWhat = StringSplit($NameThatIsOutThere, '@') MsgBox(64, 'Info', 'So what you are saying is this is not the right output that you are looking for? >>>> ' & $SoYourADumbAssSoWhat[1] & ' ???')Right? Edited September 4, 2006 by SmOke_N Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer. Link to comment Share on other sites More sharing options...
Vicks Posted September 4, 2006 Author Share Posted September 4, 2006 I'm "wrong".. then show me the right way...! Edit: Wait, you're right... this is probably what your looking for:$NameIWant = 'vicks' $NameThatIsOutThere = 'vicks@hotmail.com' $SoYourADumbAssSoWhat = StringSplit($NameThatIsOutThere, '@') MsgBox(64, 'Info', 'So what you are saying is this is not the right output that you are looking for? >>>> ' & $SoYourADumbAssSoWhat[1] & ' ???')Right? if i have offened you by saying your wrong im sorry but please do not be a dick about it. but you must of not heard me correctly, in Msn i want peoples display names if you remove @hotmail.com that doesn't make it a Display name, msn lets your set your personal Display name, do you see were im going with this now if you have msn open it, and check if your friends have display names it could look like this "Yo Spot me 20grams homey" anyways i want to make a script that opens msn and wirtes down each persons display name [s]Autoit[/s] Link to comment Share on other sites More sharing options...
Moderators SmOke_N Posted September 4, 2006 Moderators Share Posted September 4, 2006 if i have offened you by saying your wrong im sorry but please do not be a dick about it. but you must of not heard me correctly, in Msn i want peoples display names if you remove @hotmail.com that doesn't make it a Display name, msn lets your set your personal Display name, do you see were im going with this now if you have msn open it, and check if your friends have display names it could look like this "Yo Spot me 20grams homey" anyways i want to make a script that opens msn and wirtes down each persons display nameNo what pisses me off ... (yeah I said pisses)... Is you ask one question, you get the "right/correct/only" answer, but... you have a hidden meaning in your question, although the answer is "exactly" what you asked, you were hoping to get something else. Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer. Link to comment Share on other sites More sharing options...
Vicks Posted September 4, 2006 Author Share Posted September 4, 2006 No what pisses me off ... (yeah I said pisses)... Is you ask one question, you get the "right/correct/only" answer, but... you have a hidden meaning in your question, although the answer is "exactly" what you asked, you were hoping to get something else.opps never re-read my first post i see what your talking about, im sorry didn't notice, i though everyone would know what i am talking about since i said display names since alot of people use msn.hmm autoit rule 1245 read your post before posting ill remember that one [s]Autoit[/s] 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