Attached is an AutoIt script for this.
AutoIt is a free scripting language for Windows. It's very easy to
write AutoIt scripts for easy things like typing shortcut keys.
You have to download and install AutoIt in order to run this.
Below is the script as well, but it has to be in a text file with a .AU3 extension in order to run it. You can see how simple it is. And I added a lot of comments to make it easier to understand. If you need more info, let me know. Maybe one day I will get into ExtendScript, but AutoIt is so much easier and more pleasant to use that it's worth considering. Regards, Shmuel Wolfson Technical Writer 052-763-7133 ; 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 ---------------------- On 26-Nov-13 12:35 PM, Yves Barbion wrote:
|
; 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
_______________________________________________ You are currently subscribed to framers as arch...@mail-archive.com. Send list messages to framers@lists.frameusers.com. To unsubscribe send a blank email to framers-unsubscr...@lists.frameusers.com or visit http://lists.frameusers.com/mailman/options/framers/archive%40mail-archive.com Send administrative questions to listad...@frameusers.com. Visit http://www.frameusers.com/ for more resources and info.