Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save rupeshtiwari/935e17228589529acd9bff378c93f7ca to your computer and use it in GitHub Desktop.
Save rupeshtiwari/935e17228589529acd9bff378c93f7ca to your computer and use it in GitHub Desktop.
apple script to move the presentation on top left with full hd 1920x1080, resize, fhd,

Resize keynote to FHD (1920x1080)

tell application "Keynote"
	activate
	try
		set theDoc to front document
	on error
		set theDoc to make new document
	end try
	
	-- Set the window to a visible position on the primary screen
	set bounds of window 1 to {0, 0, 1920, 1080}
end tell

Resize Microsoft PPT to FHD (1920x1080)

use Microsoft PowerPoint for microsoft ppt

tell application "Microsoft PowerPoint"
	activate
	try
		set theDoc to front document
	on error
		set theDoc to make new document
	end try
	
	-- Set the window to a visible position on the primary screen
	set bounds of window 1 to {0, 0, 1920, 1080}
end tell

Run MS PPT in window mode

To present a PowerPoint presentation in a windowed mode at a specific location on your screen, you can follow these steps:

  1. Open PowerPoint: Start by opening your PowerPoint presentation.

  2. Set Up Slide Show: Click on the "Slide Show" tab in the ribbon at the top of PowerPoint.

  3. Choose Presentation Type: In the "Set Up" group, click on "Set Up Slide Show". In the dialog box that opens, under "Show type", select "Browsed by an individual (window)" and click "OK". This setting will make the PowerPoint presentation open in a resizable window rather than full screen.

  4. Start the Slide Show: Now start the slide show. It should open in a window.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment