Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
List stat
Message
From
24/03/2014 12:50:58
 
 
To
24/03/2014 12:06:55
Mike Yearwood
Toronto, Ontario, Canada
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows 8
Network:
Windows 2008 Server
Database:
Visual FoxPro
Application:
Desktop
Miscellaneous
Thread ID:
01597032
Message ID:
01597209
Views:
49
Mike --

I guess I missed your reference to Plug-Ins. Thor's Plug-ins are used for customization of its tools, which is more than you are looking for right now.

I would suggest the following sequence:
-- Open Thor Launcher (from the Thor menu pad)
-- Type "List Stat" into the text box
-- Click on the tool by that name in the TreeView
-- Click on the command button in the upper left hand corner to assign a hot key. (Note that you can use any hot key, including those you can assign for macros, which use more than one of Shift, Ctrl, and Alt

Having done this, your hot key will be enabled. and will be re-enabled each time you run Thor.



>>Mike --
>>
>>I have just released an update to Thor that has a new tool, named "List Status". I believe that tool does all you need.
>>
>>If you already have Thor, you should be able to find it easily enough using the Tool Launcher.
>>
>>And if not, maybe this will be enough to tip you over toward trying it.
>
>
>Hi Jim
>
>I appreciate what you're building is a very difficult thing. I just downloaded Thor and tried to install it. Got an error that the menutable (IIRC) was already in use. I got passed that by restarting VFP. That would have been avoided by checking if the table is in use already and then either selecting the workarea or opening the table.
>
>Then I went ahead and tried to manage plugins. I got another error LoThorInfo is not an object. I'm not a big fan of execscript, though it certainly makes some things easier. In this case, there's no way for me to tell why the executed code block failed.
>
>It seems Thor did not update itself at first. After restarting vfp again, and then telling Thor to check for updates, all is well.
>
>Except - I'm not sure adding Thor to the vfp IDE is going to help or hurt with the existing stuff I'm using. Might it be possible to have the hotkey I defined simply "ask" Thor to launch the liststat feature without having Thor installed at all? Or maybe allow me to setup an OKL in my startup code to do so?
>
>
>>
>>Note, by the way, that this new tool uses features from Thor, so it is not a stand-alone.
>>
>>>>>Hi all
>>>>>
>>>>>Maybe it's a habit, but if so, I'll want an alternative. I find it easier to read the LIST STAT output, than to use SET to look at the open indexes etc at runtime, while debugging/investigating. I don't want the output to dump on the screen. So I often LIST STAT TO STAT.TXT NOCONSOLE. I can type that so fast it is almost instinct. However, I'm leaving little stat.txt files around, and that bugs me.
>>>>>
>>>>>What I'm thinking of is a utility that would make this cleaner. I'm imagining instantiating an object, having it LIST STAT TO uniquefilename.TXT NOCONSOLE, open the uniquefilename.txt in a unique window - and stay instantiated until I close the window. I can see having more than one open at a time - as in - I have some tables open so I LIST STAT and then I close one or more and open different ones, and want to see the stat now, or I want to compare two status listings, one before a process and one after, etc.
>>>>>
>>>>>If such a thing is not extant, then let's make it.
>>>>>
>>>>>Thanks
>>>>
>>>>
>>>>Mike -- what part of "LIST STAT" are you explicitly looking for?
>>>
>>>Hi Jim
>>>
>>>The entire output of LIST STAT is what seek. Perhaps a more complete snapshot of the entire environment using formats we already know is better? If I want to keep the file, then it might be nice to have a Save As option. Escape should close the instance leaving no junk files around.
>>>
>>>Do you already have such a wee beastie?
Jim Nelson
Newbury Park, CA
Previous
Reply
Map
View

Click here to load this message in the networking platform