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
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
To present a PowerPoint presentation in a windowed mode at a specific location on your screen, you can follow these steps:
-
Open PowerPoint: Start by opening your PowerPoint presentation.
-
Set Up Slide Show: Click on the "Slide Show" tab in the ribbon at the top of PowerPoint.
-
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.
-
Start the Slide Show: Now start the slide show. It should open in a window.