AutoHotkey Community

It is currently May 27th, 2012, 12:17 pm

All times are UTC [ DST ]




Post new topic Reply to topic  [ 166 posts ]  Go to page Previous  1 ... 7, 8, 9, 10, 11, 12  Next

Have you tried AutoHotFile?
Yes it is great.
Could not get it to work, please provide more information.
It does not provide the functions I need (please explain).
Yes but it is useless for me.
I am already using a different keyword launcher.
No, I do not like to use a keyword launcher.
You may select 1 option

View results
Author Message
 Post subject:
PostPosted: January 16th, 2012, 5:08 pm 
@HotKeyIt: you must run a very very very very old version of TC as the name changed years ago exe name is now TOTALCMD.EXE ;-)


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: January 16th, 2012, 5:37 pm 
Offline

Joined: May 26th, 2011, 7:53 am
Posts: 237
Location: uk
Well I tried Totalcmd.exe and also the including the path to Totalcmd.exe but could not get it to work.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: January 16th, 2012, 7:26 pm 
Offline

Joined: June 18th, 2008, 8:36 am
Posts: 4923
Location: AHK Forum
Quote:
@HotKeyIt: you must run a very very very very old
that's true :)
Quote:
Well I tried Totalcmd.exe and also the including the path to Totalcmd.exe but could not get it to work.
Can you post what you tried or post the error message?

_________________
AHK_H (2alpha) AHF TT _Struct WatchDir Yaml _Input ObjTree RapidHotkey DynaRun :wink:


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: January 16th, 2012, 11:24 pm 
Offline

Joined: May 26th, 2011, 7:53 am
Posts: 237
Location: uk
this is what i tried
Code:
ShowExplorer(path,select=""){
   ToolTip(5,path,"Opening, please wait...","GTTM_TRACKPOSITION.TTM_TRACKACTIVATE L1 I" . GetAssociatedIcon(path) . " x" . #_XPOS_ . " y" . #_YPOS_)
   If (InStr(FileExist(path),"D",1) or FileExist(path)="")
      Run % "C:\Totalcmd\TOTALCMD.EXE /e`, /n`," . path
   else
      Run,% "C:\Totalcmd\TOTALCMD.EXE /e`, /n`, /select`," . path
   If Errorlevel
      ToolTip(9, path,"Error opening file","I3 BFF0000 F000000 D2")
   ToolTip(5,"","","gTTM_POP")


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: January 17th, 2012, 7:56 am 
Offline

Joined: June 18th, 2008, 8:36 am
Posts: 4923
Location: AHK Forum
Now try:
Code:
ShowExplorer(path,select=""){
   ToolTip(5,path,"Opening, please wait...","GTTM_TRACKPOSITION.TTM_TRACKACTIVATE L1 I" . GetAssociatedIcon(path) . " x" . #_XPOS_ . " y" . #_YPOS_)
      Run % "C:\Totalcmd\TOTALCMD.EXE /N " . path
   ToolTip(5,"","","gTTM_POP")
}
See http://www.ghisler.ch/wiki/index.php/Co ... parameters

_________________
AHK_H (2alpha) AHF TT _Struct WatchDir Yaml _Input ObjTree RapidHotkey DynaRun :wink:


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: January 17th, 2012, 9:49 am 
Offline

Joined: May 26th, 2011, 7:53 am
Posts: 237
Location: uk
Thanks, that sort of works, I mean it now opens the folder in TC, but it opens a new instance of TC even if there is one already open - this is strange as I have TC set to allow only one instance in it's Settings.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: January 17th, 2012, 9:57 am 
@TheGreatSwami Woo: Try this
Code:
ShowExplorer(path,select=""){
   ToolTip(5,path,"Opening, please wait...","GTTM_TRACKPOSITION.TTM_TRACKACTIVATE L1 I" . GetAssociatedIcon(path) . " x" . #_XPOS_ . " y" . #_YPOS_)
   OpenTC(Path)
   ToolTip(5,"","","gTTM_POP")
}

OpenTC(Path)
   {
         WinActivate ahk_class TTOTAL_CMD
         path .= "`r"
         VarSetCapacity( CopyDataStruct, 12 )
         InsertInteger( Asc( "C" ) + 256 * Asc( "D" ), CopyDataStruct )
         InsertInteger( StrLen( path ) + 5, CopyDataStruct, 4 )
         InsertInteger( &path, CopyDataStruct, 8 )
         InsertInteger( Asc( "S" ), path, StrLen( path ) + 1, 1)
         SendMessage, 0x4A, , &CopyDataStruct, , ahk_class TTOTAL_CMD
   }

If you want to open it in a new tab, just insert a (Control)Send ^t after the WinActivate in the new OpenTC func


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: January 17th, 2012, 11:05 am 
Offline

Joined: June 18th, 2008, 8:36 am
Posts: 4923
Location: AHK Forum
There is also switch /O?

Did you check the link I posted?
Code:
Run % "C:\Totalcmd\TOTALCMD.EXE /O " . path

_________________
AHK_H (2alpha) AHF TT _Struct WatchDir Yaml _Input ObjTree RapidHotkey DynaRun :wink:


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: January 17th, 2012, 11:24 am 
Offline

Joined: May 26th, 2011, 7:53 am
Posts: 237
Location: uk
I Just tried the simple one line change with the /0 switch which works fine. I will keep the other snippet for future reference.

I didnt look at the link - I sort of thought I wouldnt know how to incorporate it into the script (it's a very large -complicated- IMPRESSIVE script)
I have read it now though as it is useful.
I think I cant be the only one that uses TC and tries this script? so maybe this will be useful for them too.
Thanks - now I will use AutoHotFile more as it uses my FAV. file manager now.

I do have another Little and unimportant question about the tooltip that appears when you activate AutoHotfile.
It displays
Escape = cancel
Ctrl = Help
How can I remove or change that, where is it in the code? After a while of using AutoHotfile I no longer need the reminder


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: January 17th, 2012, 12:47 pm 
Offline

Joined: June 18th, 2008, 8:36 am
Posts: 4923
Location: AHK Forum
Thanks ;)
See line 114
Code:
If #__SET__LANGUAGE_ = DE
   #__START_UP_ =  - ESCAPE = ABBRECHEN`n- CTRL+H = HILFE
else
   #__START_UP_ =  - ESCAPE = CANCEL`n- CTRL+H = HELP

_________________
AHK_H (2alpha) AHF TT _Struct WatchDir Yaml _Input ObjTree RapidHotkey DynaRun :wink:


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: January 17th, 2012, 9:56 pm 
Offline

Joined: May 26th, 2011, 7:53 am
Posts: 237
Location: uk
some more advice needed, :lol:
In the settings you can add some Favorits, so I tried adding some favorit dirs like
c:\central
D:\desktop

now when I bring up AutoHotkey and type ? it lists my favorits with the F1 F2 F3 indicator before them but if I press F1 instead of opening c:\central in My file explorer it opens Internet Exporer and goes to a website called Cental.
how do I open the favorit folder?


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: January 17th, 2012, 11:10 pm 
Offline

Joined: June 18th, 2008, 8:36 am
Posts: 4923
Location: AHK Forum
Might be a bug, try holding shift :?

_________________
AHK_H (2alpha) AHF TT _Struct WatchDir Yaml _Input ObjTree RapidHotkey DynaRun :wink:


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: January 18th, 2012, 10:25 am 
Offline

Joined: May 26th, 2011, 7:53 am
Posts: 237
Location: uk
Already tried holding shift (with the compiled version and the ahk version)
but it just gives a message "no keyword fouind".

By the way, the Title for this script "Automated keyword launcher"
some people might pass it by not realizing it is a "File browser/Program Launcher and Keyword launcher"


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: January 18th, 2012, 12:45 pm 
Offline

Joined: June 18th, 2008, 8:36 am
Posts: 4923
Location: AHK Forum
I see, try to replace #__Run_Var with following:
Code:
#__Run_Var:
{
   KeyWait, CapsLock
   If #__SPEEDHOTKEY_STATE_ = ON
      Toggle_Speed_Hotkey()
   If #__CURRENT_VAR =
      #__OUT_RUN_VAR_ = %#_current_var_last%
   else
   {
      #__OUT_RUN_VAR_ = %#__CURRENT_VAR%
      #_current_var_last = %#__CURRENT_VAR%
   }
   #__CURRENT_VAR =
   If SubStr(#__OUT_RUN_VAR_,1,1)="?")
      StringTrimLeft,#__OUT_RUN_VAR_,#__OUT_RUN_VAR_,1

   If #__OUT_RUN_VAR_ =
      Return
   If DBArray("files","exist",#__OUT_RUN_VAR_){
      #__OUT_RUN_VAR_:=DBArray("files","get",#__OUT_RUN_VAR_)
      if #_PARAM_VAR
         Run(#_CUT_VAR) ;(RegExMatch(#__OUT_RUN_VAR_, "^\w+$") and %#__OUT_RUN_VAR_%)
      else
         Run(#__OUT_RUN_VAR_)
   } else if FileExist(#__OUT_RUN_VAR_) {
      Run(#__OUT_RUN_VAR_)

   } else {
      If (SubStr(#__OUT_RUN_VAR_, 1, 1) = ":")
      {
         StringTrimLeft, #__OUT_RUN_VAR_, #__OUT_RUN_VAR_, 1
         RunPipe(#__OUT_RUN_VAR_,A_Now . "." . A_TickCount)
      }
      else
      {
         Web(#__OUT_RUN_VAR_)
      }
   }
   Hide(0)
   Return
}


Thanks for the note about title, I'll try to find something more descriptive for AHFv2 ;)

_________________
AHK_H (2alpha) AHF TT _Struct WatchDir Yaml _Input ObjTree RapidHotkey DynaRun :wink:


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: March 10th, 2012, 12:00 am 
Offline

Joined: March 9th, 2012, 11:49 pm
Posts: 3
This is great. I have two questions:

1. Is there any way to change the language back to english. For some reason it is showing me German.

2. If the results page is more than one page, goes down to the bottom of the screen, is there any way to see the next page, pagedown does not work for me.

Many thanks
:?:


Report this post
Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 166 posts ]  Go to page Previous  1 ... 7, 8, 9, 10, 11, 12  Next

All times are UTC [ DST ]


Who is online

Users browsing this forum: No registered users and 5 guests


You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Powered by phpBB® Forum Software © phpBB Group