Jump to content

html reformater


Recommended Posts

Hello,

i want to change a picture html code with one click.

Here are an example.

untreated html picture code:

<a href="xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" target=_blank><img src="xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" border="0" style="margin: 1px;" ></a>

treated html picture code:

<a href="yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" target=_blank><img src="xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" border="0" style="margin: 1px;" ></a>

xxxxx stand for the picture links.

With yyy a new URL should be added.

Not to make this from hand now I wanted to make this with autoit. I lack in addition, however, the entrance

how I could create this.

The best solution would be:

To be able to insert the Html codes somewhere.

By one click on the program converts the codes and puts the URL before it.

I hope all was understandably what I wanted to say :-)

hackbird

Link to comment
Share on other sites

  • Developers

So Hackbird, think it is clear what you want to do but what is the question you are asking or did you just want to share your challenge with us?

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

Yeah thatsgreat i read it, but never done before.

Only write in autoit an script for automatical severall programs.

But never work before with StringRegExp and StringRegExpReplace.

Dont know how i must write this

Link to comment
Share on other sites

And unless you try it for yourself, you never will.

Free Internet Tools: DebugBar, AutoIt IE Builder, HTTP UDF, MODIV2, IE Developer Toolbar, IEDocMon, Fiddler, HTML Validator, WGet, curl

MSDN docs: InternetExplorer Object, Document Object, Overviews and Tutorials, DHTML Objects, DHTML Events, WinHttpRequest, XmlHttpRequest, Cross-Frame Scripting, Office object model

Automate input type=file (Related)

Alternative to _IECreateEmbedded? better: _IECreatePseudoEmbedded  Better Better?

IE.au3 issues with Vista - Workarounds

SciTe Debug mode - it's magic: #AutoIt3Wrapper_run_debug_mode=Y

Doesn't work needs to be ripped out of the troubleshooting lexicon. It means that what you tried did not produce the results you expected. It begs the questions 1) what did you try?, 2) what did you expect? and 3) what happened instead?

Reproducer: a small (the smallest?) piece of stand-alone code that demonstrates your trouble

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...