Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to replay newly recorded macro #14

Closed
hauswij opened this issue May 13, 2016 · 8 comments
Closed

Unable to replay newly recorded macro #14

hauswij opened this issue May 13, 2016 · 8 comments

Comments

@hauswij
Copy link

hauswij commented May 13, 2016

When I try to create a macro, it says it can not save shortcut to-
C:\Users\hauswij\AppData\Local\Microsoft\VisualStudio\14.0\Macros\Macros

I created this directory by hand and it then can save to this dir with a file name Current.js
Next problem I ran into after this was trying to playback the macro. Nothing happens.

I have VS 2015 update 1.

@justcla
Copy link
Contributor

justcla commented May 13, 2016

Thanks for the feedback. Yes, your first comment is related to Issue #7.
The Macros directories need to be initialized, and this occurs when the Macro Explorer is first opened.
We are working on a fix for this.

As for replaying the Macro, I found that sometimes it works on the second attempt.
Were you able to get it to play on the second (or third) attempt?
Are you able to reliably reproduce this?

@hauswij
Copy link
Author

hauswij commented May 13, 2016

I tried many times to replay the macro and never saw it run.
I tried copying current.js from
C:\Users\hauswij\AppData\Local\Microsoft\VisualStudio\14.0\Macros\Macros
To
C:\Users\hauswij\AppData\Local\Microsoft\VisualStudio\14.0\Macros
Thinking maybe there was a bug that accidently created 2 macros dirs and it was supposed to be just one.

@justcla
Copy link
Contributor

justcla commented May 13, 2016

Thanks Jeff. Yes, we intend to create a Macros/Macros directory. It happens when the Macros Explorer is first opened. And that's where it will look for the Current.js.

Are you able to run any of the other macros?
(ie. Insert Date)

@justcla
Copy link
Contributor

justcla commented May 13, 2016

Note: I'm renaming this issue.

@justcla justcla changed the title Can not save shortcut Unable to replay newly recorded macro May 13, 2016
@hauswij
Copy link
Author

hauswij commented May 13, 2016

I just found the samples, I was able to run the ones I clicked on.

justcla added a commit that referenced this issue May 20, 2016
Fixes for issue #7 and issue #14
justcla added a commit that referenced this issue May 20, 2016
Updated extension version to 1.2.0
Contains fixes for issue #7 and issue #14
- Fix initialization of Macros directories
- Fix first-time macro playback
@justcla
Copy link
Contributor

justcla commented May 20, 2016

Fixed in version 1.2.0

@justcla justcla closed this as completed May 20, 2016
@hauswij
Copy link
Author

hauswij commented May 20, 2016

Works! Thanks for fixing it.

From: Justin Clareburt [mailto:notifications@github.com]
Sent: Thursday, May 19, 2016 7:41 PM
To: Microsoft/VS-Macros
Cc: Jeff Hauswirth; Author
Subject: Re: [Microsoft/VS-Macros] Unable to replay newly recorded macro (#14)

Closed #14#14.


You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHubhttps://github.com//issues/14#event-666601221

@justcla
Copy link
Contributor

justcla commented May 20, 2016

Excellent. Glad to hear.
You're welcome. :-)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants