Google Slides 프레젠테이션에 진행률 표시줄 표시
코딩 수준: 중급
소요 시간: 15분
프로젝트 유형: 편집기 부가기능
목표
- 솔루션의 작동 방식을 이해합니다.
- 솔루션 내에서 Apps Script 서비스가 하는 작업을 이해합니다.
- 스크립트를 설정합니다.
- 스크립트를 실행합니다.
이 솔루션 정보
이 솔루션을 사용하여 프레젠테이션의 슬라이드 하단에 진행률 표시줄을 추가하세요.

작동 방식
이 스크립트는 프레젠테이션에 있는 슬라이드 수를 계산하고 각 슬라이드 하단에 직사각형 도형을 추가합니다. 스크립트는 각 직사각형 도형의 너비를 늘려 슬라이드 내에서 진행률을 표시합니다.
Apps Script 서비스
이 솔루션은 다음 서비스를 사용합니다.
- Slides 서비스: 프레젠테이션의 슬라이드를 가져와 각 슬라이드에 직사각형 도형을 추가합니다.
기본 요건
이 샘플을 사용하려면 다음 기본 요건이 필요합니다.
- Google 계정 (Google Workspace 계정의 경우 관리자 승인이 필요할 수 있음)
- 인터넷에 액세스할 수 있는 웹브라우저
스크립트 설정
- 다음 버튼을 클릭하여 진행률 표시기 Slides 프레젠테이션의 사본을 만드세요. 이 솔루션의 Apps Script 프로젝트가 프레젠테이션에 첨부되어 있습니다.
사본 만들기
- 프레젠테이션에서 확장 프로그램
>
진행률 표시줄 >
진행률 표시줄 표시를 클릭합니다.
메시지가 표시되면 스크립트를 승인합니다.
OAuth 동의 화면에 이 앱은 확인되지 않았습니다라는 경고가 표시되면 고급 >
{프로젝트 이름}으로 이동(안전하지 않음)을 선택하여 계속 진행합니다.
다시 확장 프로그램 >
진행률 표시줄 > 진행률 표시줄 표시를 클릭합니다.
진행률 표시줄을 삭제하려면 확장 프로그램
>
진행률 표시줄 > 진행률 표시줄 숨기기를 클릭합니다.
코드 검토
이 솔루션의 Apps Script 코드를 검토하려면 아래의 소스 코드 보기를 클릭합니다.
참여자
이 샘플은 Google에서 Google 개발자 전문가의 도움을 받아 유지관리합니다.
다음 단계
달리 명시되지 않는 한 이 페이지의 콘텐츠에는 Creative Commons Attribution 4.0 라이선스에 따라 라이선스가 부여되며, 코드 샘플에는 Apache 2.0 라이선스에 따라 라이선스가 부여됩니다. 자세한 내용은 Google Developers 사이트 정책을 참조하세요. 자바는 Oracle 및/또는 Oracle 계열사의 등록 상표입니다.
최종 업데이트: 2024-12-22(UTC)
[null,null,["최종 업데이트: 2024-12-22(UTC)"],[[["This Google Apps Script solution adds a progress bar to the bottom of Google Slides presentations to visually track progress through the slides."],["The script uses the Slides service to calculate the number of slides, add a rectangle shape to each slide, and dynamically adjust the rectangle's width to represent progress."],["Users can easily install the script by making a copy of the provided presentation and authorizing the script to access their Google Slides."],["The progress bar can be shown or hidden using the \"Progress bar\" menu found under \"Extensions\" in Google Slides after installation."],["Developers can review and modify the source code, which is publicly available on GitHub, for customization or further development."]]],["This solution adds a progress bar to Google Slides presentations using Apps Script. The script calculates the total slides and adds a rectangle to the bottom of each slide, increasing the rectangle's width to visually represent progress. Users copy a sample presentation, authorize the script, and then run it to create or remove the progress bars via the \"Extensions\" menu. It utilizes the Slides service to manipulate slides and shapes, adding and deleting these elements.\n"]]