Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Macro to toggle between fullscreen
#2
Macro Macro1415
Trigger 3 /POWERPNT     Help - how to add the trigger to the macro
Code:
Copy      Help
ifa "PowerPoint Slide Show" ;;in slideshow (fullscreen)
,key Z ;;Esc to stop slideshow
else ;;not in slideshow
,key SF5 ;;press Shift+F5 to start show from current slide

;---------------

;How did I know the fullscreen window name?
;I press Ctrl+Shift+Win+W and select 'Get window handle'. It inserts code like this:  int w2=win("PowerPoint Slide Show - [Title.ppt]" "screenClass")
;When not in fullscreen, it inserts:  int w1=win("Microsoft PowerPoint - [Title.ppt]" "PP11FrameClass")


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)