- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-11-2019 12:43 AM
I have setup one of my custom appplications in VS and wanted to run a fix script as background script but the command is not showing up for me.
Can anyone help me with it?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-11-2019 01:33 AM
The "background script" feature can be found in the contextual menu, when you do a right-click after you select a particular piece of code you want to execute in a Javascript file. Only the lines of code selected (or) highlighted will be executed.
You have the option to run the selected code in the 'Current' scope or the 'Global' scope.
The results are returned right back to the editor.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-11-2019 01:28 AM
Hi,
from your printscreen, it seems you didn't type the entire text "Now: Run Background Scripts (Browser)", could you do that and show the result? I tried in my personal VS Code extension (NOW version New York), everything works as described below:
If I have answered your question, please mark my response as correct and/or helpful so that others with the same question in the future can find it quickly and that it gets removed from the Unanswered list.
Thank you
Cheers
Alberto
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-11-2019 01:33 AM
The "background script" feature can be found in the contextual menu, when you do a right-click after you select a particular piece of code you want to execute in a Javascript file. Only the lines of code selected (or) highlighted will be executed.
You have the option to run the selected code in the 'Current' scope or the 'Global' scope.
The results are returned right back to the editor.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-12-2019 06:25 AM
I am able to run the background script but results aren't returned back to the editor. 😞
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-12-2019 06:43 AM