topbanner_forum
  *

avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • Monday March 18, 2024, 11:14 pm
  • Proudly celebrating 15+ years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - flowowery [ switch to compact view ]

Pages: [1]
1
Hi, 4wd you are a great help and really good at that regexp, i made a lot of commands with it in my filemanager, but takes me a while to do them, and realised now if i haven't done it for a little while i forget everything..
That could be a neater way of keeping all the images also. Just thinking if label like that, I could just grab one link set and for each link repeat it twice for each tag and then add the extra bit for the thumbnail tag somehow, if I find regexp can do so.

Oh Just realized the images weren't loading, but got them loaded with IE. And cool. I see the new line part which I was messing with for something else while experimenting, but I didn't realize could use regexp to go through two lines and put together like that. I wouldn't have thought to see if I could do anything like that. I should be able to save a little bookmarklet form fill for this, making it even more breezy to get through.

Now I just need to get my images organized & really test this all out. Yay for no more copy pasting one by one! Thanks so so much. :D

2
Ok cool I get it, thanks for the code examples 4wd. I will try and keep all my uploads uniquely named enough so that they keep the "small" and "large" label- my quick tests now is keeping them. Will hunt for editors that do search replace by line if my labeling gets messed up during uploads. But sounds good if I can find an editor that will do the lot in one.

Was actually thinking might not be able to skip lines easily and thought of resorting to a macro, which would prob be messy where I cut the first line in notepad and paste into first line in a template scroll down a line, and repeat haha.


Oh yes the height and width, I noticed that when was looking for html tags but was curious about the resized smaller ones still loading full MB. That might be the easiest way to solve this, and means only one upload. Just need to work out how many "MB" loading in one page would be too much for the average users connection and then weigh it up. Thanks for the example of how to repeat it in one tag.


Thanks again for your help. Excited about these ideas now and going to do some experimenting to find the cruisiest method.

3
Thanks all.

Thanks for the REGEXP code 4wd. I will play around with it. I was going to see if I could combine it into a .vbs. Think it might be easier if I save all uploaded links sorted to different files already and I can just run on selected files in my file manager. Did find another method of doing this with vbs, but has to find specific phrase (http) which could change and not just new line..


Mouser, your program looks really good, I think it might do what I need once I get it set up and has a hotkey to automate it. Still need to look at how all the options work and what they do. Will look at it better when when I'm less blurry eyed.  


One thing I am wondering, I wanted to complicate it a bit more, I want to do something different for each second line! Can either of these ways skip lines or do something different on each line, please tell me if either can?  

eg I have 2 links for each picture- 1st is large, second is small version. And I want this to happen.


HTTP.://IMG.1.LARGE.jpg
HTTP.://IMG.1.SMALL.jpg
HTTP.://IMG.2.LARGE.jpg
HTTP.://IMG.2.SMALL.jpg

<a href="HTTP.://IMG.1.LARGE.jpg" target="_blank">
<img src="HTTP.://IMG.1.SMALL.jpg"/></a>
<a href="HTTP.://IMG.2.LARGE.jpg" target="_blank">
<img src="HTTP.://IMG.2.SMALL.jpg"/></a>

Then I can just join each second line with the line before it. I found a vbs script to that.
 

4
Hello all.

I have a request for a small program or script to insert text to the front and end of each line within a next .txt file. Or any ideas if there's a program already for this, I'm not having any lucky finding one.

Say I have a bunch of lines of text eg...
ONE
TWO
THREE



Then I want to append text to either side of each line of text. So I want "BEFORE" to go in front, and "AFTER" at the end. Eg
BEFORE ONE AFTER
BEFORE TWO AFTER
BEFORE THREE AFTER


Here's an example of how I want to use it with image tags:
So each line has a new URL (but they don't always start the http://), something like this:
http.://img.01.jpg
http.://img.02.jpg


Gets tags on either side like this:
<img src="http.://img.01.jpg">
<img src="http.://img.02.jpg">


Pages: [1]