View Single Post
  #1013  
Old 27.11.2019, 09:58
mgpai mgpai is offline
Script Master
 
Join Date: Sep 2013
Posts: 1,553
Default

Quote:
Originally Posted by noone1 View Post
... for example, these lgselection and dlselection functions are not referenced in there (only api methods), so where can we find them and the likes? ...
Select the trigger and scroll to the bottom of the help section in the script editor to view the object/properties returned by that trigger. For e.g. when the "Linkgrabber Contextmenu Button Pressed" trigger is selected, it will list/return the following:

Code:
// ========= Properties for the EventTrigger 'Linkgrabber Bottombar Button Pressed'  =========
var myLinkgrabberSelection = lgSelection;
var myString = shortCutString;
var myString = name;
var myString = icon;
var myString = menu;

Quote:
Originally Posted by noone1 View Post
... I can't find other functions that could suits my needs; a basic intro/how to for beginners might help ...
All available methods are listed in the help section of the script editor. Feel free to post your queries if you are not able to find a suitable method or trigger.

Quote:
Originally Posted by noone1 View Post
...where/how can we know which functions and which methods are available for a particular triggering event?
All Global as well as Object methods listed in the help window can be used in any script.
Reply With Quote