
Note: On Windows, there isn't a clear notion of a "Window ID". It works on macOS, Linux, and Windows 7+. memoryUsage (number) - Memory usage by the window owner process.


Returns a Promise with the result, or Promise if there is no active window or if the information is not available. The title property in the result will always be set to an empty string.

Setting this to false will prevent the screen recording permission prompt on macOS versions 10.15 and newer. Type: object screenRecordingPermission (macOS only)Įnable the screen recording permission check. Orders placed by other means will have additional transaction costs.Const activeWindow = require ( 'active-win' ) ( async ( ) => ) ( ) API activeWindow(options?) options Spreads, Straddles, and other multiple-leg option orders placed online will incur $0.65 fees per contract on each leg. Prior to trading options, you should carefully read Characteristics and Risks of Standardized Options. Options are not suitable for all investors as the special risks inherent to options trading may expose investors to potentially rapid and substantial losses.

Trading foreign exchange on margin carries a high level of risk, as well as its own unique risk factors. Clients must consider all relevant risk factors, including their own personal financial situation, before trading. Trading stocks, options, futures and forex involves speculation, and the risk of loss can be substantial. Past performance of a security or strategy is no guarantee of future results or investing success. Market volatility, volume and system availability may delay account access and trade executions. This is not an offer or solicitation in any jurisdiction where we are not authorized to do business or where such offer or solicitation would be contrary to the local laws and regulations of that jurisdiction, including, but not limited to persons residing in Australia, Canada, Hong Kong, Japan, Saudi Arabia, Singapore, UK, and the countries of the European Union.
