Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Intellisense in the Command Window
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00708913
Message ID:
00709015
Views:
16
>Hi Larry,
>
>I'm not trying to get the return from a USE ?. Sorry for the confusion.
>
>My example would be this:
>CDCV I'd like that to expand to CD C:\CsiDev\VcPrgs and execute the command in the command window.
>With CEE I was able to do this by ending the expansion with ^^
>I'd like the 'Enter' to fire the command, not to create a new line.
>
>Does that make sense?
>

1. Type CDCV in the Replace textbox.
2. Select Command from the Type combo.
3. Select Add.
4. Highlight the new entry and clcik on the Script button.
5. Enter the following code:
lparameters oFoxCode
oFoxCode.ValueType = 'V'
CD C:\CsiDev\VcPrgs
return "~"
This will execute the CD command and place the cursor at the beginning of the line deleting the keystrokes sequence used to trigger it. However, it will not display anything in the Command Window. You will just have to know that it worked.

HTH.
Larry Miller
MCSD
LWMiller3@verizon.net

Accumulate learning by study, understand what you learn by questioning. -- Mingjiao
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform