Re: [OT] Anti-Spam solution for web pages.
Re: [OT] Anti-Spam solution for web pages.
- Subject: Re: [OT] Anti-Spam solution for web pages.
- From: Ian Ferguson <email@hidden>
- Date: Thu, 16 Oct 2003 01:14:06 -0400
On Oct 16, 2003, at 12:20 AM, Gnarlodious wrote:
Entity Jon Pugh spoke thus:
At 9:17 PM -0600 10/15/03, Gnarlodious wrote:
This actually gets my juices flowing:
<a
href="mailto:web
ma&#
115;ter@dicas.c
om
;?subject=ema
i&#
108;">webmaster@
di&
#99;as.com</a>
Now make it a script that operates on the selection in BBEdit. ;)
It would probably be easier to download SpamStopper:
RAILhead Design: SpamStopper Page
http://www.railheaddesign.com/pages/software/spamstopper/
spamstopper.html
There are also web pages that do the conversion.
--Gnarlie
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.
Applescript <email@hidden>
Hello. I am new to the group. I have not had a chance to follow this
thread from the beginning,
but if you are looking to replace a selected string within BBedit with
the format above, this should
do the trick for you:
tell application "BBEdit"
set newStr to ""
set selectedText to selection
if selectedText as string is "" then
activate me & (display dialog "Please select some text in BBedit")
return false
else
repeat with aChr in selectedText as string
set newStr to newStr & my parseString(aChr)
end repeat
set text of selectedText to newStr
end if
end tell
on parseString(chr)
set thisNum to ASCII number of chr
return "&#" & thisNum & ";"
end parseString
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.