콘텐츠로 이동

hfSectionVisualizer 원격 제어 창과 파일

Remote-only

  • 먼저 실행 중인 인스턴스를 확인하고, remote control이 정상 동작하는지 점검할 때 사용합니다.
hfSectionVisualizer --remote list
hfSectionVisualizer --remote target <set|show|clear> [id]
hfSectionVisualizer --remote [--target <id>] status
hfSectionVisualizer --remote [--target <id>] ping
hfSectionVisualizer --remote [--target <id>] focus
hfSectionVisualizer --remote [--target <id>] maximize
hfSectionVisualizer --remote [--target <id>] minimize
hfSectionVisualizer --remote [--target <id>] [--timeout-ms <ms>] script <file>
hfSectionVisualizer --remote [--target <id>] script-save [file]
  • target: --target 생략 시 사용할 로컬 기본 대상을 관리합니다. 자세한 내용은 2.1 Choosing the target window를 참고합니다.

Window State

hfSectionVisualizer --remote [--target <id>] focus
hfSectionVisualizer --remote [--target <id>] maximize
hfSectionVisualizer --remote [--target <id>] minimize
  • focus는 필요하면 창을 일반 상태로 복원한 뒤 앞으로 가져오고 활성화합니다.
  • maximize는 대상 창을 최대화한 뒤 앞으로 가져오고 활성화합니다.
  • minimize는 대상 창을 최소화합니다.
  • 이 명령들은 remote-only UI 보조 명령이며, section model 데이터는 바꾸지 않고 Remote Control History에도 canonical command tail을 남기지 않습니다.

예시:

hfSectionVisualizer --remote maximize
hfSectionVisualizer --remote focus
hfSectionVisualizer --remote minimize

File

  • 스크립트나 배치 흐름에서 section model을 생성, 열기, 저장, 종료할 때 사용합니다.
hfSectionVisualizer --remote [--target <id>] new [--discard-unsaved]
hfSectionVisualizer --remote [--target <id>] open <file>
hfSectionVisualizer --remote [--target <id>] save [file]
hfSectionVisualizer --remote [--target <id>] quit [--discard-unsaved]
  • new, open, quit:
  • 미저장 변경이 있고 현재 파일 경로가 있으면 먼저 자동 저장합니다.
  • 미저장 변경이 있는데 현재 파일 경로가 없으면 SAVE_PATH_REQUIRED로 실패합니다.
  • new --discard-unsaved:
  • 자동 저장 없이 미저장 변경을 버립니다.
  • GUI 저장 확인 대화상자를 띄우지 않습니다.
  • 호출자가 의도적으로 비대화형 폐기를 원할 때만 사용하십시오.
  • quit --discard-unsaved:
  • 자동 저장 없이 미저장 변경을 버리고 종료합니다.
  • GUI 저장 확인 대화상자를 띄우지 않습니다.
  • 원격 요청이 수락되면 대상 창을 바로 닫습니다.
  • save [file]:
  • [file]이 없으면 현재 파일에 저장합니다.
  • [file]이 있으면 해당 경로로 저장하고 현재 파일 경로도 함께 갱신합니다.