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:
00709004
Views:
13
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?

>Bill,
>Don't wrap the command in a TEXT...ENDTEXT. Put your keystroke combination in the Abbrev field and add your USE ? to the Data field. The USE ? will fire as part of the script and you can return any text you want after that. Perhaps what alias was opened or you can return "" to clear it from the Command Window.
>
>HTH.
>
>>Hi Nancy,
>>
>>I think you've got it... I took your script and created a 'Command' Type entry.
>>When it expands in the command window, the 'Use ?' command doesn't fire. It is entered along with a carriage return.
>>I'd like the 'Use ?' command to fire so the dialog box comes up without me having to hit enter myself.
>>
>>I'd read the white paper and didn't see this topic addressed.
>>
>>Any ideas?
>>
>>>Bill
>>>
>>>>I'm trying to get Intellisense to fire a command in the command window, but all I can get is a carriage return. I still have to press the enter key after it expands. With CEE I could use ^^ to get a command to fire. Am I missing something?
>>>
>>>I may be misunderstanding what you mean, and I don't know what your script looks like, but does the following IS script get at the idea?
>>>LPARAMETERS oFoxcode
>>>
>>>oFoxcode.valuetype = "V"
>>>
>>>TEXT TO myvar TEXTMERGE NOSHOW
>>>USE ?
>>>
>>>ENDTEXT
>>>
>>>RETURN myvar
>>>
>>>BTW, in case you haven't seen it, there's a white paper on IS. http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnfoxgen7/html/vfp7_Intellisense.asp
Bill Armbrecht
VFP MCP
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform