cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Discussions

Solve problems, and share tips and tricks with other JMP users.
%3CLINGO-SUB%20id%3D%22lingo-sub-552198%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3ELa%20funci%C3%B3n%20que%20funciona%20cuando%20se%20hace%20clic%20en%20un%20bot%C3%B3n%20y%20cuando%20se%20ejecuta%20como%20un%20script%20no%20funciona%20cuando%20se%20activa%20desde%20el%20%22Programa%22%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-552198%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3E%3CP%3ETengo%20un%20filtro%20de%20datos%20y%3C%2FP%3E%3CPRE%3E%3CCODE%20class%3D%22%20language-jsl%22%3Etemp_dtf%20%3D%20CHAR(dtf%20%26lt%3B%3CGET%20script%3D%22%22%3E%3C%2FGET%3E%3C%2FCODE%3E%3C%2FPRE%3E%3CP%3Efunciona%20bien%20desde%20un%20bot%C3%B3n%2C%20tambi%C3%A9n%20funciona%20bien%20cuando%20se%20ejecuta%20normalmente.%3C%2FP%3E%3CP%3ECuando%20intento%20ejecutar%20la%20funci%C3%B3n%20m%C3%A1s%20grande%20usando%20el%20programador%2C%20arroja%20este%20error.%20Estoy%20tratando%20de%20buscar%20en%20una%20carpeta%20de%20descargas%20un%20archivo%20de%20texto%20para%20poder%20analizarlo%20y%20actualizar%20mi%20tabla%20principal%20con%20%C3%A9l.%3C%2FP%3E%3CPRE%3E%3CCODE%20class%3D%22%20language-jsl%22%3EquickieScript%20%3D%20Expr(%0A%20Show(%20%22check_dl_folder%22%20)%3B%0A%20check_downloads_folder()%3B%0A%20Schedule(%203%2C%20quickieScript%20)%3B%0A)%3B%0AquickieScript%3B%3C%2FCODE%3E%3C%2FPRE%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSTRONG%3E%22Send%20Expects%20Scriptable%20Object%20en%20acceso%20o%20evaluaci%C3%B3n%20de%20'Send'%2C%20dtf%20%26lt%3B%26lt%3B%20%2F*%23%23%23*%2Fget%20script%2F*%23%23%23*%2F%22%3C%2FSTRONG%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%C2%BFQue%20esta%20pasando%20aqui%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-552198%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3E%3CLINGO-LABEL%3Esecuencias%20de%20comandos%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3Eventanas%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-552205%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3ERe%3A%20La%20funci%C3%B3n%20que%20funciona%20cuando%20se%20hace%20clic%20en%20un%20bot%C3%B3n%20y%20cuando%20se%20ejecuta%20como%20un%20script%20no%20funciona%20cuando%20se%20activa%20desde%20el%20%22Programa%22%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-552205%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3E%3CP%3ESospecho%20que%20el%20problema%20es%20un%20problema%20de%20alcance.Es%20posible%20que%20desee%20intentar%20configurar%20un%20nuevo%20espacio%20de%20nombres%20y%20siempre%20asignar%20dtf%20al%20espacio%20de%20nombres.Eso%20puede%20eliminar%20el%20error%20que%20est%C3%A1%20recibiendo.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-552214%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3ERe%3A%20La%20funci%C3%B3n%20que%20funciona%20cuando%20se%20hace%20clic%20en%20un%20bot%C3%B3n%20y%20cuando%20se%20ejecuta%20como%20un%20script%20no%20funciona%20cuando%20se%20activa%20desde%20el%20%22Programa%22%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-552214%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3E%3CP%3Edefinitivamente%20era%20un%20problema%20de%20alcance.%3C%2FP%3E%3C%2FLINGO-BODY%3E
Choose Language Hide Translation Bar
xxvvcczz
Level III

How can I append the Schedule GUI into my app? I tried appending it into an Hlistbox but it didn't like.

Is it possible to get the schedule gui appended in an hlist box like any other GUI window?

 

1 ACCEPTED SOLUTION

Accepted Solutions
txnelson
Super User

Re: Function that works when clicked from a button and when run as a script doesn't work when fired from the "Schedule"

I suspect the issue is a scoping issue.  You may want to try setting up a new namespace and always assign dtf to the name space.  That may eliminate the error you are getting.

Jim

View solution in original post

2 REPLIES 2
txnelson
Super User

Re: Function that works when clicked from a button and when run as a script doesn't work when fired from the "Schedule"

I suspect the issue is a scoping issue.  You may want to try setting up a new namespace and always assign dtf to the name space.  That may eliminate the error you are getting.

Jim
xxvvcczz
Level III

Re: Function that works when clicked from a button and when run as a script doesn't work when fired from the "Schedule"

it definitely was a scoping issue.

Recommended Articles