cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • JMP will suspend normal business operations for our Winter Holiday beginning on Wednesday, Dec. 24, 2025, at 5:00 p.m. ET (2:00 p.m. ET for JMP Accounts Receivable).
    Regular business hours will resume at 9:00 a.m. EST on Friday, Jan. 2, 2026.
  • We’re retiring the File Exchange at the end of this year. The JMP Marketplace is now your destination for add-ins and extensions.

Discussions

Solve problems, and share tips and tricks with other JMP users.
%3CLINGO-SUB%20id%3D%22lingo-sub-1381%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3EErstellen%20einer%20Autorun-%20oder%20EXE-Datei%20f%C3%BCr%20das%20JSL-Skript%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1381%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3EHallo%3A%3CBR%20%2F%3E%20Ich%20habe%20ein%20JSL-Skript%2C%20aber%20wenn%20ich%20es%20ausf%C3%BChren%20m%C3%B6chte%2C%20%C3%B6ffnet%20es%20das%20Sprungfenster%20und%20das%20Skript%2C%20und%20dann%20muss%20ich%20auf%20%E2%80%9ERunning%20Man%E2%80%9C%20klicken%2C%20damit%20es%20ausgef%C3%BChrt%20wird.%20Gibt%20es%20eine%20einfache%20M%C3%B6glichkeit%2C%20eine%20Exec-Datei%20zu%20erstellen%20oder%20eine%20Die%20Autorun-Funktion%20ist%20darin%20eingebettet%2C%20so%20dass%20beim%20Klicken%20darauf%20das%20JMP-Programm%20durchlaufen%20und%20auf%20%E2%80%9EAusf%C3%BChren%E2%80%9C%20geklickt%20werden%20muss.%20Danke.%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1384%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3EBetreff%3A%20Erstellen%20einer%20Autorun-%20oder%20EXE-Datei%20f%C3%BCr%20das%20JSL-Skript%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1384%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%3EDa%20dies%20immer%20noch%20relevant%20ist%2C%20wollte%20ich%20die%20Seitenzahl%20entsprechend%20den%20Angaben%20im%20Scripting%20Guide%20aktualisieren.%3C%2FP%3E%3CP%3ESeiten%2050%2C55%20und%2090%3CBR%20%2F%3E%20Geben%20Sie%20jeweils%20die%20Verwendung%20an%3CBR%20%2F%3E%20%2F%2F!%3C%2FP%3E%3CP%3EGanz%20am%20Anfang%20der%20Datei%20wird%20diese%20automatisch%20ausgef%C3%BChrt%2C%20ohne%20dass%20der%20Skripteditor%20ge%C3%B6ffnet%20oder%20weitere%20Mausklicks%20erforderlich%20sind.%3C%2FP%3E%3CP%3EUm%20es%20ausf%C3%BChrbar%20zu%20machen%2C%20arbeite%20ich%20derzeit%20an%20einer%20L%C3%B6sung%2C%20um%20ein%20JMP-Skript%20in%20einer%20automatischen%20Windows-Aufgabe%20zu%20verwenden%20(die%20regelm%C3%A4%C3%9Fig%20oder%20bei%20Ausl%C3%B6sung%20durch%20ein%20anderes%20Ereignis%20auftritt).%20Ich%20werde%20die%20Details%20bei%20Bedarf%20aktualisieren.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1383%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3EBetreff%3A%20Erstellen%20einer%20Autorun-%20oder%20EXE-Datei%20f%C3%BCr%20das%20JSL-Skript%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1383%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3ESeite%20447%20des%20JMP%20Scripting%20Guide%3CBR%20%2F%3E%3CBR%20%2F%3E%20%2F%2F!%3CBR%20%2F%3E%20Funktion%3A%3CBR%20%2F%3E%20Wenn%20diese%20Kommentarzeile%20in%20der%20ersten%20Zeile%20eines%20Skripts%20platziert%20wird%2C%20f%C3%BChrt%20sie%20dazu%2C%20dass%20das%20Skript%20ausgef%C3%BChrt%20wird%2C%20wenn%20es%20in%20JMP%20ge%C3%B6ffnet%20wird%2C%20ohne%20dass%20das%20Skripteditorfenster%20ge%C3%B6ffnet%20wird.%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1382%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3EBetreff%3A%20Erstellen%20einer%20Autorun-%20oder%20EXE-Datei%20f%C3%BCr%20das%20JSL-Skript%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1382%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3EUnter%20Windows%20ist%20es%20vielleicht%20m%C3%B6glich%2C%20aber%20ich%20kann%20es%20nicht%20wirklich%20sagen%2C%20da%20ich%20nur%20JMP%20f%C3%BCr%20Mac%20habe%20(auf%20dem%20Mac%20scheint%20es%20nicht%20m%C3%B6glich%20zu%20sein%2C%20da%20die%20JMP-AppleScript-Unterst%C3%BCtzung%20seit%20Version%204%20stark%20zur%C3%BCckgegangen%20ist).%3CBR%20%2F%3E%3CBR%20%2F%3E%20Hier%20ist%20eine%20Problemumgehung%2C%20die%20f%C3%BCr%20alle%20Plattformen%20funktioniert.%20Die%20Eigenschaft%20%E2%80%9EBeim%20%C3%96ffnen%E2%80%9C%20kann%20JMP-Skripten%20zugewiesen%20werden%2C%20die%20an%20eine%20Datentabelle%20angeh%C3%A4ngt%20sind.%20Solche%20Skripte%20werden%20ausgef%C3%BChrt%2C%20wenn%20die%20Datentabelle%20ge%C3%B6ffnet%20wird.%20Daher%20k%C3%B6nnen%20Sie%20anstelle%20einer%20EXE-Datei%20eine%20Dummy-Datentabelle%20(.jmp)%20verwenden%2C%20um%20mit%20einem%20Doppelklick%20auf%20die%20Datei%20automatisch%20ein%20Skript%20auszuf%C3%BChren.%20Weitere%20Informationen%20finden%20Sie%20auf%20Seite%20133%20im%20JMP-Skripthandbuch%20(Version%208).%3C%2FLINGO-BODY%3E
Choose Language Hide Translation Bar

Creating an autorun or exe file for the JSL script

Hello:
I have a JSL script, but when i want to run it, it open the jump window and the script, and then i have to hit running man to make it run.. is there a simple way to make an exec file or have a autorun feature embedded into it, so that on clicking it will without going thru the jmp program and having to click the run ?? thanks.
1 ACCEPTED SOLUTION

Accepted Solutions
mattf
Level V

Re: Creating an autorun or exe file for the JSL script

Page 447 of the JMP Scripting Guide

//!
Function:
If placed on the first line of a script, this comment line causes the script to be run when opened in JMP without opening into the script editor window.

View solution in original post

3 REPLIES 3
ms
Super User (Alumni) ms
Super User (Alumni)

Re: Creating an autorun or exe file for the JSL script

It may be possible in Windows, but I can't really tell since I only have JMP for mac (on the mac it seem not to be possible since JMP AppleScript support declined sharply since version 4).

Here's a workaround that works for all platforms. The On Open property can be assigned to JMP scripts attached to a data table. Such scripts run when the data table is opened. Hence you can have a dummy data table (.jmp) instead of an .exe to automatically run a script with a doubleclick on the file. See page 133 in the JMP Scripting guide (v.8) for details.
mattf
Level V

Re: Creating an autorun or exe file for the JSL script

Page 447 of the JMP Scripting Guide

//!
Function:
If placed on the first line of a script, this comment line causes the script to be run when opened in JMP without opening into the script editor window.
tsandidge
Level III

Re: Creating an autorun or exe file for the JSL script

Since this is still relevant, I wanted to update the page number according to what the Scripting Guide has.

Pages 50,55, and 90
Each indicate using
//!

at the very beginning of the file will cause it to auto-run without opening the script editor or further mouse clicks.

As for the making it executable, I'm currently working on a solution to use a JMP script in a Windows' automatic task (reoccurs regularly or when triggered by some other event). I'll update with the details if it becomes necessary.

Recommended Articles