I've a script which uses "Ctrl+I", so I have to controlsend the command to Word and Excel to italize some text. I've found by luck the ClassNN of MS Word and can now italize via ControlSend, _WwG1, ^i, ahk_class OpusApp in Word and would need to know the same information - the ClassNN - of Excel in order to use the said feature with the regular shortcut. If you know this, please share your knowledge. Thank you.
The script that works in case of MS Word 2013 is:
#IfWinActive, ahk_class OpusApp <^i:: ControlSend, _WwG1, ^i, ahk_class OpusApp #IfWinActive return