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

Support in Windows 8.1 #25

Closed
kuzzmi opened this issue Feb 3, 2015 · 9 comments
Closed

Support in Windows 8.1 #25

kuzzmi opened this issue Feb 3, 2015 · 9 comments

Comments

@kuzzmi
Copy link

kuzzmi commented Feb 3, 2015

Sup guys.

Just tried to use that in Windows 8.1 x64 but without success.

Problem:

λ node
> require("copy-paste").global()
{ copy: [Function],
  paste: [Function],
  silent: [Function],
  noConflict: [Function],
  global: [Function] }
> copy('asd')
'asd'
> paste()
'\r\n'
>

I've tried to dig around and found this article. So if I try to use a library within a script file and override require("copy-paste").paste method to use the binary from article then everything works fine. Don't know whether that should be a "fallback". If so, let me know, I'll do a pull request.

Cheers,
Igor

@xavi-
Copy link
Owner

xavi- commented Apr 17, 2015

Yeah that'd make a great fallback. A pull request would be much appreciated.

xavi- added a commit that referenced this issue Apr 22, 2015
@xavi-
Copy link
Owner

xavi- commented May 7, 2015

Also what kind of errors were you getting with the VBscript?

@Otoris
Copy link

Otoris commented May 24, 2015

Think I'm getting a similar issue. VBscript looks to fail in Windows 8.1 x64.

@xavi-
Copy link
Owner

xavi- commented May 24, 2015

Ahh, cool. I'll implemented the fallback @kuzzmi recommended.

@xavi-
Copy link
Owner

xavi- commented May 25, 2015

I just published a new version that did path concat'ing a little different. Would you mind updating and trying it out?

@Otoris
Copy link

Otoris commented May 25, 2015

Just reinstalled in a blank directory, appears to be the same issue.

Executing the paste.vbs from explorer seems to work and pops up what's on my clipboard.

However if I directly execute the command in cmd, this is what I get. (after fixing the spacing in the path manually)

I definitely have RAM and storage free.

@xavi-
Copy link
Owner

xavi- commented May 25, 2015

Thanks! That was quick.

Hmm, I think it might be because "Sites symlink" path has a space in it. I just published a new version (v1.1.2) that quoted the directory path. Mind trying out this version as well?

@Otoris
Copy link

Otoris commented May 25, 2015

Boom! You fixed it.

Thanks,

@xavi-
Copy link
Owner

xavi- commented May 25, 2015

👏 🎊

@xavi- xavi- closed this as completed May 25, 2015
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

3 participants