Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: Creating a “cut content”, “Paste” and “Flip” script  (Read 15580 times)

L3NTON

  • Newbie
  • *
  • Karma: +0/-0
  • Posts: 8

As the subject says I am wanting to create a script that uses three existing commands, “cut content”, “Paste” and “Flip”. I have to regularly create handed house layouts by cut, paste, mirror then mirror the text back again.

Help!!!
Logged

Steve

  • Administrator
  • Sr. Member
  • *****
  • Karma: +7/-0
  • Posts: 367
    • RevuHelp
Re: Creating a “cut content”, “Paste” and “Flip” script
« Reply #1 on: May 03, 2018, 11:12:31 AM »

I don't do much scripting, but from what I can find Revu's built in scripting only supports 32 commands.  None are cut, paste and flip.  Javascript might do it - but if I understand correctly the JS would need to be embedded in the PDF so you'd have to embed the JS in every PDF on which you wanted to use the script.

It sounds what you really need (and I wish Revu supported) were built in macros where you could chain together keyboard commands, as cut, paste and flip all have keyboard commands.

Your best bet might be to get a 3rd party macro program and just create a macro for what you need and do it that way.  I actually have a Logitech "gaming" keyboard that I use at work that has 18 programmable keys (into three sets of memories for a total of 54 keys).  The keyboard comes with a macro utility so doing what you want (if I understand correctly) would be fairly simple.  I just don't think there is a way to do it within Revu.
Logged
Steve Jones
RevuHelp Forum Admin
steve@revuhelp.com
www.revuhelp.com
www.facebook.com/RevuHelp

L3NTON

  • Newbie
  • *
  • Karma: +0/-0
  • Posts: 8
Re: Creating a “cut content”, “Paste” and “Flip” script
« Reply #2 on: May 03, 2018, 12:44:29 PM »

It is a bit frustrating when it seems an obvious thing you should be able to do. I do in fact have a gaming mouse that can run macros but I can only do half of what I want as the “cut content” doesn’t appear to have a keyboard command. Unless you know otherwise? Fingers crossed
Logged

Steve

  • Administrator
  • Sr. Member
  • *****
  • Karma: +7/-0
  • Posts: 367
    • RevuHelp
Re: Creating a “cut content”, “Paste” and “Flip” script
« Reply #3 on: May 03, 2018, 12:57:56 PM »

Sorry - I read your original post too fast and just caught the "cut" part.  You are correct - "cut content" has no keyboard equivalent.  However, the newest version of Revu (2018) has the feature that allows you to create custom keyboard commands.  Not sure if that would be an option or not.
Logged
Steve Jones
RevuHelp Forum Admin
steve@revuhelp.com
www.revuhelp.com
www.facebook.com/RevuHelp

L3NTON

  • Newbie
  • *
  • Karma: +0/-0
  • Posts: 8
Re: Creating a “cut content”, “Paste” and “Flip” script
« Reply #4 on: May 03, 2018, 01:08:47 PM »

I have 2018 Extreme, show me how.... :-[
Logged

Steve

  • Administrator
  • Sr. Member
  • *****
  • Karma: +7/-0
  • Posts: 367
    • RevuHelp
Re: Creating a “cut content”, “Paste” and “Flip” script
« Reply #5 on: May 03, 2018, 01:38:05 PM »

Go the the REVU menu and choose KEYBOARD SHORTCUTS and the customizing window will open.  I can't be a whole lot of help past that.  I was a 2018 Beta Tester buy my beta has expired and we haven't upgraded here yet.
« Last Edit: May 03, 2018, 01:48:35 PM by Steve »
Logged
Steve Jones
RevuHelp Forum Admin
steve@revuhelp.com
www.revuhelp.com
www.facebook.com/RevuHelp

L3NTON

  • Newbie
  • *
  • Karma: +0/-0
  • Posts: 8
Re: Creating a “cut content”, “Paste” and “Flip” script
« Reply #6 on: May 03, 2018, 03:32:33 PM »

Thank you so much for this, I have just tried and it works.  ;D
Logged

Steve

  • Administrator
  • Sr. Member
  • *****
  • Karma: +7/-0
  • Posts: 367
    • RevuHelp
Re: Creating a “cut content”, “Paste” and “Flip” script
« Reply #7 on: May 04, 2018, 07:12:20 AM »

Woohoo!  Glad it worked!  Built in macros are still on my wish list for Revu.
Logged
Steve Jones
RevuHelp Forum Admin
steve@revuhelp.com
www.revuhelp.com
www.facebook.com/RevuHelp