Select [Tools도구] - [Script Editor] to open the [Script Editor] window as shown below, or press the icon스크립트 편집기] 를 선택 한 뒤 아래 있는 아이콘을 클릭하여 기능을 사용합니다.
...
The [Script Editor] will be empty when first opened. To begin creating scripts, use the icons in the top left corner of the window.
...
Item
...
Description
...
...
Adds a new script. The [Add Script] window will appear.
...
...
Adds a new script folder.
...
...
Deletes the selected script or action list.
...
...
Allows the user to undo an action.
...
...
Allows the user to redo an action.
...
...
Copies the selected script or action list.
...
...
Pastes the previously copied/cut script or action list
...
...
Cuts the selected script or action list.
...
...
Compiles the selected script. The compiled result will appear on the field marked as [Build].
...
...
Opens the ‘Find and Replace’ window.
...
...
Allows the user to import a previously saved script.
...
...
Saves the selected script to a user defined folder.
After pressing the icon, the [Edit Script] window will open. From this menu, users can assign a name for the script, a running type, and a running period.
...
Item
...
Description
...
Script Name
...
Allows the user to assign a name for the script.
...
Running Type
...
Manual
...
The selected script will only run when called. The script can be configured to operate on a schedule, on tag value change,on a button press, on page open/close, etc.
...
Startup
...
The selected script will run once the project file loads.
...
Periodic
...
The selected script will run periodically.
...
Running Period
...
스크립트 편집기]를 처음 열면 아래 아이콘들을 확인 할 수 있는데 이 기능들을 사용하여 스크립트를 작성할 수 있습니다.
항목 | 설명 |
| 새 스크립트 추가하기 |
| 새 폴더 추가하기 |
| 선택한 스크립트, 액션 삭제하기 |
| 편집 동작 취소하기 |
| 편집 동작 복구하기 |
| 선택한 스크립트 또는 작업 목록 복사 |
| 최근 복사,잘라낸 스크립트 액션 목록 붙여 넣기 |
| 선택한 스크립트 또는 작업 목록 잘라내기 |
| 스크립트 정합성 검사 기능, 검사 결과가 아래 빌드 창에 표시됩니다. |
| 찾기 및 바꾸기 기능 |
| 저장된 스크립트 불러오기 |
| 스크립트 저장하기 |
아이콘을 누르면, [스크립트 편집] 창이 뜨며. 해당 창에서 스크립트의 이름과 동작 타입, 동작 주기를 설정할 수 있습니다.
...
항목 | 설명 | |
Script Name | 스크립트 이름 | |
Running Type | Manual | 이 동작 타입은 호출될 시에만 동작합니다. 스케쥴, 태그 값 변경, 버튼 동작, 페이지 열기/닫기 등에 작동하도록 구성 되어있습니다. |
Startup | 이 동작 타입은 프로젝트가 실행될 시 처음 한번만 실행됩니다. | |
Periodic | 이 동작 타입은 설정한 주기 동안 지속적으로 동작 | |
Running Period | 스크립트의 동작 주기 |