How to the sendkeys with VB in CATIA ?
How to the sendkeys with VB in CATIA ?
(OP)
Hello everybody,
Like I said in my previous post (http://www .eng-tips. com/viewth read.cfm?q id=253341& amp;page=1) I'd like to use the function Search in my macro with VB.
But it works only If I have previously opened the Search windows at least once.(In my previsous post I said that I need to run a first manually search but it was a mistake I just need to open the Search windows, it's enough).
So I have tried to use the Sendkeys function in my macro to open the windows automatically but nothing happens.
Code:
SendKeys "^F" 'code for CTRL+F
Would somebody know how to use the sendkeys function with CATIA V5 ?
Like I said in my previous post (http://www
But it works only If I have previously opened the Search windows at least once.(In my previsous post I said that I need to run a first manually search but it was a mistake I just need to open the Search windows, it's enough).
So I have tried to use the Sendkeys function in my macro to open the windows automatically but nothing happens.
Code:
SendKeys "^F" 'code for CTRL+F
Would somebody know how to use the sendkeys function with CATIA V5 ?





RE: How to the sendkeys with VB in CATIA ?
Regards
Fernando
RE: How to the sendkeys with VB in CATIA ?
Sub CATMain()
CATIA.StartCommand "Search..."
End Sub
RE: How to the sendkeys with VB in CATIA ?
Thank you both for your help.