Simple mscomm control question

  • Thread starter Thread starter mikewild2000
  • Start date Start date
M

mikewild2000

I am setting up the mscomm control to control a projector, therefore all
I need to do is open the port and send some data.

mscomm.portopen = true
mscomm1.output = 433433

will do this using the oncomm() property

However how do you trigger this event?
Can it be assigned to key commands? If so how?

Can it be assigned to a text box? If so how?

Basically how do you run the code, as the mscomm activeX icon in not
visible during a show.?
 
Mikewild2000 said:
I am setting up the mscomm control to control a projector, therefore all
I need to do is open the port and send some data.

mscomm.portopen = true
mscomm1.output = 433433

will do this using the oncomm() property

However how do you trigger this event?
Can it be assigned to key commands? If so how?

Can it be assigned to a text box? If so how?

Basically how do you run the code, as the mscomm activeX icon in not
visible during a show.?

Anything on the slide can trigger a macro when you click it; rightclick the
shape, choose Action Settings, click Run Macro and choose the macro you want to
fire off.

While you can't normally assign keyboard shortcuts to macros in PPT, Chirag
Dalal has an addin that lets you do this. Have a poke around
htt://www.mvps.org/chirag/
 
Back
Top