โดยการ

by means of

→ โดย
phrase Rare #9,247
by means of Introduces the method or means by which something is done, usually followed by a verb or action phrase. It is somewhat formal; ในการ is often more natural in everyday speech.
TH: เขาเรียนภาษาไทยโดยการดูละครทุกวัน
EN: He learned Thai by watching dramas every day.

คุณทำผิดพลาดโดยการเสียเวลาเปล่า

You made a mistake by wasting time.

— ปล้ำฝันสนั่นโลก (2016)

เขาจะรับสายทั้งหมดโดยการบอกต่อ

He’ll take all the calls by passing them on.

— คนดีเหยียบฟ้า (1990)

เจ้าก็รู้ว่าเราไม่สามารถครอบครองพลังของพวกเขาได้โดยการกัดกิน

You know we can't claim their power by devouring them.

— เจ้าหญิงจิตวิญญาณแห่งพงไพร (1997)

โรช่านึกขึ้นได้โดยการยิงคนกลาง.

Rocha suddenly remembered by shooting the person in the middle.

— Tropa de Elite 2 (2010)

โดยการส่งคนจีนไปอเมริกาทำไมไม่ให้ข้าหาผู้หญิงส่งไปบ้างล่ะ

If you're sending Chinese men to America, why not let me find some women to send as well?

— หวงเฟยหง หมัดบินทะลุเหล็ก (1991)

เจ้าสองคนวางแผนจะจับข้าโดยการติดตามเสี่ยวเม่ยมาตลอด

You two have been tracking Xiao Mei all along, planning to capture me.

— จอมใจบ้านมีดบิน (2004)

ผมจึงใช้ทางลัดโดยการเดินลงเขา

So I took a shortcut by walking down the hill.

— วิ่งสู้ฟัด (1985)

เขาสนุกโดยการหลอกคุณอยู่

He’s having fun fooling you.

— ผู้ชายปาฏิหาริย์ (2014)