Welcome, Guest
Username Password: Remember me

TOPIC: Helpful macros to speed your editing.

Re: Helpful macros to speed your editing. 3 years, 12 months ago #120303

  • khaver
  • Pro User
  • OFFLINE
  • Platinum Boarder
  • Posts: 3500
  • 3 years, 12 months ago
jwrl wrote:
No, what you see in the keyboard assignments is what you get. I would absolutely kill for conditional execution in macros, for example. There's no flow control whatsoever.

There's no timed execution either. The ability to call other macros would be handy too. I could go on.

How about the ability to read/write values from/to a text file? I would really love this ability in the pixel shader effects also.
Work Comp: Retired!
Home Comp: Newer! Bigger! Faster!
Send me a tip: paypal.me/4khaver

Re: Helpful macros to speed your editing. 3 years, 12 months ago #120304

  • hugly
  • OFFLINE
  • Platinum Boarder
  • Posts: 25310
  • 3 years, 12 months ago
khaver wrote:
How about the ability to read/write values from/to a text file? I would really love this ability in the pixel shader effects also.

What values do you have on the list?
It's better to travel well than to arrive...
Last Edit: 3 years, 12 months ago by hugly.

Re: Helpful macros to speed your editing. 3 years, 12 months ago #120306

  • hugly
  • OFFLINE
  • Platinum Boarder
  • Posts: 25310
  • 3 years, 12 months ago
We shouldn't stop dreaming, but I will place this feature request soon:

1. A step by step execution mode to debug macros, back and forth.
2. An error messages on wrong or skipped commands in the .LWMacro files.

At the moment it is possible to wright "hablahabla" in the command file. And it's executed without any message, just ignored, a real time killer if you've typed only one wrong letter, a leading blank for example.

This shows a fully functional macro:

This image is hidden for guests. Please log in or register to see it.

No Joke!
It's better to travel well than to arrive...

Re: Helpful macros to speed your editing. 3 years, 12 months ago #120309

  • jwrl
  • Moderator
    Pro User
  • OFFLINE
  • Moderator
  • Posts: 12755
  • 3 years, 12 months ago
khaver wrote:
How about the ability to read/write values from/to a text file? I would really love this ability in the pixel shader effects also.

Me too. In fact go one step further: if you could read directly from media files it might make it possible to do tricky things with delayed frame overlays and other time-related effects.
Last Edit: 3 years, 12 months ago by jwrl.

Re: Helpful macros to speed your editing. 3 years, 11 months ago #120553

  • hugly
  • OFFLINE
  • Platinum Boarder
  • Posts: 25310
  • 3 years, 11 months ago
Need some help.

Does anyone know where I can find a complete list of macro commands as plain text file?

The generated html list shows only the commands assigend to a key.
It's better to travel well than to arrive...
Last Edit: 3 years, 11 months ago by hugly.

Re: Helpful macros to speed your editing. 3 years, 8 months ago #127204

  • timzett
  • Pro User
  • OFFLINE
  • Platinum Boarder
  • Posts: 1540
  • 3 years, 8 months ago
lghtwrks wrote:
...
Name=Add last video transition, jump to the next cut
Description=Creates a video transition, jumps to the next cut to do it again
Commands=Add video transition,Right,Right...

I need that for audio crossfades:
From a cut point, move 12 frames back, mark, move 24 frames forward, park, delete.
Then add an audio crossfade 24 frames long, centered over the cut point.

This far I came:
Name=Audio Crossfade 24 frames
Description=implies deletion of 12 frames on either side
Commands=Reverse Nudge(12),Mark,Forward Nudge(24),Mark Out,Delete,...
...and then?
Lwks x64 2020.1 revision 122068, pro license, on Windows 10

HARDWARE:
.Intel Core i7-4710HQ Quad-core 2,50 GHz, 16 GB DDR3 SDRAM
.GPU: NVIDIA GeForce GTX 860M with 4 GB RAM
.Sound: Onboard (Realtek)
.Disks: 250 GB SSD internal (OS/programs), 1 TB SATA internal for source footage

CAMs: Sony PXW-X70, NEX-5n, Xiaomi Yi 1080p
Last Edit: 3 years, 8 months ago by timzett.

Re: Helpful macros to speed your editing. 3 years, 8 months ago #127222

  • schrauber
  • OFFLINE
  • Platinum Boarder
  • Posts: 4373
  • 3 years, 8 months ago
I doubt that macros are a solution.
When inserting from the clipboard, the included audio segment would also be inserted.

I use the "audio crossfade panel" and activate the option "Whole track" (short sections if necessary in a separate track or edit).
This image is hidden for guests. Please log in or register to see it.
Mainly automatically translated
--------------------------------------------
Software: Lightworks 2020.1; || Windows 10, 64 Bit
Hardware: Intel i5-4440 (3,1 GHz); || shared RAM: 8 GB; || Intel HD Graphics 4600 (can use max. 2 GB of shared RAM)
Last Edit: 3 years, 8 months ago by schrauber.

Re: Helpful macros to speed your editing. 2 years, 10 months ago #157486

  • schrauber
  • OFFLINE
  • Platinum Boarder
  • Posts: 4373
  • 2 years, 10 months ago
Hello,

We are now using LM 14.
Some commands have been added, others have been renamed, or have changed functionality.
The macros here were created on older versions of Lightworks.
Many of the macros listed here will probably no longer work, or have become unnecessary because new commands have taken over this task.

As far as I can see, my few macros, listed in the first post, are still functional.

Other macros contain e.g. the no longer existing Commands "Toggle select all tracks".
Also macros which contain cue commands could make problems?
Mainly automatically translated
--------------------------------------------
Software: Lightworks 2020.1; || Windows 10, 64 Bit
Hardware: Intel i5-4440 (3,1 GHz); || shared RAM: 8 GB; || Intel HD Graphics 4600 (can use max. 2 GB of shared RAM)
Last Edit: 2 years, 10 months ago by schrauber.

Re: Helpful macros to speed your editing. 2 years, 10 months ago #157488

  • schrauber
  • OFFLINE
  • Platinum Boarder
  • Posts: 4373
  • 2 years, 10 months ago
New macro for LW14.0.0

Freezen Frame & Mark&Park next

This macro works like the optional LW command "Freezen Frame".
Mark & Park in the sequence, and a video within this section will be a still image. This macro also stores the marker length in the clipboard and places Mark and Park with this length directly after the generated still image.
If you hold down the key, the video will create a series of still images. See video:
This attachment is hidden for guests. Please log in or register to see it.

Macro as a packed file:
This attachment is hidden for guests. Please log in or register to see it.


Macro as code:
Name=Freezen Frame & Mark&Park next
Description=Like the command Freeze Frame. Mark & Park is placed in an identical length on the following frames. Clipboard is used as a buffer of length.
Commands=Copy to clipboard,Freeze frame,Mark,Clipboard Source,Switch,Enable Twin Playing,End,Enable Single Playing,Switch
Mainly automatically translated
--------------------------------------------
Software: Lightworks 2020.1; || Windows 10, 64 Bit
Hardware: Intel i5-4440 (3,1 GHz); || shared RAM: 8 GB; || Intel HD Graphics 4600 (can use max. 2 GB of shared RAM)
Last Edit: 2 years, 10 months ago by schrauber.

Re: Helpful macros to speed your editing. 2 years, 10 months ago #157500

  • jwrl
  • Moderator
    Pro User
  • OFFLINE
  • Moderator
  • Posts: 12755
  • 2 years, 10 months ago
I must go through this thread very thoroughly and bring it up to date. As it now stands it's becoming less and less relevant. I'll try and get to it over the next few weeks, but I suspect that some of the macro functionality may either be redundant or of limited usefulness. There are other operational issues which will need to be covered too, especially with respect to Fixed/Flexible differences.

Re: Helpful macros to speed your editing. 2 years, 9 months ago #160710

  • EleanorBurner
  • OFFLINE
  • Fresh Boarder
  • Posts: 1
  • 2 years, 9 months ago
Thank you! Its very useful information for beginners as me

Re: Helpful macros to speed your editing. 2 years, 9 months ago #160724

  • jwrl
  • Moderator
    Pro User
  • OFFLINE
  • Moderator
  • Posts: 12755
  • 2 years, 9 months ago
Glad to be able to help. Just note that over the last 24 hours I've finally got onto revising this, with the result that any earlier macros have been removed where necessary and placed in their own post.
Last Edit: 2 years, 9 months ago by jwrl.

Re: Helpful macros to speed your editing. 1 year, 11 months ago #183510

  • hugly
  • OFFLINE
  • Platinum Boarder
  • Posts: 25310
  • 1 year, 11 months ago
There was a request to fully zoom-out all at once with a shortcut which is available in FCP but not in Lightworks, I posted this:

FullyZoomOut.LwMacro
Name=FullyZoomOut
Description=Zooms timeline fully out
Commands=Zoom out(10)
Attachments:
  • Attachment This attachment is hidden for guests. Please log in or register to see it.
It's better to travel well than to arrive...
Last Edit: 1 year, 11 months ago by hugly.
Time to create page: 0.37 seconds
Scroll To Top