topbanner_forum
  *

avatar image

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

Login with username, password and session length
  • Thursday March 28, 2024, 9:55 am
  • Proudly celebrating 15+ 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: Not getting keyword modifiers  (Read 4554 times)

justice

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 1,898
    • View Profile
    • Donate to Member
Not getting keyword modifiers
« on: November 09, 2007, 09:41 AM »
I've got an alias that I want to use as a keyword modifier. How do I go about?? All the examples in the FARR helpfile are incomplete as they don't suply the actual alias used. (see +audio)
I have an alias that works like this:

stt2 d:\stt2\program.txt
it would run stt2 with the parameter the program.txt.

Now i want to run it like this:
+stt2 d:\stt2\.txt program              or if this is easier         d:\stt2\.txt program +stt2
Instead of passing the program.txt to stt2 instead it launches the textfile with the associated app (notepad). any of the two syntaxes given is fine.

How do I have to change alias?
the code of the alias is as follows:
1000>>>Switch To Task++ Launch>->+stt2 $$1 |D:\scripts\SwitchToTask\SwitchToTask++.exe $$1>+>^stt2 (.*)
« Last Edit: November 09, 2007, 09:43 AM by justice »

jgpaiva

  • Global Moderator
  • Joined in 2006
  • *****
  • Posts: 4,727
    • View Profile
    • Donate to Member
Re: Not getting keyword modifiers
« Reply #1 on: November 10, 2007, 05:33 AM »
I'm not sure what you mean, but if it's alias-related, i'm sure nitrix can be of assistance, he can bend those better than mouser ;)
If he doesn't stop by here, send him a pm!

justice

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 1,898
    • View Profile
    • Donate to Member
Re: Not getting keyword modifiers
« Reply #2 on: November 10, 2007, 07:26 AM »
I've had a helpful chat with mouser over IRC and i'm clued up now :) Tip: don't use an adapted regex alias lol. just name it stt2 in my case and put the path to the program in the bottom textarea and it works.

nitrix-ud

  • Charter Member
  • Joined in 2005
  • ***
  • default avatar
  • Posts: 560
    • View Profile
    • Donate to Member
Re: Not getting keyword modifiers
« Reply #3 on: November 11, 2007, 04:15 AM »
I'm not sure what you mean, but if it's alias-related, i'm sure nitrix can be of assistance, he can bend those better than mouser
that's too much jgpaiva  :-[

I've had a helpful chat with mouser over IRC and i'm clued up now  Tip: don't use an adapted regex alias lol. just name it stt2 in my case and put the path to the program in the bottom textarea and it works.
glad you made it work, i guess it would be helpful to add a screenshot in the help file showing some exemples of alias tricks : action keyword, noresults keyword, etc.

since it's hard sometimes to differentiate alias name, from alias regex mask, from results...

cheers, nitrix

justice

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 1,898
    • View Profile
    • Donate to Member
Re: Not getting keyword modifiers
« Reply #4 on: November 11, 2007, 07:43 AM »
yes i said to mouser that the examples don't show the setup of the alias that is used, for example +audio

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,896
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
Re: Not getting keyword modifiers
« Reply #5 on: November 11, 2007, 08:30 AM »
I will be making screencasts showing all of the tricks in action, as soon as i get the time  :up: