Script to convert tables to paragraphs

Shmuel Wolfson shmuelw1 at gmail.com
Tue Nov 26 05:10:26 PST 2013


An HTML attachment was scrubbed...
URL: <http://lists.frameusers.com/pipermail/framers-frameusers.com/attachments/20131126/f2cfe6c0/attachment.htm>
-------------- next part --------------
; this script converts tables to text
; find the desired table once, before running the script

Opt("WinTitleMatchMode", 2) ; this sets the title match to be anywhere in the window title

Dim $max
Dim $x = 1

$max = InputBox("","How many tables?","10")
WinActivate(".fm") ; this activates the window that has .fm in the title bar (which may be hidden)
WinWaitActive(".fm")
While $x <= $max
    Send("^+f") ; presses CTRL+SHIFT+f to find next
    Sleep(100) ; pause 100 milliseconds - you may need to increase this time if you have a slow computer
    Send("!tvc") ; presses ALT+t,v,c to convert the table to text
    Sleep(100) ; pause 100 milliseconds - you may need to increase this time if you have a slow computer
    $x = $x + 1
WEnd


More information about the framers mailing list