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


Recent news:

March 10, 2010 - Keybreeze is now a 100% free, open source application. The new version includes everything that was previously in the Professional Edition. Update now.


   Home   Help Search Login Register  
 

Pages: [1]
  Print  
Author Topic: trying to use arguments to a keyword  (Read 1621 times)
ayenonomous
Jr. Member

Posts: 4


View Profile
« on: August 29, 2007, 01:53:35 PM »

It seemed to me that I could exnter a keyword followed by arguments and the arguments would be passed to the program that was invoked.  For example, you want to edit c:\dir\some.doc you'd enter ";word c:\dir\some.doc".  This doesn't work.  Is there a way to do this?  It seems to me that this is a very common case.

I also saw somehting about using a comma after the keyword, but that didn't work, even though it was an exe
Logged
Andrew Langford
Administrator
Power User

Posts: 144


View Profile
« Reply #1 on: August 29, 2007, 07:44:43 PM »

Thanks for your post.  This is actually a bug caused by the upper case .EXE in the target of the Word keyword.  If you open the Command List and change the file extension of the target to lowercase (.exe), it should work.

The next version of Keybreeze will have this fix, so that other targets with .EXE will work.

Normally you can add parameters, or arguments, by pressing the hotkey, typing a few letters of the keyword, pressing the comma, and then typing the argument.
Logged
picard
Jr. Member

Posts: 4


View Profile
« Reply #2 on: October 04, 2007, 05:13:28 AM »

Why does this not work for a .vbs-file ??

I created a keyword log which points to the target d:\program files\keybreeze\logbook.vbs
When I type ;log,xxx Keybreeze will popup, will show  'log      .vbs'. So far no problems,  but as soon as I type the comma Keybreeze no longer recognizes the keyword log and will show 'Press F1 ...'.

How can I pass an argument to a VBS-script ?

Logged
Andrew Langford
Administrator
Power User

Posts: 144


View Profile
« Reply #3 on: October 04, 2007, 10:05:29 AM »

The arguments/parameters option only works for .exe, .bat, and .txt files.  I didn't really think about VBScripts, but I can add that extension to the next version.
Logged
jimrawlings
New member

Posts: 2


View Profile
« Reply #4 on: October 11, 2007, 12:36:48 PM »

Also would you add .BTM as an extension - this is the extension for batch files used by JPSoft's Take Command (an outstanding command-line processor!) - thanks in advance.

JimR
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.9 | SMF © 2006-2009, Simple Machines LLC Valid XHTML 1.0! Valid CSS!