Home | Blog | Software | Reviews and Features | Forum | Help | Donate | About us
topbanner_forum
  *

avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • December 04, 2016, 06:21:44 AM
  • Proudly celebrating 10 years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

Author Topic: New arguments other than %file%  (Read 5152 times)

lanux128

  • Global Moderator
  • Joined in 2005
  • *****
  • Posts: 6,258
    • View Profile
    • Coding Snacks by Lanux128
    • Read more about this member.
    • Donate to Member
New arguments other than %file%
« on: November 03, 2008, 03:23:16 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: 36,406
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
Re: New arguments other than %file%
« Reply #1 on: November 03, 2008, 03:33:16 AM »
can you elaborate?

lanux128

  • Global Moderator
  • Joined in 2005
  • *****
  • Posts: 6,258
    • View Profile
    • Coding Snacks by Lanux128
    • Read more about this member.
    • Donate to Member
Re: New arguments other than %file%
« Reply #2 on: November 03, 2008, 07:29:32 PM »
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: 36,406
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
Re: New arguments other than %file%
« Reply #3 on: November 03, 2008, 11:02:41 PM »
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,258
    • View Profile
    • Coding Snacks by Lanux128
    • Read more about this member.
    • Donate to Member
Re: New arguments other than %file%
« Reply #4 on: November 03, 2008, 11:12:58 PM »
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

  • Charter Member
  • Joined in 2005
  • ***
  • Posts: 1,104
    • View Profile
    • Donate to Member
Re: New arguments other than %file%
« Reply #5 on: November 04, 2008, 01:18:41 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,258
    • View Profile
    • Coding Snacks by Lanux128
    • Read more about this member.
    • Donate to Member
Re: New arguments other than %file%
« Reply #6 on: November 11, 2008, 08:30:31 PM »
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. :)

#SingleInstance force
#NoTrayIcon

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

AbteriX

  • Charter Honorary Member
  • Joined in 2005
  • ***
  • Posts: 1,115
    • View Profile
    • Donate to Member
Re: New arguments other than %file%
« Reply #7 on: November 20, 2009, 02:58:09 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.