DonationCoder.com forum
 
Read-only archive. This is a static copy of the DonationCoder.com forum. Reading and searching work as before; logging in, posting and private messages do not.
Archive of 2026-10-21 · About this archive · Main site

Author Topic: New arguments other than %file%  (Read 10,378 times)

lanux128

  • Global Moderator
  • Joined in 2005
  • *****
  • Posts: 6,277
    • Coding Snacks
    • Volunteers/Staff
    • Gathering Badge
    • Participated in NANY Challenge Once
    • Linux User
New arguments other than %file%
« on: November 03, 2008, 09:23 AM »
i noticed that LBC has only %file% variable as its argument. how including support for some others such as %date%, %clipboard%, etc.?

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,931
    • Gathering Badge
    • Plugin Coding Medal
    • Participated in NANY Challenge Seventeen Times
    • Cody Award
    • Coding Snacks
    • Volunteers/Staff
Re: New arguments other than %file%
« Reply #1 on: November 03, 2008, 09:33 AM »
can you elaborate?

lanux128

  • Global Moderator
  • Joined in 2005
  • *****
  • Posts: 6,277
    • Coding Snacks
    • Volunteers/Staff
    • Gathering Badge
    • Participated in NANY Challenge Once
    • Linux User
Re: New arguments other than %file%
« Reply #2 on: November 04, 2008, 01:29 AM »
i meant a way to pass these parameters as a part of command line. see screenshot example, i'm trying to launch WordWeb with the text in clipboard passed to the dictionary.

ws-wweb-1.png

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,931
    • Gathering Badge
    • Plugin Coding Medal
    • Participated in NANY Challenge Seventeen Times
    • Cody Award
    • Coding Snacks
    • Volunteers/Staff
Re: New arguments other than %file%
« Reply #3 on: November 04, 2008, 05:02 AM »
well it's easy enough for me to add %clipboard%.. at a certain point the solution is to launch a batch or script file if you want to pass more advanced stuff to execute a file.

lanux128

  • Global Moderator
  • Joined in 2005
  • *****
  • Posts: 6,277
    • Coding Snacks
    • Volunteers/Staff
    • Gathering Badge
    • Participated in NANY Challenge Once
    • Linux User
Re: New arguments other than %file%
« Reply #4 on: November 04, 2008, 05:12 AM »
yes, i have been trying to use an AHK script to pass on the clipboard contents but i believe these features could be derived from those of Farr's so that they both can share the same placeholders. :)

TucknDar

  • Advanced coder of Nowt
  • Charter Member
  • Joined in 2005
  • ***
  • Posts: 1,133
Re: New arguments other than %file%
« Reply #5 on: November 04, 2008, 07:18 AM »
That would be a very nice feature! Would make LBC even better, since I could have an autohiding bar with a lot of similar things (search definitions, spelling, etc.)

lanux128

  • Global Moderator
  • Joined in 2005
  • *****
  • Posts: 6,277
    • Coding Snacks
    • Volunteers/Staff
    • Gathering Badge
    • Participated in NANY Challenge Once
    • Linux User
Re: New arguments other than %file%
« Reply #6 on: November 12, 2008, 02:30 AM »
i wrote a quick ahk script that launches WordWeb with the word in the clipboard already defined. not fully tested, do try it and let me know. :)

Code
#SingleInstance force
#NoTrayIcon

IfExist %A_WinDir%\System32\WWEB32.DLL
  Run, %A_WinDir%\System32\rundll32.exe WWEB32.DLL`,ShowRunDLL %Clipboard%
Return

AbteriX

  • Member #520
  • Charter Honorary Member
  • Joined in 2005
  • ***
  • Posts: 1,150
Re: New arguments other than %file%
« Reply #7 on: November 20, 2009, 08:58 AM »
One more vote for adding %clipboard%  :Thmbsup:

But not only for Arguments but for "Application/Command"-field too.

Also placeholders like %Para1% for the "Application/Command"-field would be handy
to be prompted by an inputbox
to execute the "Application/Command" with different parameters on the fly.
Greetings, Stefan.

Original address: https://www.donationcoder.com/forum/index.php?topic=15576.0