JSL에서 jmp 파일의 디렉토리 추출안녕하세요 여러분,
나는 복잡한 방식으로 내가 원하는 것을 할 수 있었지만(단어와 문자 조작을 사용하여) 이것을 하는 더 쉬운 방법이 있어야 한다고 생각합니다. 내가 원하는 것은 JSL의 Pick File 기능을 사용하여 방금 선택한 파일의 디렉토리를 추출하여 다음에 해당 디렉토리에서 시작하도록 하는 것입니다. 어떤 제안??
고마워, 이브
스크립팅Re: JSL에서 jmp 파일의 디렉토리 추출스크립팅 인덱스에서 Files in Directory() 함수를 확인하십시오.

Re: JSL에서 jmp 파일의 디렉토리 추출죄송합니다 잘못 눌렀어요!!! 불행히도 이것은 해결책이 아닙니다 @txnelson . 이것은 알려진 디렉토리의 파일만 나열합니다. 원하는 파일을 찾기 위해 찾아보고 싶습니다. 파일을 선택한 후에는 다음에 탐색할 때 이전 디렉토리에서 시작하도록 디렉토리를 저장하고 싶습니다.
건배, 이브
Re: JSL에서 jmp 파일의 디렉토리 추출아래 내 스크립트를 보고 내가 원하는 것에 가까워지고 있는지 말해 주세요.
Names Default To Here( 1 );
theDirectory = "";
xx = Pick File( "Pick a File", theDirectory );
theDirectory = Substr( xx, 1, Length( xx ) - Length( Word( -1, xx, "\/" ) ) - 1 );
// now this Pick File will go to the directory that the file from the last
// Pick File was selected from
yy = Pick File( "Pick a File", theDirectory );
// If you want this Pick File to span across different scripts, then it would be a simple
// matter to save the directory in a specific namespace and get the
// directory location from a variable saved in that namespace.
// If you want to have the Pick File directory available from JMP session to JMP session
// then what I have used in the past, is to simply save the character string for the
// directory to a .txt file, using Save Text File() and Load Text File() to make the directory
// persistant