Welcome Guest.   Make a donation to an author on the site July 30, 2014, 08:09:18 AM  *

Please login or register.
Or did you miss your validation email?


Login with username and password (forgot your password?)
Why not become a lifetime supporting member of the site with a one-time donation of any amount? Your donation entitles you to a ton of additional benefits, including access to exclusive discounts and downloads, the ability to enter monthly free software drawings, and a single non-expiring license key for all of our programs.


You must sign up here before you can post and access some areas of the site. Registration is totally free and confidential.
 
Your Support Funds this Site: View the Supporter Yearbook.
   
   Forum Home   Thread Marks Chat! Downloads Search Login Register  
Pages: [1]   Go Down
  Reply  |  New Topic  |  Print  
Author Topic: [bug] v2.00.130 start farr via alias hotkey does not execute alias  (Read 3037 times)
justice
Supporting Member
**
Posts: 1,887



Solve issues simply.

View Profile WWW Give some DonationCredits to this forum member
« on: July 14, 2007, 06:21:38 PM »

I have assigned a hotkey to my fav alias to launch farr with it. This works fine, however it comes up with the Alias name as the start of the command, not the regex pattern.

So now whatever i type is not executed because it doesn't start with the regex pattern.
Try this alias:
[copy or print]
1000>>>Feeling Lucky>->Google - $$1 | http://www.google.co.uk/search?hl=en&q=$$1&btnI=I%27m+Feeling+Lucky /ICON=icons\google.ico>+>^!(.*)>/>24762
I have to type !<some query> for it to work, however using the hotkey farr comes up with "feeling lucky <cursor>" instead, which is not recognised. BTW this alias also still does not come up with an icon, which is a bug in the other thread in case you missed it.

Keep it up.
« Last Edit: July 14, 2007, 06:23:41 PM by justice » Logged

jgpaiva
Global Moderator
*****
Posts: 4,710



Artificial Idiocy

see users location on a map View Profile WWW Read user's biography. Give some DonationCredits to this forum member
« Reply #1 on: July 14, 2007, 08:05:55 PM »

Well... I know it doesn't make much sense, but you can always call that alias "!" Wink
The thing is: a regex pattern can't be filled out, as it can correspond to a lot of text.
For example: how should a pattern like ^([0-9]*)hello[a-z]*$ be filled out? That could represent 0089123helloaasdfasds or just hello or something else.
Logged

nitrix-ud
Charter Member
***
Posts: 482

View Profile Give some DonationCredits to this forum member
« Reply #2 on: July 15, 2007, 06:22:03 AM »

Quote
For example: how should a pattern like ^([0-9]*)hello[a-z]*$ be filled out? That could represent 0089123helloaasdfasds or just hello or something else.

that's why i once suggested that there could be a other text box near the regex pattern box to tell FARR what to autocomplete... (it would be up to the user)

for the moment I just name the alias like the regex mask (i'm talking about the simple ones Wink) like jgpaiva suggested
Logged
justice
Supporting Member
**
Posts: 1,887



Solve issues simply.

View Profile WWW Give some DonationCredits to this forum member
« Reply #3 on: July 15, 2007, 08:54:48 AM »

right thanks peeps
Logged

mouser
First Author
Administrator
*****
Posts: 33,183



see users location on a map View Profile WWW Read user's biography. Give some DonationCredits to this forum member
« Reply #4 on: July 15, 2007, 08:56:43 AM »

I hesitate to add this because i think it's going to get so little use, BUT i could add a field to each alias where you can specify a kind of "default text string" that would be used if triggered via a hotkey or selected from the agroups "menu".  thoughts?
Logged
justice
Supporting Member
**
Posts: 1,887



Solve issues simply.

View Profile WWW Give some DonationCredits to this forum member
« Reply #5 on: July 18, 2007, 08:16:16 AM »

no that's not needed. could you detect if the regex starts with static text instead of the variable text and then allow calling the static text?

For example if i had a regex alias starting wtih "loc ^(.)" then if farr could know it always started with "loc " then that would solve the problem. Honestly though if it's a lot of work then don't bother because it's probably not very important.
Logged

mouser
First Author
Administrator
*****
Posts: 33,183



see users location on a map View Profile WWW Read user's biography. Give some DonationCredits to this forum member
« Reply #6 on: July 18, 2007, 12:12:21 PM »

yeah i thought of that solution justice..
here is what i came up with however that might be better:

what if i removed the hotkey settings from aliases, and made hotkeys a separate tab, where you just basically configure hotkey + text pairs.  hit a hotkey and it pops up farr and starts searching for the text.

seems more sensible to me and easier to keep track of and manage your hotkeys too..

thoughts?
Logged
nitrix-ud
Charter Member
***
Posts: 482

View Profile Give some DonationCredits to this forum member
« Reply #7 on: July 18, 2007, 12:47:42 PM »

That is just perfect i think...

It would be even more perfect if :
  • we could add a space at the end Wink (like the restartsearch command)
  • we could add an {Enter} command at the end (somehow it would allow commands to hotkeys...)

related to my post concerning the "clipboard trick", if one could add an {Enter} command, you could then assign an hotkey to paste the clipboard content in the search box

hotkey1 <---> clip{Enter}

imagine you create the following "fcc" alias
^fcc$
[copy or print]
$$c | restartsearch fc $$c

then you could create this pair :
hotkey2 <---> fcc{Enter}

just select an mathematical expression... press hotkey2 ... FCalc gives you the result

it would be even more perfect  cheesy if we could add the special variable $$c, we would just have to do :
hotkey2 <---> fc $$c{Enter}

Nitrix




Logged
nitrix-ud
Charter Member
***
Posts: 482

View Profile Give some DonationCredits to this forum member
« Reply #8 on: July 18, 2007, 12:54:17 PM »

maybe the best solution is to be able to assign hotkeys to a restartsearch commands it would allow anything...

  • any text... even with space at the end thanks to the new /s variable
  • any text with special variables...$$c

and if you add features they would be available right away...

thoughts ?
Logged
mouser
First Author
Administrator
*****
Posts: 33,183



see users location on a map View Profile WWW Read user's biography. Give some DonationCredits to this forum member
« Reply #9 on: July 19, 2007, 05:13:42 AM »

a whole new wonderful hotkey system is coming in the next release..
no more hotkeys associated with aliases.. now all hotkeys (main ones for showing farr), and helper ones for starting searches, will be unified, and you'll be able to create as many hotkeys as you want to do different searches and alter the way farr shows on they keypress.



i also note that josh will finally get his ability to use Win-key for FARR hotkey.
Logged
jgpaiva
Global Moderator
*****
Posts: 4,710



Artificial Idiocy

see users location on a map View Profile WWW Read user's biography. Give some DonationCredits to this forum member
« Reply #10 on: July 19, 2007, 05:21:38 AM »

Whoa...... Now that's impressive!
And all that on one night? Man, you're incredible cheesy
Logged

justice
Supporting Member
**
Posts: 1,887



Solve issues simply.

View Profile WWW Give some DonationCredits to this forum member
« Reply #11 on: July 19, 2007, 05:27:21 AM »

MouserPower to the rescue!
Logged

nitrix-ud
Charter Member
***
Posts: 482

View Profile Give some DonationCredits to this forum member
« Reply #12 on: July 19, 2007, 05:36:53 AM »

Sounds great !  cheesy

I hope we will be able to have that kind of "search string"
[copy or print]
fc $$c{Enter}

that is using the dynamic variable $$c
and an "Enter command"...

it would really be powerful... with the correct settings :
just select an mathematical expression, press the hotkey
that's it you have the result in the clipboard !


whouah, that would be awesome !
Logged
Pages: [1]   Go Up
  Reply  |  New Topic  |  Print  
 
Jump to:  
   Forum Home   Thread Marks Chat! Downloads Search Login Register  

DonationCoder.com | About Us
DonationCoder.com Forum | Powered by SMF
[ Page time: 0.047s | Server load: 0.1 ]