topbanner_forum
  *

avatar image

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

Login with username, password and session length
  • Friday March 29, 2024, 4:29 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: Launcher from any text editor  (Read 3282 times)

Contro

  • Supporting Member
  • Joined in 2007
  • **
  • Posts: 3,940
    • View Profile
    • Donate to Member
Launcher from any text editor
« on: January 05, 2013, 01:59 PM »
 :-[

I think this must be easy.

Suppose you have a path in a txt file

Y:\contro\con1  you want to open

I would like a hotkey to open the path from the txt file or any other similar situation

And also for an executable path

By example

Y:\contro\con1\contro.exe

using the default program for that purpose assigned by the system.

Best Regards
 :-*

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: Launcher from any text editor
« Reply #1 on: January 05, 2013, 02:04 PM »
That should be easy enough to do in autohotkey, and one of the autohotkey people will surely report how to do it.

I'll just mention that if you use my Find and Run Robot, you can configure a hotkey that tells FARR to copy the text under the clipboard and then launch farr with that text in the search window.  From there you could hit enter to open or launch the file (if the text under the clipboard was a file) or hit enter to launch a url, or let FARR do a search for whatever text is under clipboard.  In this way FARR might be a more general solution to what you are interested in.

Note, by default FARR as an example hotkey that almost does this -- just select some text under cursor and hit Ctrl+Break.  The difference is that this default hotkey example adds the word "search " prior to launching with the text under cursor, and so is useful for performing web searches for the text.

Contro

  • Supporting Member
  • Joined in 2007
  • **
  • Posts: 3,940
    • View Profile
    • Donate to Member
Re: Launcher from any text editor
« Reply #2 on: January 05, 2013, 05:55 PM »
That should be easy enough to do in autohotkey, and one of the autohotkey people will surely report how to do it.

I'll just mention that if you use my Find and Run Robot, you can configure a hotkey that tells FARR to copy the text under the clipboard and then launch farr with that text in the search window.  From there you could hit enter to open or launch the file (if the text under the clipboard was a file) or hit enter to launch a url, or let FARR do a search for whatever text is under clipboard.  In this way FARR might be a more general solution to what you are interested in.

Note, by default FARR as an example hotkey that almost does this -- just select some text under cursor and hit Ctrl+Break.  The difference is that this default hotkey example adds the word "search " prior to launching with the text under cursor, and so is useful for performing web searches for the text.

Nice indeed. I haven't understand completely, excuse me, but I can learn.

I will comment
 :-*

Contro

  • Supporting Member
  • Joined in 2007
  • **
  • Posts: 3,940
    • View Profile
    • Donate to Member
Re: Launcher from any text editor
« Reply #3 on: January 05, 2013, 06:02 PM »
A single doubt

I observed three hotkeys I don't manage

In my keyboard I obtain # by the combination AltGr+3 (from the alfaphetical-numerical number zone)

But when I use Control+AltGr+3 I obtain only # and is proposed as Launch and stay open FARR

See the screenshot

Contro

  • Supporting Member
  • Joined in 2007
  • **
  • Posts: 3,940
    • View Profile
    • Donate to Member
Re: Launcher from any text editor
« Reply #4 on: January 05, 2013, 06:07 PM »
How can i define the new hotkey to launch ?

It's here ?

Best Regards



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: Launcher from any text editor
« Reply #5 on: January 05, 2013, 06:23 PM »
Yes, RIGHT-CLICK in that window and choose to create a new hotkey.  Use whatever keyboard shortcut you want.

Choose the following options:
Screenshot - 1_5_2013 , 6_22_28 PM - cap 00129.png

Contro

  • Supporting Member
  • Joined in 2007
  • **
  • Posts: 3,940
    • View Profile
    • Donate to Member
Re: Launcher from any text editor
« Reply #6 on: January 05, 2013, 06:26 PM »
 ;D
Running to try

Contro

  • Supporting Member
  • Joined in 2007
  • **
  • Posts: 3,940
    • View Profile
    • Donate to Member
Re: Launcher from any text editor
« Reply #7 on: January 05, 2013, 06:36 PM »
 :-*

It's marvellous

I launch a folder
then a program
and finally an url


 :P