| View previous topic :: View next topic |
| Author |
Message |
HotKeyIt
Joined: 18 Jun 2008 Posts: 230 Location: GERMANY
|
Posted: Thu Aug 07, 2008 10:03 pm Post subject: SCRIPT MANAGER incl. keyword launcher and editor |
|
|
SCRIPT MANAGER
- - - - - - - - - - IMPORTANT - - - - - - - - - -
- Scripts and files having a non-alnum character before first dot (.) will not be loaded
- only alnum characters and _ can be used for keyword and filename before .(dot)
- - - For example cmd.ahk will work, c m d.ahk will not work
- - - command line.ahk will not work command_line.ahk will work
- It is thought to name your files not in the traditional way - name.ext
- The idea is to call them - keyword.descripton and options
- - - however you can leave .ahk at the end, then word before .ahk is the keyword of your script
- - - Instead calling them for example cmd.ahk, call it cmd.Command Line Interpreter CAPSLOCKc AUTOSTART
- - - cmd will be the keyword (Run with CAPSLOCK & TAB), dot (.) the separator and remaining the name and option for hotkey and autostart
- Standard script folder is AutoScriptWriter, change in menu settings in SCRIPT MANAGER
- - - - - - - - - - - - - - - - - - - - - - - - - - -
- - - - - - - - - - FEATURES - - - - - - - - - -
- AUTOSTART your scripts - include word AUTOSTART in file name
- KEYWORD LAUNCHER for your scripts - CAPSLOCK & TAB - now you can change the color of it
- - Features:
- - - Enter your scripts name and hit Enter to launch it
- - - - for example your script is called cmd.ahk, enter cmd and hit Enter
- - - Enter a website excluding www..com and it will run trough Google I'm feeling lucky
- - - Enter .searchterm and it will search on Google for it
- - - Enter ?searchterm and it will translate German/Englisch on leo.dict.org
- - - Enter -searchterm and it will search for it on ebay
- - - Enter =5+5 for calculations
- - - Enter \\server\folder\file.ext or c:\folder\file.ext and it will run that file/folder
- - - Enter IP address and it will open it with your webbrowser.
- - - Enter :MsgBox, %A_Now% or any other command, it will create temp script and run it. Afterwards it will be deleted
- - NEW - type a character and it will auto suggest your scripts
- - - Run them pressing F1 - F12 or open in editor with ALT & F1-F12
- - - - You can turn off that feature - go menu settings in editor and set SUGGEST AND RUN to 0
- - - - Otherwise set the amound of max suggestions to display and search for
- AUTOMATICALY ASSIGNED HOTKEYs
- - - a file with CAPSLOCKp in filename will be started by pressing CAPSLOCK & P as a hotkey
- - - - - - CAPS/SCROLL/NUMLOCK & a-z or 0-9 can be used as hotkeys
- - - a file with HOTKEYpf in filename will be started by pressing P & F as a hotkey
- - - - - - for this hotkey SPEEDHOTKEY must be ON - CAPSLOCK & ENTER or CTRL & CAPSLOCK to turn ON/OFF
- COMMAND SUGGEST
- - - This will suggest existing commands in editor while you are typing trough ToolTip.
- SCRIPTS PROCESS TERMINATOR (CTRL & PAUSE, CAPSLOCK & PAUSE TERMINATE ALL)
- QUICK FILE AND FOLDER FINDER - CAPSLOCK & SHIFT
- - - - - - - - - Also Included - - - - - - - - - -
- WinInfo Menu Menu by Jon. Quick information about windows and controls
- Anchor V4 V4 by Titan. Control resizing
- hiEdit functions and CmnDlg by majkinetor:
- - - hiEdit - QUICK EDITOR for your scripts suporting syntax highlighting (CAPSLOCK & F5).
- - - - - Script highlighting
- - - - - Find/Replace
- - - - - Lines support and go to
- - - - - Filter your files, also RegExMatch support (use "")
- - - - - TABs for files and File List
- - - - - Undo/Redo
- CmnDlg 4.1
All these functions and script are included in AutoHotkey.ini
They are very usefull. Many thanks to authors.
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - - - - - - - - - You need following - - - - - - - - - -
- AutoHotkey.exe(no need to install)
- AutoHotkey.ini with the script
- hiEdit.zip with hiEdit.dll for hiEdit Editor and KeyWords.hes for syntax highlighting
- All these files need to be in the same folder to run.
COMPLETE FILES:
- ScriptManager.zip
- Script ManagerInstall.exe
- - - - - - - - - - - - - - - - - - - - -
FEEDBACK AND ANY SUGGESTIONS ARE VERY WELCOME
- - - - - - - CHANGES - - - - - - -
13 August 2008
Fixed some errors in command suggest
12 August 2008
- Command suggest
- - - Help and info for AHK commands.
- 09 August 2008
- - - Automatic suggestions when a script starts with typed letters
- - - Set colour of tooltip gui (Capslock & TAB)[/quote]
Last edited by HotKeyIt on Wed Aug 13, 2008 7:12 pm; edited 32 times in total |
|
| Back to top |
|
 |
jballi
Joined: 01 Oct 2005 Posts: 385 Location: Texas, USA
|
Posted: Thu Aug 07, 2008 11:08 pm Post subject: |
|
|
| Link for the .zip file doesn't work for me... |
|
| Back to top |
|
 |
Krogdor
Joined: 18 Apr 2008 Posts: 1145 Location: The Interwebs
|
Posted: Thu Aug 07, 2008 11:50 pm Post subject: |
|
|
Same.
Takes to a blank AutoHotkey.net page. |
|
| Back to top |
|
 |
HotKeyIt
Joined: 18 Jun 2008 Posts: 230 Location: GERMANY
|
Posted: Fri Aug 08, 2008 4:35 am Post subject: |
|
|
| Zip is working now as well, thanks for letting me know. |
|
| Back to top |
|
 |
DerRaphael
Joined: 23 Nov 2007 Posts: 604 Location: 127.0.0.1
|
Posted: Fri Aug 08, 2008 2:41 pm Post subject: |
|
|
"C:\Scratch\SAP\AutoHotkey.exe"
?!??
this info is in the "ink" file ... btw it is L N K for link. not I N K
and autohotkey can generate these at wish
greets
dR _________________
|
|
| Back to top |
|
 |
HotKeyIt
Joined: 18 Jun 2008 Posts: 230 Location: GERMANY
|
Posted: Fri Aug 08, 2008 3:41 pm Post subject: |
|
|
Thanks DerRaphael, looks like it is not possible to create a relative shortcut.
The installation file will create them but not the script, especially when AutoHotekey is not installed, then it asks to create a script instead of loading the AutoHotkey.ini
Does anyone know why?
What is the initial process/code when nothing is attached to AutoHotkey.exe and it is not installed?
___________________________
AHK -----> Almighty - HotKeyAble - Kernel
Last edited by HotKeyIt on Fri Aug 08, 2008 3:49 pm; edited 1 time in total |
|
| Back to top |
|
 |
DerRaphael
Joined: 23 Nov 2007 Posts: 604 Location: 127.0.0.1
|
Posted: Fri Aug 08, 2008 3:48 pm Post subject: |
|
|
| Quote: | | FileCreateShortcut, Target, LinkFile [, WorkingDir, Args, Description, IconFile, ShortcutKey, IconNumber, RunState] |
mybad i did a mistake - heres the correct version:
| Code: | | FileCreateShortcut, %A_ScriptFullPath%, %A_Desktop%\MyThing.lnk , %A_WorkingDir%,% "",% "My AutoHotkeyScript" |
dR _________________
|
|
| Back to top |
|
 |
HotKeyIt
Joined: 18 Jun 2008 Posts: 230 Location: GERMANY
|
Posted: Fri Aug 08, 2008 3:53 pm Post subject: |
|
|
Hi DerRaphael,
this will only work if AutoHotkey.exe would start the AutoHotkey.ini and then it would not be requiered.
This shortcut is included in the installation file ScriptManagerInstall.exe
____________
AHK -----> Almighty - HotKeyAble - Kernel |
|
| Back to top |
|
 |
DerRaphael
Joined: 23 Nov 2007 Posts: 604 Location: 127.0.0.1
|
Posted: Fri Aug 08, 2008 4:12 pm Post subject: |
|
|
| it would be nice if u give proper credits in your script and also point the interested scripter to an url where you found the particular code fragments |
|
| Back to top |
|
 |
HotKeyIt
Joined: 18 Jun 2008 Posts: 230 Location: GERMANY
|
Posted: Fri Aug 08, 2008 4:16 pm Post subject: |
|
|
| Comments and link will follow, did not fime time for this yet |
|
| Back to top |
|
 |
DerRaphael
Joined: 23 Nov 2007 Posts: 604 Location: 127.0.0.1
|
Posted: Fri Aug 08, 2008 4:17 pm Post subject: |
|
|
a_ahkpath includes the full path to the interpreter running the script
a_scriptname is the name of the script (not neccessary ending in .ahk)
a_iscompiled - u get the point |
|
| Back to top |
|
 |
HotKeyIt
Joined: 18 Jun 2008 Posts: 230 Location: GERMANY
|
Posted: Fri Aug 08, 2008 4:59 pm Post subject: |
|
|
| DerRaphael wrote: | a_ahkpath includes the full path to the interpreter running the script
a_scriptname is the name of the script (not neccessary ending in .ahk)
a_iscompiled - u get the point |
So when you never run autohotkey.exe before on a computer and you double click the autohotkey.exe, A_ScriptName will be autohotkey.ini if found. But for me it did not always work and I do not know why. |
|
| Back to top |
|
 |
DerRaphael
Joined: 23 Nov 2007 Posts: 604 Location: 127.0.0.1
|
Posted: Fri Aug 08, 2008 5:05 pm Post subject: |
|
|
| erm ... where is the point in having an autohotkey SCRIPT manager when not running autohotkey at all? u even provide an editor interface for customizing own scripts. i dont get it. |
|
| Back to top |
|
 |
HotKeyIt
Joined: 18 Jun 2008 Posts: 230 Location: GERMANY
|
Posted: Fri Aug 08, 2008 7:36 pm Post subject: |
|
|
| DerRaphael wrote: | | erm ... where is the point in having an autohotkey SCRIPT manager when not running autohotkey at all? u even provide an editor interface for customizing own scripts. i dont get it. |
Autohotkey will run anyway and anything, you just possibly have to place the shortcut if it won't run by double clicking AutoHotkey.exe.
______________________
AHK ----> Almighty - HotKeyable - Kernel |
|
| Back to top |
|
 |
HotKeyIt
Joined: 18 Jun 2008 Posts: 230 Location: GERMANY
|
Posted: Sat Aug 09, 2008 11:22 am Post subject: |
|
|
NEW:
- - - - - - On the fly auto suggestion.
- For example you have 3 scripts called s.SAP, search.Find files and sr.Replace String
- When you press CAPSLOCK & TAB and enter s, it will suggest you your scripts that you can run by pressing F1-F12 or edit by pressing ALT + F1-F12.
- - - - - - Change color of keyword launcher
- Go to menu settings in editor SET KEYWORD LAUNCHER COLOR
Enjoy.
_________________
AHK -----> Almighty - Hotkeyable - Kernel |
|
| Back to top |
|
 |
|