-- John wrote:

> Why doesn't this script work, its copied from the PowerPro Scripting
> Help file:

Possibly your configuration doesn't accept \ as an escape character.
Here's a copy of the script that should work with all v4.x
configurations:

--

Local sURL, sSubDomain, sEditedSubDomain

Clip.ClearClipboard
Win.Keys(?"^c")
sURL             = BrowserURL
sSubDomain       = BrowserSubDomain
sEditedSubDomain = ReplaceChars(Select(Clip, 15), ?":", ?"_")
sEditedSubDomain = ReplaceChars(sEditedSubDomain, ?'"', ?"-")
; paste clipboard to file
Clip.ToFile(?"C:\My Documents\News" ++ sSubDomain ++ sEditedSubDomain ++ 
?".txt")
; paste URL to file
Exec.ToFile("C:\My Documents\News" ++ sSubDomain ++ sEditedSubDomain ++ 
?".txt", ?"[" ++ sURL ++ ?"]")
 
-- 

Alex Peters / Melbourne, Australia
PowerPro v4.2.02 / Windows XP




Attention: PowerPro's Web site has moved: http://www.ppro.org 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/power-pro/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



Reply via email to