VS-Macros | Visual Studio 2013 that enables use of macros | Code Editor library
kandi X-RAY | VS-Macros Summary
kandi X-RAY | VS-Macros Summary
## [Not maintained] This extension was originally created by a group of interns on the Visual Studio team. It is no longer maintained.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of VS-Macros
VS-Macros Key Features
VS-Macros Examples and Code Snippets
Community Discussions
Trending Discussions on VS-Macros
QUESTION
Recently I updated my Visual Studio and start using the extention Macro Explorer.
I tried to use one of the sample macros "removes and sorts all", but I realized if I have a open documents, it doesn't run. So I closed all my open documents and try again this time it open all documents and close them but it doesn't work either.
The problem is the command executed before the document completely load. If there was a event or timer that can help wait until document load completely the problem will solve.
Here is my code. I marked where I want to add wait function:
...ANSWER
Answered 2017-Sep-14 at 07:17According to the code snippet you shared in your original post and I also clone the project from GitHub, your code should be JavaScript code.
In JavaScript code, there has setTimeout() or setInterval() functions. For example, if you use setTimeout(), you need to move the code that you need to run after the pause into the setTimeout() callback.
Please modify your code as below.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install VS-Macros
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page