tiagomacul
Giga Sage

How to do a new script inclcude.

01. Navigate to

>> System UI > Script Include

find_real_file.png

 

02. New

find_real_file.png

03. Type vaules

find_real_file.png

04.After typing name, it'll be created the standard script

find_real_file.png

 

 

Samples:

A.   By Chuck Tomasi.

var foo = Class.create();

foo.prototype = {

       initialize: function() {

       },

   bar : function() {
   this.zip(5);

   },


   zip : function(num) {

   gs.info('num=' + num);

   }
       type: 'foo'
};

 

 

B. How to call "Script include" / Referring, Chamando .

var objFoo = new foo();
objFoo.zip(123);

 

C. referring inside, Chamando . 

this.zip(5);

 

 

Know-More-Now-Logo.jpg

Update set Planejando e executando mudanças no ambiente.

 

Version history
Last update:
‎11-13-2018 03:46 AM
Updated by: