AntBot Studio > Activity > 어플리케이션제어 > 프로세스 > 프로세스 목록 가져오기
정의 (Description)
- 현재 실행중인 Process를 List로 출력합니다.
속성 (Properties) (*은 필수값입니다.)
항목 | 설명 | 데이터타입 | 기본값 | 설정가능옵션 |
---|---|---|---|---|
Common | ||||
Activity이름 | 해당 Activity의 이름을 설정합니다.(기본값은 Activity명이며, 사용자가 직접 변경가능함) - 기본값은 Activity명이며, 사용자가 직접 변경 가능합니다. |
String | 프로세스 목록 가져오기 | |
Output | ||||
Processes * | 현재 Windows에 실행중인 Process들의 List입니다. | System.Collections.ObjectModel.Collection<System.Diagnotics.Process> | Null |
액티비티 사용 예시 (Example Usage)
프로세스 목록 가져오기 예시
프로세스 목록 가져오기 사용 전 변수 선언
- 변수 유형 : System.Collections.ObjectModel.Collection<System.Diagnotics.Process>
1-1. 변수 형식 찾기
1-2. System.Collections.ObjectModel.Collection 검색
1-3. 변수 형식 찾기
1-4. System.Diagnotics.Process 검색
1-5. 변수 선언 완료
프로세스 목록 가져오기 사용
- Output에 미리 선언한 변수 입력
실행 결과 확인
- Foreach Activity와 로그남기기 Activity를 사용하여 실행 결과 확인