dung2705 Posted June 14, 2014 Share Posted June 14, 2014 example i have list link. http://www.autoitscript.com/forum/members/ http://www.autoitscript.com/forum/files/ http://www.autoitscript.com/wiki http://www.autoitscript.com/trac/autoit http://www.autoitscript.com/site/ now i want to insert each link to link <a href='link'> <img src="link"> And me you want the result is this: <a href="http://www.autoitscript.com/forum/members/"> <img src="http://www.autoitscript.com/forum/members/"> <a href='http://www.autoitscript.com/forum/files/'> <img src="http://www.autoitscript.com/forum/files/"> <a href='http://www.autoitscript.com/wiki'> <img src="http://www.autoitscript.com/wiki"> <a href='http://www.autoitscript.com/trac/autoit'> <img src="http://www.autoitscript.com/trac/autoit"> <a href='http://www.autoitscript.com/site/'> <img src="http://www.autoitscript.com/site/"> PLZ help me. thanks all Link to comment Share on other sites More sharing options...
Palestinian Posted June 14, 2014 Share Posted June 14, 2014 Help us help you, what did you try so far? how long have you been using AutoIt? How good are you with it? did you check the help file? Hint: _IEBodyWriteHTML Link to comment Share on other sites More sharing options...
dung2705 Posted June 14, 2014 Author Share Posted June 14, 2014 (edited) Help us help you, what did you try so far? how long have you been using AutoIt? How good are you with it? did you check the help file? Hint: _IEBodyWriteHTML sorry. but i dont need get body html from website. i need write soft small insert link padded in <a href='link'> <img src="link"> i am newbie autoit. And i need help all member. thanks Edited June 14, 2014 by dung2705 Link to comment Share on other sites More sharing options...
BrewManNH Posted June 14, 2014 Share Posted June 14, 2014 Where are you getting the list of links from, where are you placing the padded links after they've been created, what are you doing with these new links once they've been placed where you want them? You're not explaining what it is you need so no one can help you until you tell us what you have and what you need. If I posted any code, assume that code was written using the latest release version unless stated otherwise. Also, if it doesn't work on XP I can't help with that because I don't have access to XP, and I'm not going to.Give a programmer the correct code and he can do his work for a day. Teach a programmer to debug and he can do his work for a lifetime - by Chirag GudeHow to ask questions the smart way! I hereby grant any person the right to use any code I post, that I am the original author of, on the autoitscript.com forums, unless I've specifically stated otherwise in the code or the thread post. If you do use my code all I ask, as a courtesy, is to make note of where you got it from. Back up and restore Windows user files _Array.au3 - Modified array functions that include support for 2D arrays. - ColorChooser - An add-on for SciTE that pops up a color dialog so you can select and paste a color code into a script. - Customizable Splashscreen GUI w/Progress Bar - Create a custom "splash screen" GUI with a progress bar and custom label. - _FileGetProperty - Retrieve the properties of a file - SciTE Toolbar - A toolbar demo for use with the SciTE editor - GUIRegisterMsg demo - Demo script to show how to use the Windows messages to interact with controls and your GUI. - Latin Square password generator Link to comment Share on other sites More sharing options...
Exit Posted June 14, 2014 Share Posted June 14, 2014 $aLinks = StringSplit("forum/members/ forum/files/ wiki trac/autoit site/", " ") $sLinkBase = "<a href='http://www.autoitscript.com/link'> <img src=""http://www.autoitscript.com/link"">" $sNewLinks = @CRLF For $i = 1 To $aLinks[0] $sNewLinks &= StringReplace($sLinkBase, "link", $aLinks[$i]) & @CRLF Next ConsoleWrite($sNewLinks & @CRLF) App: Au3toCmd UDF: _SingleScript() Link to comment Share on other sites More sharing options...
dung2705 Posted June 14, 2014 Author Share Posted June 14, 2014 (edited) . I would describe this: I entered one link list any. Example http://www.autoitscript.com/forum/members/ http://www.autoitscript.com/forum/files/ http://www.autoitscript.com/wiki http://www.autoitscript.com/trac/autoit http://www.autoitscript.com/site/ and when I run software programs [Click Guictrlcreatebutton]. I will get the results <a href="http://www.autoitscript.com/forum/members/"> <img src="http://www.autoitscript.com/forum/members/"> <a href='http://www.autoitscript.com/forum/files/'> <img src="http://www.autoitscript.com/forum/files/"> <a href='http://www.autoitscript.com/wiki'> <img src="http://www.autoitscript.com/wiki"> <a href='http://www.autoitscript.com/trac/autoit'> <img src="http://www.autoitscript.com/trac/autoit"> <a href='http://www.autoitscript.com/site/'> <img src="http://www.autoitscript.com/site/"> Please write in the form of GUI. i very thanks Edited June 14, 2014 by dung2705 Link to comment Share on other sites More sharing options...
Palestinian Posted June 15, 2014 Share Posted June 15, 2014 What you're asking for is someone to write a full script for you, Exit was nice enough to give you something to work with, You quoted Brew but answered none of his questions, good luck 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