• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Appending text
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Appending text


  • Subject: Appending text
  • From: Francisco Parada <email@hidden>
  • Date: Sun, 31 May 2009 22:32:40 -0400

Hi all,

I have a script that gets all the directories and files in a specified folder.  All the content's references (or links) are then placed into a text file.

What I'm trying to accomplish is the following:

Before every line of text, I want to add a hyperlink: <a href=""... after the text (or link of the file) I want to finish it by adding ">name of file</a>

I think I'm not being very clear, but I just can't think of another way to explain it.

For example:

In the text file this is one of the lines:

/Volumes/MirroredSet/Pictures/Family/Barcelona0001.jpeg

I would like to append a hyperlink to it, and add the last reference (in this case "Barcelona0001.jpeg") to the name

The output would look like this:

<a href="">Barcelona0001.jpeg</a>

Thank you for all your help.


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Automator-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Prev by Date: Re: I need away to keep my automator script to run every 3 minutes for a special email
  • Next by Date: RE: I need away to keep my automator script to run every 3 minutes for a special email
  • Previous by thread: Re: I need away to keep my automator script to run every 3 minutes for a special email
  • Next by thread: RE: I need away to keep my automator script to run every 3 minutes for a special email
  • Index(es):
    • Date
    • Thread