Jump to content


Photo

SCRIPT MANAGER incl. keyword launcher and editor


  • Please log in to reply
22 replies to this topic

#1 HotKeyIt

HotKeyIt
  • Fellows
  • 6134 posts

Posted 07 August 2008 - 10:03 PM

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 <!-- w -->www..com<!-- w --> 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

Posted Image


- - - - - - - 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]

#2 jballi

jballi
  • Members
  • 941 posts

Posted 07 August 2008 - 11:08 PM

Link for the .zip file doesn't work for me...

#3 Krogdor

Krogdor
  • Members
  • 1391 posts

Posted 07 August 2008 - 11:50 PM

Same.

Takes to a blank AutoHotkey.net page.

#4 HotKeyIt

HotKeyIt
  • Fellows
  • 6134 posts

Posted 08 August 2008 - 04:35 AM

Zip is working now as well, thanks for letting me know.

#5 derRaphael

derRaphael
  • Members
  • 872 posts

Posted 08 August 2008 - 02:41 PM

"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

#6 HotKeyIt

HotKeyIt
  • Fellows
  • 6134 posts

Posted 08 August 2008 - 03:41 PM

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

#7 derRaphael

derRaphael
  • Members
  • 872 posts

Posted 08 August 2008 - 03:48 PM

FileCreateShortcut, Target, LinkFile [, WorkingDir, Args, Description, IconFile, ShortcutKey, IconNumber, RunState]


mybad i did a mistake - heres the correct version:
FileCreateShortcut, %A_ScriptFullPath%, %A_Desktop%\MyThing.lnk , %A_WorkingDir%,% "",% "My AutoHotkeyScript"

dR

#8 HotKeyIt

HotKeyIt
  • Fellows
  • 6134 posts

Posted 08 August 2008 - 03:53 PM

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

#9 derRaphael

derRaphael
  • Members
  • 872 posts

Posted 08 August 2008 - 04:12 PM

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

#10 HotKeyIt

HotKeyIt
  • Fellows
  • 6134 posts

Posted 08 August 2008 - 04:16 PM

Comments and link will follow, did not fime time for this yet

#11 derRaphael

derRaphael
  • Members
  • 872 posts

Posted 08 August 2008 - 04:17 PM

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

#12 HotKeyIt

HotKeyIt
  • Fellows
  • 6134 posts

Posted 08 August 2008 - 04:59 PM

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.

#13 derRaphael

derRaphael
  • Members
  • 872 posts

Posted 08 August 2008 - 05:05 PM

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.

#14 HotKeyIt

HotKeyIt
  • Fellows
  • 6134 posts

Posted 08 August 2008 - 07:36 PM

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

#15 HotKeyIt

HotKeyIt
  • Fellows
  • 6134 posts

Posted 09 August 2008 - 11:22 AM

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