You might ask on the InDesign Scripting forum for someone to brew a quick script.
I would search-and-replace them all changing @Me into http://twitter.com/Me (or whatever), then autohyperlink them, and then search-and-replace them back to @Me.
You could also do this in an external text editor by exporting the stor(ies) to InDesign Tagged Text and setting up the hyperlinks there.
That worked, thanks, John: easy and obvious can win the day ...
It did show up some interesting assumptions that the automatic hyperlink generator uses -- any word with a "." in the middle of it is a URL, so there were quite a lot of concatonated phrases that got picked out for special attention, though these were easily dealt with.
I'm having a real problem putting a retweet into a document and then having the link work when I pdf it. Can anyone please contact me and give us a hand.. It may not be complicated for you but it's knocking me out..
Well, please ask a more specific question.
What's your goal, what are you trying, and how is it failing? Please include a screenshot.
Wow.. that was quick John!!! Thank you. But I spend many many hours yesterday going round in circles and finally figured out how to do what I wanted which was to embed a retweet in a pdf.. The finished product is now at.. http://www.hcvadvocate.org/community/community_pdf/Las%20Vegas,%20NV%20%20March%205,%20201 3.pdf .. Thanks!!
cdmazoff: OK, glad you solved your problem. But once you post here that you're having a problem, it would be good for you to post explaining the problem and what your solution was, so that others having the same problem can benefit from your efforts. So when you have a moment, please post the details! Thanks.
Hello John... Thanks.. My problem in large part stems from the way InDesign handles hyperlinks and what happens during the pdf process.. I have been having real problems with the "shared" destination default etc.. Anyways: then I had to put in a twitter link and I couldn't find any clear description of how to do this in InDesign or the help community. I went around in circles.. The problem was with html tags.. and twitter exceptions and etc.. Anyways: the whole thing worked out after I spent many hours on the net.. mostly trying to find the right language to use to phrase the problem.. Not being a "tweeter" complicated issues.. (I had to do this for those who do tweet)... The answer, in short was this:
- get a retweet button;
- put retweet button in InDesign doc.
- Post a tweet (in this case it was "Save the Date: HCV Training March 26, Houston TX [link to permanent pdf of the training flyer]..
- Twitter will generate a short url.
- In Twitter, hover mouse over post and then "More" pops up
- Click on Embed
- Copy Embed code
- Paste embed code to text file
- Make URL hyperlink for retweet button and in the Destination put: http://twitter.com/share?text=Save%20The%20Date%20Houston%20March%2026&url=http://t.co/AQV rqixC0O
- Note: The above contains the message (after the text=) which must use %20 in lieu of any spaces in the text description. Then after the &url= paste the short url that you copied from the embed code.
- Make sure that the InDesign link is NOT a shared destination and that it is a URL
- Save file and export to PDF
As you can see... this took a while to figger out.. I found several posts on the internet but none stood alone... So here you go.