
tiagomacul
Giga Sage
Options
- Post History
- Subscribe to RSS Feed
- Mark as New
- Mark as Read
- Bookmark
- Subscribe
- Printer Friendly Page
- Report Inappropriate Content
on 11-13-2018 03:46 AM
How to do a new script inclcude.
01. Navigate to
>> System UI > Script Include
02. New
03. Type vaules
04.After typing name, it'll be created the standard script
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);
Update set Planejando e executando mudanças no ambiente.
- 214 Views