cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Browse apps to extend the software in the new JMP Marketplace
%3CLINGO-SUB%20id%3D%22lingo-sub-3464%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3E%E8%AE%A1%E7%AE%97%E6%9C%BA%E5%90%8D%E7%A7%B0%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-3464%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3E%E5%97%A8jmpers%EF%BC%8C%3CBR%20%2F%3E%3CBR%20%2F%3E%E6%88%91%E9%9C%80%E8%A6%81%E5%9C%A8%20jmp%20%E4%B8%AD%E4%B8%BA%E4%B8%8D%E5%90%8C%E7%9A%84%E7%94%A8%E6%88%B7%E6%9E%84%E5%BB%BA%E4%B8%80%E4%B8%AA%E5%BA%94%E7%94%A8%E7%A8%8B%E5%BA%8F%EF%BC%8C%E8%BF%99%E6%84%8F%E5%91%B3%E7%9D%80%E4%B8%8D%E5%90%8C%E7%9A%84%E7%94%A8%E6%88%B7%E5%B0%86%E6%9C%89%E4%B8%8D%E5%90%8C%E7%9A%84%E7%94%A8%E6%88%B7%E7%95%8C%E9%9D%A2%E3%80%82%20%EF%BC%88%E8%BF%99%E6%98%AF%E5%90%8C%E4%B8%80%E4%B8%AA%E5%BA%94%E7%94%A8%E7%A8%8B%E5%BA%8F%EF%BC%89%E6%88%91%E6%83%B3%E7%9F%A5%E9%81%93%E6%98%AF%E5%90%A6%E6%9C%89%E5%8A%9E%E6%B3%95%E8%8E%B7%E5%8F%96%E7%94%A8%E6%88%B7%E4%B8%AA%E4%BA%BA%E8%B5%84%E6%96%99%EF%BC%9F%20%E8%AE%A9%E6%88%91%E4%BB%AC%E8%AF%B4%E5%87%BA%20jmp%20%E4%B8%AD%E7%9A%84%E8%AE%A1%E7%AE%97%E6%9C%BA%E5%90%8D%E7%A7%B0%E3%80%81%E7%94%A8%E6%88%B7%E5%90%8D%E6%88%96%E6%9C%8D%E5%8A%A1%E5%99%A8%E5%90%8D%E7%A7%B0%EF%BC%9F%20%E8%BF%99%E6%A0%B7%E5%81%9A%E6%88%91%E5%8F%AF%E4%BB%A5%E5%86%B3%E5%AE%9A%E6%89%93%E5%BC%80%E5%93%AA%E4%B8%AA%E8%84%9A%E6%9C%AC%3CBR%20%2F%3E%3CBR%20%2F%3E%E5%9D%A6%E5%85%8B%3CBR%20%2F%3E%3CBR%20%2F%3E%E6%99%AE%E5%B0%BC%E5%B0%94%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-84899%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3E%E5%9B%9E%E5%A4%8D%EF%BC%9A%E8%AE%A1%E7%AE%97%E6%9C%BA%E5%90%8D%E7%A7%B0%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-84899%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3E%3CP%3E%E5%AF%B9%E4%BA%8E%20Mac%20%E6%93%8D%E4%BD%9C%E7%B3%BB%E7%BB%9F%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%E5%B0%9D%E8%AF%95%E8%BF%99%E4%B8%AA%EF%BC%9A%3C%2FP%3E%0A%3CPRE%3E%3CCODE%20class%3D%22%20language-jsl%22%3EIf(%20Host%20is(%20%22Mac%22%20)%2Cusername%3DGet%20Environment%20Variable(%20%22USER%22%20)%3B%0A%20stamp%3D%22Test%20%22%7C%7Cusername%7C%7C%22%2C%20%22%7C%7Cchar(today())%3B%0A)%3B%3C%2FCODE%3E%3C%2FPRE%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-80209%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3E%E5%9B%9E%E5%A4%8D%EF%BC%9A%E8%AE%A1%E7%AE%97%E6%9C%BA%E5%90%8D%E7%A7%B0%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-80209%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3E%E6%83%8A%E4%BA%BA%E7%9A%84%EF%BC%81%E8%B0%A2%E8%B0%A2%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-80192%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3E%E5%9B%9E%E5%A4%8D%EF%BC%9A%E8%AE%A1%E7%AE%97%E6%9C%BA%E5%90%8D%E7%A7%B0%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-80192%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3E%3CP%3E%E6%82%A8%E5%8F%AF%E4%BB%A5%E4%BD%BF%E7%94%A8%20For()%20%E5%BE%AA%E7%8E%AF%EF%BC%8C%E4%B9%9F%E5%8F%AF%E4%BB%A5%E6%89%A7%E8%A1%8C%E5%A6%82%E4%B8%8B%E6%93%8D%E4%BD%9C%EF%BC%9A%3C%2FP%3E%0A%3CPRE%3E%3CCODE%20class%3D%22%20language-jsl%22%3ENames%20Default%20To%20Here(%201%20)%3B%0Adt%20%3D%20Open(%20%22%24SAMPLE_DATA%2FConsumer%20Preferences.jmp%22%20)%3B%0A%0Auname%20%3D%20Get%20Environment%20Variable(%20%22COMPUTERNAME%22%20)%3B%0A%0Adt%20%26lt%3B%26lt%3B%20New%20Column(%20%22User%22%2C%20character%2C%20set%20each%20value(%20uname%20)%20)%3B%3C%2FCODE%3E%3C%2FPRE%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-80117%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3E%E5%9B%9E%E5%A4%8D%EF%BC%9A%E8%AE%A1%E7%AE%97%E6%9C%BA%E5%90%8D%E7%A7%B0%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-80117%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3E%3CP%3E%E5%AE%83%E5%8F%AF%E4%BB%A5%E5%B7%A5%E4%BD%9C%E3%80%82%E4%BD%86%E6%98%AF%E5%A6%82%E6%9E%9C%E6%88%91%E6%9C%89%2010%20%E8%A1%8C%E5%B9%B6%E4%B8%94%E6%83%B3%E8%A6%81%E5%9C%A8%E6%89%80%E6%9C%89%E8%A1%8C%E4%B8%AD%E9%83%BD%E4%BD%BF%E7%94%A8%20uname%20%E8%AF%A5%E6%80%8E%E4%B9%88%E5%8A%9E%EF%BC%9F%3C%2FP%3E%3CP%3E%E6%88%91%E4%BD%BF%E7%94%A8%20for%20%E5%BE%AA%E7%8E%AF%E5%90%97%EF%BC%9F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-80054%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3E%E5%9B%9E%E5%A4%8D%EF%BC%9A%E8%AE%A1%E7%AE%97%E6%9C%BA%E5%90%8D%E7%A7%B0%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-80054%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3E%3CP%3E%E6%82%A8%E5%BF%85%E9%A1%BB%E5%91%8A%E8%AF%89%20JMP%20%E6%82%A8%E8%A6%81%E5%B0%86%E5%80%BC%E4%BF%9D%E5%AD%98%E5%88%B0%20User%20%E5%88%97%E7%9A%84%E6%95%B0%E6%8D%AE%E8%A1%A8%E4%B8%AD%E7%9A%84%E5%93%AA%E4%B8%80%E8%A1%8C%E3%80%82%3C%2FP%3E%0A%3CPRE%3E%3CCODE%20class%3D%22%20language-jsl%22%3Euname%20%3D%20Get%20Environment%20Variable(%20%22COMPUTERNAME%22%20)%3B%0Adt%3Auser%5B1%5D%20%3D%20uname%3B%3C%2FCODE%3E%3C%2FPRE%3E%0A%3CP%3E%E4%B8%8A%E9%9D%A2%E7%9A%84%E4%BB%A3%E7%A0%81%E4%BC%9A%E5%B0%86%E2%80%9Cuname%E2%80%9D%E7%9A%84%E5%80%BC%E4%BF%9D%E5%AD%98%E5%88%B0%E2%80%9Cuser%E2%80%9D%E5%88%97%E7%9A%84%E7%AC%AC%201%20%E8%A1%8C%E5%80%BC%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-80045%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3E%E5%9B%9E%E5%A4%8D%EF%BC%9A%E8%AE%A1%E7%AE%97%E6%9C%BA%E5%90%8D%E7%A7%B0%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-80045%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3E%3CP%3E%E6%88%91%E9%9C%80%E8%A6%81%E8%8E%B7%E5%8F%96%E8%AE%A1%E7%AE%97%E6%9C%BA%E7%94%A8%E6%88%B7%E5%90%8D%E5%B9%B6%E5%B0%86%E5%85%B6%E5%AD%98%E5%82%A8%E5%9C%A8%E6%95%B0%E6%8D%AE%E8%A1%A8%E7%9A%84%E5%88%97%E4%B8%AD%E3%80%82%E6%88%91%E6%AD%A3%E5%9C%A8%E4%BD%BF%E7%94%A8%E4%BB%A5%E4%B8%8B%E8%84%9A%E6%9C%AC%20-%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3Euname%20%3D%20%E8%8E%B7%E5%8F%96%E7%8E%AF%E5%A2%83%E5%8F%98%E9%87%8F(%20%22COMPUTERNAME%22%20)%3B%3CBR%20%2F%3E%20dt%3A%E7%94%A8%E6%88%B7%3Duname%3B%3C%2FP%3E%3CP%3E%E5%85%B6%E4%B8%AD%20dt%20%E6%98%AF%E6%95%B0%E6%8D%AE%E8%A1%A8%EF%BC%8Cuser%20%E6%98%AF%E5%88%97%E5%90%8D%E3%80%82%3C%2FP%3E%3CP%3E%E4%BD%86%E6%88%91%E6%94%B6%E5%88%B0%E4%BB%A5%E4%B8%8B%E9%94%99%E8%AF%AF%20-%3C%2FP%3E%3CP%3E%E2%80%9C%E6%97%A0%E6%B3%95%E8%AE%BE%E7%BD%AE%E2%80%98%E7%94%A8%E6%88%B7%E2%80%99%E5%88%97%E7%9A%84%E5%80%BC%EF%BC%8C%E5%9B%A0%E4%B8%BA%E8%A1%8C%E5%8F%B7%20(-1)%20%E6%97%A0%E6%95%88%E3%80%82%E2%80%9D%3C%2FP%3E%3CP%3E%E6%9C%89%E4%BA%BA%E5%8F%AF%E4%BB%A5%E5%91%8A%E8%AF%89%E6%88%91%E8%BF%99%E9%87%8C%E5%87%BA%E4%BA%86%E4%BB%80%E4%B9%88%E9%97%AE%E9%A2%98%E5%90%97%EF%BC%9F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-3474%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3E%E5%9B%9E%E5%A4%8D%EF%BC%9A%E8%AE%A1%E7%AE%97%E6%9C%BA%E5%90%8D%E7%A7%B0%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-3474%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3E%26lt%3Bmeta%20http-equiv%3D%22Content-Type%22%20content%3D%22text%2Fhtml%3B%20charset%3DUTF-8%22%20%2F%26gt%3B%3CP%3E%E8%B0%A2%E8%B0%A2%EF%BC%8CJMP12%20%E4%B8%AD%E7%9A%84%E8%AF%AD%E6%B3%95%E5%AE%9E%E9%99%85%E4%B8%8A%E6%98%AF%EF%BC%9A%3C%2FP%3E%3CP%3E%3C%2FP%3E%3CP%3E%E8%8E%B7%E5%8F%96%E7%8E%AF%E5%A2%83%E5%8F%98%E9%87%8F(%E2%80%9C%E8%AE%A1%E7%AE%97%E6%9C%BA%E5%90%8D%E2%80%9D)%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-3473%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3E%E5%9B%9E%E5%A4%8D%EF%BC%9A%E8%AE%A1%E7%AE%97%E6%9C%BA%E5%90%8D%E7%A7%B0%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-3473%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3E%3CP%3E%E6%88%91%E9%9C%80%E8%A6%81%E4%B8%80%E4%BA%9B%E4%B8%8D%E8%83%BD%E9%80%9A%E8%BF%87%E8%AE%BE%E7%BD%AE%E7%8E%AF%E5%A2%83%E5%8F%98%E9%87%8F%E8%BF%99%E6%A0%B7%E7%AE%80%E5%8D%95%E7%9A%84%E4%BA%8B%E6%83%85%E6%9D%A5%E7%A0%B4%E8%A7%A3%E7%9A%84%E4%B8%9C%E8%A5%BF%E3%80%82%E6%84%9F%E8%B0%A2%20JohnP%20%E6%8F%90%E4%BE%9B%E7%9A%84%E4%B8%A4%E7%A7%8D%E8%A7%A3%E5%86%B3%E6%96%B9%E6%A1%88%EF%BC%81%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-3472%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3E%E5%9B%9E%E5%A4%8D%EF%BC%9A%E8%AE%A1%E7%AE%97%E6%9C%BA%E5%90%8D%E7%A7%B0%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-3472%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3E%3CP%3EJMP%2010%20%E7%9B%B4%E6%8E%A5%E6%94%AF%E6%8C%81%E6%AD%A4%E6%9F%A5%E8%AF%A2%3C%2FP%3E%3CP%3E%3C%2FP%3E%3CP%3E%E8%8E%B7%E5%8F%96%E7%8E%AF%E5%A2%83%E5%8F%98%E9%87%8F%EF%BC%88%E2%80%9C%E8%AE%A1%E7%AE%97%E6%9C%BA%E5%90%8D%E2%80%9D%EF%BC%89%3C%2FP%3E%3CP%3E%3C%2FP%3E%3CP%3E%E6%9C%80%E5%A5%BD%E7%9A%84%EF%BC%8C%3C%2FP%3E%3CP%3E-%E9%A9%AC%E7%89%B9%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-3471%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3E%E5%9B%9E%E5%A4%8D%EF%BC%9A%E8%AE%A1%E7%AE%97%E6%9C%BA%E5%90%8D%E7%A7%B0%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-3471%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3E%3CP%3E%E5%8E%9F%E5%B8%96%E8%BF%98%E8%AF%A2%E9%97%AE%E4%BA%86%E8%AE%A1%E7%AE%97%E6%9C%BA%E5%90%8D%E7%A7%B0%E3%80%82%20%E8%A6%81%E8%8E%B7%E5%8F%96%E8%AE%A1%E7%AE%97%E6%9C%BA%E5%90%8D%E7%A7%B0%EF%BC%8C%E8%AF%B7%E4%BD%BF%E7%94%A8%20Kernel32.dll%20%E5%92%8C%E6%96%B9%E6%B3%95%E5%90%8D%E7%A7%B0%20GetComputerNameA()%E3%80%82%20%E6%89%80%E4%BB%A5%E5%AE%83%E7%9C%8B%E8%B5%B7%E6%9D%A5%E5%83%8F%E8%BF%99%E6%A0%B7%EF%BC%9A%3C%2FP%3E%3CP%3E%3C%2FP%3E%3CP%3E%E5%8A%A8%E6%80%81%E9%93%BE%E6%8E%A5%E5%BA%93%3D%3CSPAN%20style%3D%22color%3A%20%230000ff%3B%22%3E%E5%8A%A0%E8%BD%BD%E5%8A%A8%E6%80%81%E9%93%BE%E6%8E%A5%E5%BA%93%3C%2FSPAN%3E%EF%BC%88%3CSPAN%20style%3D%22color%3A%20%23800080%3B%22%3E%20%E2%80%9CKernel32.dll%E2%80%9D%3C%2FSPAN%3E%20%EF%BC%89%EF%BC%9B%3C%2FP%3E%3CP%3Edll%20%26lt%3B%26lt%3B%20%E5%A3%B0%E6%98%8E%E5%87%BD%E6%95%B0(%3C%2FP%3E%3CP%3E%3CSPAN%20style%3D%22color%3A%20%23800080%3B%22%3E%E2%80%9C%E8%8E%B7%E5%8F%96%E8%AE%A1%E7%AE%97%E6%9C%BA%E5%90%8D%E7%A7%B0A%E2%80%9D%EF%BC%8C%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%E7%BA%A6%E5%AE%9A%EF%BC%88STDCALL%EF%BC%89%EF%BC%8C%3C%2FP%3E%3CP%3E%E5%88%AB%E5%90%8D%EF%BC%88%3CSPAN%20style%3D%22color%3A%20%23800080%3B%22%3E%20%E2%80%9C%E8%8E%B7%E5%8F%96%E8%AE%A1%E7%AE%97%E6%9C%BA%E5%90%8D%E7%A7%B0%E2%80%9D%3C%2FSPAN%3E%20)%2C%3C%2FP%3E%3CP%3E%3CSPAN%20style%3D%22color%3A%20%230000ff%3B%22%3E%E7%B2%BE%E6%B0%A8%E9%85%B8%3C%2FSPAN%3E%EF%BC%88%20Ansi%20%E5%AD%97%E7%AC%A6%E4%B8%B2%EF%BC%8C%3CSPAN%20style%3D%22color%3A%20%23800080%3B%22%3E%20%E2%80%9C%E8%AE%A1%E7%AE%97%E6%9C%BA%E5%90%8D%E2%80%9D%3C%2FSPAN%3E%20%EF%BC%8C%20%E8%BE%93%E5%87%BA%20%EF%BC%89%EF%BC%8C%3C%2FP%3E%3CP%3E%3CSPAN%20style%3D%22color%3A%20%230000ff%3B%22%3E%E7%B2%BE%E6%B0%A8%E9%85%B8%3C%2FSPAN%3E(%20UInt64%2C%3CSPAN%20style%3D%22color%3A%20%23800080%3B%22%3E%20%E2%80%9C%E9%95%BF%E5%BA%A6%E2%80%9D%3C%2FSPAN%3E%20%EF%BC%8C%20%E6%9B%B4%E6%96%B0%20%EF%BC%89%EF%BC%8C%3C%2FP%3E%3CP%3E%E8%BF%94%E5%9B%9E%EF%BC%88UInt32%EF%BC%89%3C%2FP%3E%3CP%3E%EF%BC%89%EF%BC%9B%3C%2FP%3E%3CP%3E%E5%A7%93%E5%90%8D%20%3D%3CSPAN%20style%3D%22color%3A%20%23800080%3B%22%3E%20%E2%80%9D%20%E2%80%9C%3C%2FSPAN%3E%20%3B%3C%2FP%3E%3CP%3E%E6%9C%AA%E9%95%BF%20%3D%3CSPAN%20style%3D%22color%3A%20%230000ff%3B%22%3E%E9%95%BF%E5%BA%A6%3C%2FSPAN%3E%EF%BC%88%E5%A7%93%E5%90%8D%EF%BC%89%3B%3C%2FP%3E%3CP%3E%E7%BB%93%E6%9E%9C%20%3D%20dll%20%26lt%3B%26lt%3B%20GetComputerName(name%2C%20unlen)%3B%3C%2FP%3E%3CP%3E%3CSPAN%20style%3D%22color%3A%20%230000ff%3B%22%3E%E5%B1%95%E7%A4%BA%3C%2FSPAN%3E%EF%BC%88%E5%A7%93%E5%90%8D%EF%BC%89%3B%3C%2FP%3E%3CP%3Edll%20%26lt%3B%26lt%3B%20%E5%8D%B8%E8%BD%BDDLL()%3B%3C%2FP%3E%3CP%3E%3C%2FP%3E%3CP%3E%E7%BA%A6%E7%BF%B0%C2%B7P%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-3470%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3E%E5%9B%9E%E5%A4%8D%EF%BC%9A%E8%AE%A1%E7%AE%97%E6%9C%BA%E5%90%8D%E7%A7%B0%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-3470%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3E%3CP%3E%E7%BA%A6%E7%BF%B0%C2%B7P%2C%3C%2FP%3E%3CP%3E%3C%2FP%3E%3CP%3E%E9%9D%9E%E5%B8%B8%E6%84%9F%E8%B0%A2%EF%BC%81%E8%BF%99%E6%AD%A3%E6%98%AF%E6%88%91%E6%AD%A3%E5%9C%A8%E5%AF%BB%E6%89%BE%E7%9A%84%E3%80%82%E6%97%A0%E6%B3%95%E5%B0%86%E6%AD%A4%E6%A0%87%E8%AE%B0%E4%B8%BA%E6%AD%A3%E7%A1%AE%E7%AD%94%E6%A1%88%EF%BC%8C%E5%9B%A0%E4%B8%BA%E6%88%91%E6%B2%A1%E6%9C%89%E5%90%AF%E5%8A%A8%E6%AD%A4%E7%BA%BF%E7%A8%8B%E3%80%82%3C%2FP%3E%3CP%3E%3C%2FP%3E%3CP%3E%3CSPAN%20__jive_emoticon_name%3D%22cool%22%20__jive_macro_name%3D%22emoticon%22%20class%3D%22jive_macro%20jive_macro_emoticon%20jive_emote%22%20src%3D%22https%3A%2F%2Fcommunity.jmp.com%2F5.0.2%2Fimages%2Femoticons%2Fcool.gif%22%3E%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-3469%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3E%E5%9B%9E%E5%A4%8D%EF%BC%9A%E8%AE%A1%E7%AE%97%E6%9C%BA%E5%90%8D%E7%A7%B0%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-3469%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3E%3CP%3E%E8%BF%99%E6%98%AF%E6%88%91%E4%B8%BA%E4%BB%8E%E7%B3%BB%E7%BB%9F%E8%8E%B7%E5%8F%96%E7%94%A8%E6%88%B7%E5%90%8D%E8%80%8C%E7%BC%96%E5%86%99%E7%9A%84%E4%B8%80%E4%BA%9B%20JSL%E3%80%82%20%E8%BF%99%E9%80%82%E7%94%A8%E4%BA%8E%E5%9C%A8%20Windows%207%20%E4%B8%8A%E8%BF%90%E8%A1%8C%E7%9A%84%20JMP%2010%E3%80%82%3C%2FP%3E%3CP%3E%3C%2FP%3E%3CP%3E%E5%8A%A8%E6%80%81%E9%93%BE%E6%8E%A5%E5%BA%93%3D%3CSPAN%20style%3D%22color%3A%20%230000ff%3B%22%3E%E5%8A%A0%E8%BD%BD%E5%8A%A8%E6%80%81%E9%93%BE%E6%8E%A5%E5%BA%93%3C%2FSPAN%3E%EF%BC%88%3CSPAN%20style%3D%22color%3A%20%23800080%3B%22%3E%20%E2%80%9Cmpr.dll%E2%80%9D%3C%2FSPAN%3E%20%EF%BC%89%EF%BC%9B%3C%2FP%3E%3CP%3Edll%20%26lt%3B%26lt%3B%20%E5%A3%B0%E6%98%8E%E5%87%BD%E6%95%B0(%3C%2FP%3E%3CP%3E%3CSPAN%20style%3D%22color%3A%20%23800080%3B%22%3E%E2%80%9CWNetGetUserA%E2%80%9D%EF%BC%8C%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%E7%BA%A6%E5%AE%9A%EF%BC%88STDCALL%EF%BC%89%EF%BC%8C%3C%2FP%3E%3CP%3E%E5%88%AB%E5%90%8D%EF%BC%88%3CSPAN%20style%3D%22color%3A%20%23800080%3B%22%3E%20%E2%80%9C%E8%8E%B7%E5%8F%96%E7%94%A8%E6%88%B7%E5%90%8D%E2%80%9D%3C%2FSPAN%3E%20)%2C%3C%2FP%3E%3CP%3E%3CSPAN%20style%3D%22color%3A%20%230000ff%3B%22%3E%E7%B2%BE%E6%B0%A8%E9%85%B8%3C%2FSPAN%3E(%20UInt8%2C%3CSPAN%20style%3D%22color%3A%20%23800080%3B%22%3E%20%E2%80%9C%E6%A0%BC%E5%BC%8F%E2%80%9D%3C%2FSPAN%3E%20%EF%BC%8C%20%E8%BE%93%E5%85%A5%20%EF%BC%89%EF%BC%8C%3C%2FP%3E%3CP%3E%3CSPAN%20style%3D%22color%3A%20%230000ff%3B%22%3E%E7%B2%BE%E6%B0%A8%E9%85%B8%3C%2FSPAN%3E%EF%BC%88%20Ansi%20%E5%AD%97%E7%AC%A6%E4%B8%B2%EF%BC%8C%3CSPAN%20style%3D%22color%3A%20%23800080%3B%22%3E%20%E2%80%9C%E7%94%A8%E6%88%B7%E5%90%8D%E2%80%9D%3C%2FSPAN%3E%20%EF%BC%8C%20%E8%BE%93%E5%87%BA%20%EF%BC%89%EF%BC%8C%3C%2FP%3E%3CP%3E%3CSPAN%20style%3D%22color%3A%20%230000ff%3B%22%3E%E7%B2%BE%E6%B0%A8%E9%85%B8%3C%2FSPAN%3E(%20UInt64%2C%3CSPAN%20style%3D%22color%3A%20%23800080%3B%22%3E%20%E2%80%9C%E9%95%BF%E5%BA%A6%E2%80%9D%3C%2FSPAN%3E%20%EF%BC%8C%20%E6%9B%B4%E6%96%B0%20%EF%BC%89%EF%BC%8C%3C%2FP%3E%3CP%3E%E8%BF%94%E5%9B%9E%EF%BC%88UInt32%EF%BC%89%3C%2FP%3E%3CP%3E%EF%BC%89%EF%BC%9B%3C%2FP%3E%3CP%3E%E7%94%A8%E6%88%B7%E5%90%8D%20%3D%3CSPAN%20style%3D%22color%3A%20%23800080%3B%22%3E%20%E2%80%9D%20%E2%80%9C%3C%2FSPAN%3E%20%3B%3C%2FP%3E%3CP%3E%E6%9C%AA%E9%95%BF%20%3D%3CSPAN%20style%3D%22color%3A%20%230000ff%3B%22%3E%E9%95%BF%E5%BA%A6%3C%2FSPAN%3E%EF%BC%88%E7%94%A8%E6%88%B7%E5%90%8D%EF%BC%89%3B%3C%2FP%3E%3CP%3E%E7%BB%93%E6%9E%9C%20%3D%20dll%20%26lt%3B%26lt%3B%20%E8%8E%B7%E5%8F%96%E7%94%A8%E6%88%B7%E5%90%8D(%3CSPAN%20style%3D%22color%3A%20%23008000%3B%22%3E%200%3C%2FSPAN%3E%20%EF%BC%8C%E7%94%A8%E6%88%B7%E5%90%8D%EF%BC%8Cunlen)%3B%3C%2FP%3E%3CP%3E%3CSPAN%20style%3D%22color%3A%20%230000ff%3B%22%3E%E5%B1%95%E7%A4%BA%3C%2FSPAN%3E%EF%BC%88%E7%94%A8%E6%88%B7%E5%90%8D%EF%BC%89%3B%3C%2FP%3E%3CP%3Edll%20%26lt%3B%26lt%3B%20%E5%8D%B8%E8%BD%BDDLL()%3B%3C%2FP%3E%3CP%3E%3C%2FP%3E%3CP%3E%E9%A6%96%E5%85%88%EF%BC%8C%E6%82%A8%E9%9C%80%E8%A6%81%E5%8A%A0%E8%BD%BD%E7%B3%BB%E7%BB%9FDLL%E3%80%82%20%E6%88%91%E5%AF%B9%20Advapi32.dll%20%E6%B2%A1%E6%9C%89%E4%BB%BB%E4%BD%95%E8%BF%90%E6%B0%94%E3%80%82%20%E4%BD%86%E6%88%91%E9%80%9A%E8%BF%87%20mpr.dll%20%E6%89%BE%E5%88%B0%E4%BA%86%E6%88%91%E9%9C%80%E8%A6%81%E7%9A%84%E4%B8%9C%E8%A5%BF%E3%80%82%20%E8%AF%B7%E6%B3%A8%E6%84%8F%EF%BC%8C%E6%88%91%E4%B8%8D%E9%9C%80%E8%A6%81%E6%8C%87%E5%AE%9A%20DLL%20%E7%9A%84%E8%B7%AF%E5%BE%84%EF%BC%8C%E5%9B%A0%E4%B8%BA%E5%AE%83%E4%BD%8D%E4%BA%8E%E6%88%91%E7%9A%84%E7%B3%BB%E7%BB%9F%E8%B7%AF%E5%BE%84%E4%B8%8A%E3%80%82%3C%2FP%3E%3CP%3E%3C%2FP%3E%3CP%3E%E5%8A%A8%E6%80%81%E9%93%BE%E6%8E%A5%E5%BA%93%3D%3CSPAN%20style%3D%22color%3A%20%230000ff%3B%22%3E%E5%8A%A0%E8%BD%BD%E5%8A%A8%E6%80%81%E9%93%BE%E6%8E%A5%E5%BA%93%3C%2FSPAN%3E(%E2%80%9Cmpr.dll%E2%80%9D)%3B%3C%2FP%3E%3CP%3E%3C%2FP%3E%3CP%3E%E6%8E%A5%E4%B8%8B%E6%9D%A5%EF%BC%8C%E6%82%A8%E9%9C%80%E8%A6%81%E5%A3%B0%E6%98%8E%E8%A6%81%E5%9C%A8%20DLL%20%E4%B8%AD%E8%B0%83%E7%94%A8%E7%9A%84%E4%BB%BB%E4%BD%95%E6%96%B9%E6%B3%95%E3%80%82%20%E6%88%91%E6%83%B3%E8%A6%81%E4%BD%BF%E7%94%A8%E7%9A%84%E6%96%B9%E6%B3%95%E5%AE%9E%E9%99%85%E4%B8%8A%E7%A7%B0%E4%B8%BA%20WNetGetUserA()%EF%BC%8C%E4%BD%86%E9%80%9A%E8%BF%87%E5%AE%9A%E4%B9%89%E5%88%AB%E5%90%8D%EF%BC%8C%E6%88%91%E5%8F%AF%E4%BB%A5%E7%AE%80%E5%8D%95%E5%9C%B0%E4%BD%BF%E7%94%A8%20GetUserName()%20%E6%9D%A5%E8%B0%83%E7%94%A8%E5%AE%83%E3%80%82%3C%2FP%3E%3CP%3E%3C%2FP%3E%3CP%3Edll%20%26lt%3B%26lt%3B%20%E5%A3%B0%E6%98%8E%E5%87%BD%E6%95%B0(%3C%2FP%3E%3CP%3E%3CSPAN%20style%3D%22color%3A%20%23800080%3B%22%3E%E2%80%9CWNet%E8%8E%B7%E5%8F%96%E7%94%A8%E6%88%B7A%E2%80%9D%3C%2FSPAN%3E%20%2C%3C%2FP%3E%3CP%3E%E7%BA%A6%E5%AE%9A%EF%BC%88STDCALL%EF%BC%89%EF%BC%8C%3C%2FP%3E%3CP%3E%E5%88%AB%E5%90%8D%EF%BC%88%3CSPAN%20style%3D%22color%3A%20%23800080%3B%22%3E%20%E2%80%9C%E8%8E%B7%E5%8F%96%E7%94%A8%E6%88%B7%E5%90%8D%E2%80%9D%3C%2FSPAN%3E%20)%2C%3C%2FP%3E%3CP%3E%3CSPAN%20style%3D%22color%3A%20%230000ff%3B%22%3E%E7%B2%BE%E6%B0%A8%E9%85%B8%3C%2FSPAN%3E(%20UInt8%2C%3CSPAN%20style%3D%22color%3A%20%23800080%3B%22%3E%20%E2%80%9C%E6%A0%BC%E5%BC%8F%E2%80%9D%3C%2FSPAN%3E%20%EF%BC%8C%20%E8%BE%93%E5%85%A5%20%EF%BC%89%EF%BC%8C%3C%2FP%3E%3CP%3E%3CSPAN%20style%3D%22color%3A%20%230000ff%3B%22%3E%E7%B2%BE%E6%B0%A8%E9%85%B8%3C%2FSPAN%3E%EF%BC%88%20Ansi%20%E5%AD%97%E7%AC%A6%E4%B8%B2%EF%BC%8C%3CSPAN%20style%3D%22color%3A%20%23800080%3B%22%3E%20%E2%80%9C%E7%94%A8%E6%88%B7%E5%90%8D%E2%80%9D%3C%2FSPAN%3E%20%EF%BC%8C%20%E8%BE%93%E5%87%BA%20%EF%BC%89%EF%BC%8C%3C%2FP%3E%3CP%3E%3CSPAN%20style%3D%22color%3A%20%230000ff%3B%22%3E%E7%B2%BE%E6%B0%A8%E9%85%B8%3C%2FSPAN%3E(%20UInt64%2C%3CSPAN%20style%3D%22color%3A%20%23800080%3B%22%3E%20%E2%80%9C%E9%95%BF%E5%BA%A6%E2%80%9D%3C%2FSPAN%3E%20%EF%BC%8C%20%E6%9B%B4%E6%96%B0%20%EF%BC%89%EF%BC%8C%3C%2FP%3E%3CP%3E%E8%BF%94%E5%9B%9E%EF%BC%88UInt32%EF%BC%89%3C%2FP%3E%3CP%3E%EF%BC%89%EF%BC%9B%3C%2FP%3E%3CP%3E%3C%2FP%3E%3CP%3E%E7%8E%B0%E5%9C%A8%E6%88%91%E6%83%B3%E5%AE%9A%E4%B9%89%E8%A6%81%E4%BD%9C%E4%B8%BA%E5%8F%82%E6%95%B0%E4%BC%A0%E9%80%92%E7%9A%84%E5%8F%98%E9%87%8F%E3%80%82%20%E6%88%91%E5%88%9B%E5%BB%BA%E4%B8%80%E4%B8%AA%E7%94%A8%E6%88%B7%E5%90%8D%E5%B9%B6%E5%B0%86%E5%85%B6%E5%88%9D%E5%A7%8B%E5%8C%96%E4%B8%BA%E7%A9%BA%E7%99%BD%E3%80%82%20%E7%84%B6%E5%90%8E%E6%88%91%E4%BD%BF%E7%94%A8%20JMP%20%E4%B8%AD%E7%9A%84%20length()%20%E5%87%BD%E6%95%B0%E6%9D%A5%E8%8E%B7%E5%8F%96%E5%88%9A%E5%88%9A%E5%88%9B%E5%BB%BA%E7%9A%84%E7%BC%93%E5%86%B2%E5%8C%BA%E7%9A%84%E5%BD%93%E5%89%8D%E9%95%BF%E5%BA%A6%E3%80%82%3C%2FP%3E%3CP%3E%3C%2FP%3E%3CP%3E%E7%94%A8%E6%88%B7%E5%90%8D%20%3D%3CSPAN%20style%3D%22color%3A%20%23800080%3B%22%3E%20%E2%80%9D%20%E2%80%9C%3C%2FSPAN%3E%20%3B%3C%2FP%3E%3CP%3E%E6%9C%AA%E9%95%BF%20%3D%3CSPAN%20style%3D%22color%3A%20%230000ff%3B%22%3E%E9%95%BF%E5%BA%A6%3C%2FSPAN%3E%EF%BC%88%E7%94%A8%E6%88%B7%E5%90%8D%EF%BC%89%3B%3C%2FP%3E%3CP%3E%3C%2FP%3E%3CP%3E%E7%8E%B0%E5%9C%A8%E6%88%91%E5%8F%AF%E4%BB%A5%E8%B0%83%E7%94%A8%E8%AF%A5%E5%87%BD%E6%95%B0%E4%BA%86%E3%80%82%20%E8%AF%B7%E6%B3%A8%E6%84%8F%EF%BC%8C%E7%AC%AC%E4%B8%80%E4%B8%AA%E5%8F%82%E6%95%B0%E5%8F%AA%E6%98%AF%E8%BE%93%E5%85%A5%EF%BC%8C%E5%9B%A0%E6%AD%A4%E6%88%91%E5%8F%AA%E4%BD%BF%E7%94%A8%E5%B8%B8%E9%87%8F%E8%80%8C%E4%B8%8D%E6%98%AF%E5%AE%9A%E4%B9%89%E5%8F%98%E9%87%8F%E3%80%82%20%E7%84%B6%E5%90%8E%20show()%20%E5%91%BD%E4%BB%A4%E5%9C%A8%E6%8B%A8%E6%89%93%E7%94%B5%E8%AF%9D%E5%90%8E%E6%98%BE%E7%A4%BA%E6%88%91%E7%9A%84%E7%94%A8%E6%88%B7%E5%90%8D%E3%80%82%3C%2FP%3E%3CP%3E%3C%2FP%3E%3CP%3E%E7%BB%93%E6%9E%9C%20%3D%20dll%20%26lt%3B%26lt%3B%20%E8%8E%B7%E5%8F%96%E7%94%A8%E6%88%B7%E5%90%8D(%3CSPAN%20style%3D%22color%3A%20%23008000%3B%22%3E%200%3C%2FSPAN%3E%20%EF%BC%8C%E7%94%A8%E6%88%B7%E5%90%8D%EF%BC%8Cunlen)%3B%3C%2FP%3E%3CP%3E%3CSPAN%20style%3D%22color%3A%20%230000ff%3B%22%3E%E5%B1%95%E7%A4%BA%3C%2FSPAN%3E%EF%BC%88%E7%94%A8%E6%88%B7%E5%90%8D%EF%BC%89%3B%3C%2FP%3E%3CP%3E%3C%2FP%3E%3CP%3E%E6%9C%80%E5%90%8E%EF%BC%8C%E6%88%91%E5%AE%8C%E6%88%90%E4%BA%86%EF%BC%8C%E6%89%80%E4%BB%A5%E6%88%91%E6%B8%85%E7%90%86%E5%B9%B2%E5%87%80%E3%80%82%3C%2FP%3E%3CP%3E%3C%2FP%3E%3CP%3Edll%20%26lt%3B%26lt%3B%20%E5%8D%B8%E8%BD%BDDLL()%3B%3C%2FP%3E%3CP%3E%3C%2FP%3E%3CP%3E%E6%88%91%E5%B8%8C%E6%9C%9B%E8%BF%99%E5%AF%B9%E4%BD%A0%E6%9C%89%E7%94%A8%E3%80%82%20%E5%A6%82%E6%9E%9C%E6%82%A8%E6%83%B3%E5%87%BA%E6%9B%B4%E5%A5%BD%E7%9A%84%E6%96%B9%E6%B3%95%EF%BC%8C%E8%AF%B7%E5%91%8A%E8%AF%89%E6%88%91%E4%BB%AC%E3%80%82%3C%2FP%3E%3CP%3E%3C%2FP%3E%3CP%3E%E9%A1%BA%E4%BE%BF%E8%AF%B4%E4%B8%80%E5%8F%A5%EF%BC%8C%E4%BD%BF%E7%94%A8%20loadDLL%20%E4%BB%85%E9%80%82%E7%94%A8%E4%BA%8E%20Windows%E3%80%82%20Mac%20%E4%B8%8A%E4%B8%8D%E6%94%AF%E6%8C%81%E5%AE%83%E3%80%82%20%E5%9B%A0%E6%AD%A4%EF%BC%8C%E6%88%91%E5%9C%A8%E8%84%9A%E6%9C%AC%E7%9A%84%E9%A1%B6%E9%83%A8%E8%BF%9B%E8%A1%8C%E4%BA%86%E6%A3%80%E6%9F%A5%E3%80%82%3C%2FP%3E%3CP%3E%3C%2FP%3E%3CP%3E%3CSPAN%20style%3D%22color%3A%20%230000ff%3B%22%3E%E5%90%8D%E7%A7%B0%E9%BB%98%E8%AE%A4%E4%B8%BA%E6%AD%A4%E5%A4%84%3C%2FSPAN%3E%EF%BC%88%3CSPAN%20style%3D%22color%3A%20%23008000%3B%22%3E%201%3C%2FSPAN%3E%20%EF%BC%89%EF%BC%9B%3C%2FP%3E%3CP%3E%3CSPAN%20style%3D%22color%3A%20%230000ff%3B%22%3E%E5%A6%82%E6%9E%9C%3C%2FSPAN%3E%EF%BC%88%3CSPAN%20style%3D%22color%3A%20%230000ff%3B%22%3E%E4%B8%BB%E6%9C%BA%E6%98%AF%3C%2FSPAN%3E%EF%BC%88%20%E8%8B%B9%E6%9E%9C%20%EF%BC%89%EF%BC%8C%3C%2FP%3E%3CP%3E%3CSPAN%20style%3D%22color%3A%20%230000ff%3B%22%3E%E6%89%93%E5%8D%B0%3C%2FSPAN%3E%EF%BC%88%3CSPAN%20style%3D%22color%3A%20%23800080%3B%22%3E%20%E2%80%9C%E6%8A%B1%E6%AD%89%EF%BC%8CMac%20%E4%B8%8D%E6%94%AF%E6%8C%81%E6%AD%A4%E8%84%9A%E6%9C%AC%E3%80%82%E2%80%9D%3C%2FSPAN%3E%20%EF%BC%89%EF%BC%9B%3C%2FP%3E%3CP%3E%3CSPAN%20style%3D%22color%3A%20%230000ff%3B%22%3E%E5%81%9C%E6%AD%A2%3C%2FSPAN%3E()%3B%3C%2FP%3E%3CP%3E%EF%BC%89%EF%BC%9B%3C%2FP%3E%3CP%3E%3C%2FP%3E%3CP%3E%E4%BA%AB%E5%8F%97%EF%BC%8C%3C%2FP%3E%3CP%3E%E7%BA%A6%E7%BF%B0%C2%B7P%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-3468%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3E%E5%9B%9E%E5%A4%8D%EF%BC%9A%E8%AE%A1%E7%AE%97%E6%9C%BA%E5%90%8D%E7%A7%B0%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-3468%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3E%3CP%3E%E6%9C%89%E4%BA%BA%E5%8F%AF%E4%BB%A5%E5%B8%AE%E5%8A%A9%E6%88%91%E4%BA%86%E8%A7%A3%E8%B0%83%E7%94%A8%20DLL%20%E7%9A%84%E8%AF%AD%E6%B3%95%E5%90%97%EF%BC%9F%E6%88%91%E6%83%B3%E4%BD%BF%E7%94%A8%20Windows%20API%20GetUserName%20%E5%87%BD%E6%95%B0%E8%8E%B7%E5%8F%96%E7%94%A8%E6%88%B7%E7%9A%84%E7%94%A8%E6%88%B7%E5%90%8D%E3%80%82%E6%88%91%E4%B8%8D%E6%83%B3%E6%9F%A5%E6%89%BE%E7%94%A8%E6%88%B7%E5%90%8D%E7%8E%AF%E5%A2%83%E5%8F%98%E9%87%8F%EF%BC%8C%E5%9B%A0%E4%B8%BA%E5%AE%83%E5%8F%AF%E8%83%BD%E8%A2%AB%E6%AC%BA%E9%AA%97%E3%80%82%3C%2FP%3E%3CP%3E%3C%2FP%3E%3CP%3EAdvapi32.dll%3C%2FP%3E%3CP%3E%3C%2FP%3E%3CP%3EBOOL%20WINAPI%20%E8%8E%B7%E5%8F%96%E7%94%A8%E6%88%B7%E5%90%8D(%3C%2FP%3E%3CP%3E_Out_%20LPTSTR%20lpBuffer%2C%3C%2FP%3E%3CP%3E_Inout_%20LPDWORD%20lpnSize%3C%2FP%3E%3CP%3E%EF%BC%89%EF%BC%9B%3C%2FP%3E%3CP%3E%3C%2FP%3E%3CP%3E%E8%B0%A2%E8%B0%A2%EF%BC%81%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-3467%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3E%E5%9B%9E%E5%A4%8D%EF%BC%9A%E8%AE%A1%E7%AE%97%E6%9C%BA%E5%90%8D%E7%A7%B0%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-3467%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3E%E4%BD%A0%E5%A5%BD%EF%BC%9A%3CBR%20%2F%3E%3CBR%20%2F%3E%E5%81%87%E8%AE%BE%E4%BD%BF%E7%94%A8%20Windows%20XP%20%E5%92%8C%20JMP%208%EF%BC%8C%E5%8F%AF%E4%BB%A5%E9%80%9A%E8%BF%87%20LoadDLL%20%E5%91%BD%E4%BB%A4%E6%A3%80%E7%B4%A2%20Windoz%20%E5%8F%98%E9%87%8F%EF%BC%88%E5%A6%82%E6%9E%9C%E6%83%B3%E8%A6%81%E6%A3%80%E7%B4%A2%E6%89%80%E6%9C%89%20ENV%20%E5%8F%98%E9%87%8F%EF%BC%8C%E4%B9%9F%E5%8F%AF%E4%BB%A5%E4%BD%BF%E7%94%A8%20JMP%209%EF%BC%89%E3%80%82%20%3CBR%20%2F%3E%3CBR%20%2F%3E%E4%B8%8B%E9%9D%A2%E7%9A%84%E7%A4%BA%E4%BE%8B%E4%BD%BF%E7%94%A8%E2%80%9CGetEnvironmentStrings%E2%80%9DWindows%20%E5%87%BD%E6%95%B0%E6%9D%A5%E6%A3%80%E7%B4%A2%E6%89%80%E6%9C%89%E5%85%A8%E5%B1%80%E7%8E%AF%E5%A2%83%E5%8F%98%E9%87%8F%EF%BC%88%E5%8C%85%E6%8B%AC%20COMPUTERNAME%EF%BC%89%E5%B9%B6%E5%9C%A8%E6%95%B0%E6%8D%AE%E8%A1%A8%E5%92%8C%E6%95%B0%E7%BB%84%E4%B8%AD%E8%BF%9B%E8%A1%8C%E6%9C%89%E8%B6%A3%E7%9A%84%E5%8A%A0%E8%BD%BD%E3%80%82%3CBR%20%2F%3E%3CBR%20%2F%3E%E7%9C%8B%EF%BC%9A%3CBR%20%2F%3E%20%3CA%20href%3D%22http%3A%2F%2Fwww.nesug.org%2FProceedings%2Fnesug10%2Fad%2Fad04.pdf%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3Ehttp%3A%2F%2Fwww.nesug.org%2FProceedings%2Fnesug10%2Fad%2Fad04.pdf%3C%2FA%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%E6%AD%A4%E8%87%B4%EF%BC%8C%3CBR%20%2F%3E%20-%E9%A9%AC%E7%89%B9%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-3466%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3E%E5%9B%9E%E5%A4%8D%EF%BC%9A%E8%AE%A1%E7%AE%97%E6%9C%BA%E5%90%8D%E7%A7%B0%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-3466%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3E%E4%BD%A0%E5%A5%BD%EF%BC%8C%3CBR%20%2F%3E%3CBR%20%2F%3E%E6%88%91%E6%AD%A3%E5%9C%A8%E4%BD%BF%E7%94%A8%20jmp%208%20%E6%98%AF%E5%90%A6%E6%9C%89%E7%B1%BB%E4%BC%BC%E7%9A%84%E5%8A%9F%E8%83%BD%E5%8F%AF%E4%BB%A5%E6%A3%80%E7%B4%A2%E8%AE%A1%E7%AE%97%E6%9C%BA%E5%90%8D%E7%A7%B0%3CBR%20%2F%3E%3CBR%20%2F%3E%E5%9D%A6%E5%85%8B%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-3465%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3E%E5%9B%9E%E5%A4%8D%EF%BC%9A%E8%AE%A1%E7%AE%97%E6%9C%BA%E5%90%8D%E7%A7%B0%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-3465%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3E%E5%97%A8%EF%BC%8C%E5%B0%BC%E5%B0%94%EF%BC%9A%3CBR%20%2F%3E%3CBR%20%2F%3E%E5%9C%A8%20Windose%20%E4%B8%8A%EF%BC%8C%E4%BB%8E%E5%BC%80%E5%A7%8B%E8%8F%9C%E5%8D%95%E8%BF%90%E8%A1%8C%20cmd%20%E5%B0%86%E6%89%93%E5%BC%80%E4%B8%80%E4%B8%AA%20DOS%20%E7%AA%97%E5%8F%A3%E3%80%82%20%E5%9C%A8%E6%8F%90%E7%A4%BA%E7%AC%A6%E4%B8%AD%E9%94%AE%E5%85%A5%E2%80%9Cset%E2%80%9D%E4%BB%A5%E8%8E%B7%E5%BE%97%E6%B4%BB%E5%8A%A8%E7%8E%AF%E5%A2%83%E5%8F%98%E9%87%8F%E7%9A%84%E5%88%97%E8%A1%A8%E3%80%82%3CBR%20%2F%3E%3CBR%20%2F%3E%E5%8F%A6%E5%A4%96%20-%20%E5%8F%B3%E9%94%AE%E5%8D%95%E5%87%BB%E6%A1%8C%E9%9D%A2%E4%B8%8A%E7%9A%84%E2%80%9C%E6%88%91%E7%9A%84%E8%AE%A1%E7%AE%97%E6%9C%BA%E2%80%9D%E5%9B%BE%E6%A0%87%20-%20%E9%80%89%E6%8B%A9%E5%BA%95%E9%83%A8%E9%99%84%E8%BF%91%E7%9A%84%E2%80%9C%E9%AB%98%E7%BA%A7%E2%80%9D%E9%80%89%E9%A1%B9%E5%8D%A1%E7%8E%AF%E5%A2%83%E5%8F%98%E9%87%8F%E6%8C%89%E9%92%AE%E3%80%82%3CBR%20%2F%3E%3CBR%20%2F%3E%20JMP%209%20%E5%8C%85%E5%90%AB%E4%B8%80%E4%B8%AA%E6%96%B9%E4%BE%BF%E7%9A%84%E5%8A%9F%E8%83%BD%EF%BC%8C%E5%8F%AF%E4%BB%A5%E4%BB%8E%E7%8E%AF%E5%A2%83%E4%B8%AD%E6%A3%80%E7%B4%A2%E5%85%B6%E4%B8%AD%E4%BB%BB%E4%BD%95%E4%B8%80%E9%A1%B9%EF%BC%9A%3CBR%20%2F%3E%3CBR%20%2F%3E%20cname%20%3D%20%E8%8E%B7%E5%8F%96%E7%8E%AF%E5%A2%83%E5%8F%98%E9%87%8F(%20%22COMPUTERNAME%22%20)%3B%3CBR%20%2F%3E%3CBR%20%2F%3E%E5%B9%B6%E4%B8%94%E5%8F%AF%E4%BB%A5%E6%A0%B9%E6%8D%AE%E4%BB%8E%E9%82%A3%E9%87%8C%E8%BF%94%E5%9B%9E%E7%9A%84%E5%80%BC%E8%BF%9B%E8%A1%8C%E7%9B%B8%E5%BA%94%E7%9A%84%E5%88%86%E6%94%AF%E3%80%82%3CBR%20%2F%3E%3CBR%20%2F%3E%E6%AD%A4%E8%87%B4%EF%BC%8C%3CBR%20%2F%3E%20-%E9%A9%AC%E7%89%B9%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-753036%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%E5%9B%9E%E5%A4%8D%EF%BC%9A%E8%AE%A1%E7%AE%97%E6%9C%BA%E5%90%8D%E7%A7%B0%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-753036%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3E%E8%BF%99%E5%AF%B9%E6%88%91%E6%9D%A5%E8%AF%B4%E5%8F%AF%E4%BB%A5%E8%8E%B7%E5%8F%96%20Windows%20%E4%B8%8A%E7%9A%84%E5%BD%93%E5%89%8D%E7%94%A8%E6%88%B7%E5%90%8D%EF%BC%9A%3C%2FP%3E%3CPRE%3E%3CCODE%20class%3D%22%20language-jsl%22%3Euname%20%3D%20Get%20Environment%20Variable(%20%22USERNAME%22%20)%3B%3C%2FCODE%3E%3C%2FPRE%3E%3C%2FLINGO-BODY%3E
Choose Language Hide Translation Bar
pniel
Level I

computer name

Hi jmpers,

I need to build an application in jmp for different users, meaning that different users will have different User Interface.. (it is the same application) I was wondering if is there a way to get user profile? Let say computer name, user name or server name from jmp ? Doing so I can decide which script to open

Tanks

pniel
1 ACCEPTED SOLUTION

Accepted Solutions
JohnPonte
Staff (Retired)

Re: computer name

Here is some JSL that I wrote for getting the username from the system. This worked in JMP 10, running on Windows 7.

dll = Load DLL( "mpr.dll" );

dll << DeclareFunction(

     "WNetGetUserA",

      Convention( STDCALL ),

      Alias ( "GetUserName" ),

      Arg( UInt8, "format", input ),

      Arg( AnsiString, "username", output ),

      Arg( UInt64, "length", update ),

      Returns( UInt32 )

);

username = "                                                  ";

unlen = length(username);

result = dll << GetUserName(0, username, unlen);

show(username);

dll << UnloadDLL();

First, you need to load the system DLL. I didn't have any luck with Advapi32.dll. But I found what I needed with mpr.dll. Notice I didn't need to specify a path to the DLL since it was on my system path.

dll = Load DLL("mpr.dll");

Next, you need to declare any method that you are going to call in the DLL. The method I want to use is actually called WNetGetUserA(), but by defining an alias, I can simply call it using GetUserName().

dll << DeclareFunction(

      "WNetGetUserA",

      Convention( STDCALL ),

      Alias ( "GetUserName" ),

      Arg( UInt8, "format", input ),

      Arg( AnsiString, "username", output ),

      Arg( UInt64, "length", update ),

      Returns( UInt32 )

);

Now I want to define the variables that I am going to pass in as arguments. I create a username and initialize it to blanks. Then I use the length() function in JMP to get the current length of the buffer I just created.

username = "                                                  " ;

unlen = length(username);

Now I can call the function. Notice the first argument is input only, so I just use a constant instead of defining a variable. Then the show() command shows my username after making the call.

result = dll << GetUserName(0, username, unlen);

show(username);

Finally, I am done so I clean up.

dll << UnloadDLL();

I hope this works for you. If you come up with a better way, please let us know.

By the way, using loadDLL only works on Windows. It isn't supported on the Mac. For that reason I do a check at the top of my script.

Names Default To Here( 1 );

If( Host is( Mac ),

     Print( "Sorry, this script is not supported on Mac." );

     Stop();

);

Enjoy,

JohnP

View solution in original post

17 REPLIES 17
mattf
Level V

Re: computer name

Hi Pneil:

On Windose, from the start menu, run, cmd opens a DOS window. From the prompt type "set" for the list of active environmental variables.

Also - right-click on the My COmputer icon on the desktop - sleect Advanced tab environmental variables button near the bottom.

JMP 9 includes the handy function to retrieve any one of these from the environment:

cname = Get Environment Variable( "COMPUTERNAME" );

and one can branch accordingly base on the returned value from there.

Best regards,
-Matt
pniel
Level I

Re: computer name

hi,

i am using jmp 8 is there a similar function there that retrieve the computer nam

tanks
ENTHU
Level IV

Re: computer name

I need to get the computer user name and store it in a column of a datatable.I am using following script - 

 

uname = Get Environment Variable( "COMPUTERNAME" );
dt:user = uname;

where dt is the data table and user is the name of the column.

But I get the following error -

"Cannot set value for the column 'user' because the row number (-1) is not valid."

Can someone pls tell me what is wrong here?

txnelson
Super User

Re: computer name

You have to tell JMP which row in the data table for column User you want to save the value to.

uname = Get Environment Variable( "COMPUTERNAME" );
dt:user[1] = uname;

The above would save the value of "uname" to row 1 value for column "user"

Jim
ENTHU
Level IV

Re: computer name

It works.But what if I have 10 rows and want to have uname ina ll rows?

Do I use a for loop?

txnelson
Super User

Re: computer name

You can use a For() Loop, or you could do something like the below:

Names Default To Here( 1 );
dt = Open( "$SAMPLE_DATA/Consumer Preferences.jmp" );

uname = Get Environment Variable( "COMPUTERNAME" );

dt << New Column( "User", character, set each value( uname ) );
Jim
ENTHU
Level IV

Re: computer name

Awesome! thanks
bswedlove
Level IV

Re: computer name

This worked for me to get the current user name on Windows:

uname = Get Environment Variable( "USERNAME" );
mattf
Level V

Re: computer name

Hi:

Assuming Windows XP and JMP 8 one can retrive Windoz variables via the LoadDLL command - (also with JMP 9 if one wants to retrieve all of the ENV variables).

Example below uses the "GetEnvironmentStrings" windows function to retrive all the global environmental variables (including COMPUTERNAME) and for fun loads then in a data table and an array.

see:
http://www.nesug.org/Proceedings/nesug10/ad/ad04.pdf


Best regards,
-Matt