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

Is there any API to move step Forward or Backward? #132

Open
jane00 opened this issue Sep 26, 2016 · 5 comments
Open

Is there any API to move step Forward or Backward? #132

jane00 opened this issue Sep 26, 2016 · 5 comments

Comments

@jane00
Copy link

jane00 commented Sep 26, 2016

I means that change the current clip number in the same channel. Thanks!

@aviaryan
Copy link
Owner

I think TEMPSAVE variable has something to do with it. Incrementing or decrementing it should work.

v := clipjumpInstance.getVar("TEMPSAVE")
clipjumpInstance.setVar("TEMPSAVE", v+1)   ; or v-1, not sure

@leninkumark
Copy link

I have a similar request.
For Eg. I have 5 items in my clip board.
After pasting the first item by Ctrl+V, I want the next item in the clipboard (i.e) Item 2 to get pasted automatically when I press ctrl+v. Next time if I press ctrl+V, the third item should get pasted & so on.
Is there any way to achieve this?

@jane00
Copy link
Author

jane00 commented May 8, 2017

@jane00 jane00 closed this as completed May 8, 2017
@jane00 jane00 reopened this May 8, 2017
@jane00
Copy link
Author

jane00 commented May 8, 2017

I've tridv := clipjumpInstance.getVar("TEMPSAVE") clipjumpInstance.setVar("TEMPSAVE", v+1) , but it dosn't work;

So, I modified the "API.ahk" file , add ` stepBack(){

	TEMPSAVE +=1
}`

And, then add a file plugin called "paste_current_And_move_Back.ahk".
The content 'bind = Win+v
plugin_paste_current_And_move_Back(){
API.stepBack()
API.paste()
}'

It works fine.
@leninkumark

@leninkumark
Copy link

leninkumark commented Aug 22, 2018

It works like a charm. Thank you very very much! You are my hero!!

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