omsai / andorian-hotkeys Goto Github PK
View Code? Open in Web Editor NEWkeyboard shortcuts for job productivity
keyboard shortcuts for job productivity
It's possible to use groups of contact and tickets, and edit conditionals to search notes (which include e-mail history) in the global database.
However it's not convenient to edit the search multiple words, nor even edit the search word in a group since each word needs to be added to a conditional list, with OR or AND between list items.
Thus one would need to:
Making a library will help later adding SalesLogix hotkeys. It would be nice to roll up browser A_Cursor
wait loops, etc into functions.
Initials with e.g. M
becomes the month number and MMM
becomes the month string
The "standard" menu the RMA database login was coded for is:
+ Demo Company Menu
- Live Company Menu
RMA Status
RMA Process
Daughter NCP
...
Two users are missing the entry before RMA Process
resulting in Daughter NCP
being opened instead.
Workaround:
Change this line in main.ahk:
Send {Down}{Enter}{Down}{Down}{Enter}
to:
Send {Down}{Enter}{Down}{Enter}
But a fix would require finding what populates the Live Company Menu
entries: e.g. locale, permissions, etc...
Library file: emacs-key-sequence
Usage example : emacs-key-sequence-example
Using โ Win
+M
when the WIP is already open, opens the daughter NCP.
Expected behavior:
A more complete fix may be to use ComObjActive
instead of the Outlook menus.
Suggested patch from James Wainwright:
"I also find the following useful:
;----------------------------------------------------------------------
; SO from Serial number from clipboard
;----------------------------------------------------------------------
#s::
Run http://intranet2/reports/ViewReport.aspx?ReportPath=I:\Intranet\Reports\Sales+Information\Utilities\Orders+with+serial+no.rpt
WinWait, Report Viewer,,500
if ErrorLevel
{
return
}
else
{
WinActivate
Sleep 1500
Send {Tab}{Tab}{Tab}%clipboard%{Enter}
return
}
Feel free to make it more awesome...."
Using Alt
+X
causes the Win
+?
window to show up instead.
Running Alt
+X
again then shows error:
Error: The same variable cannot be used for more than one control. The current thread will exit.
Specifically: vSent
Line#
396: Gui,Add,Radio,vSENT,&Sent E-Mail
The first item in the Word table works fine, but after successfully looking up the second item and highlighting the description, the hotkey ends prematurely without switching back to Word to paste the description.
Usually this type of breakage indicates a change in how Google Chrome tab indexing operates. If so, this may require changing focus_on_browser_page()
in ./lib/common.ahk
.
Classifying as bug because the script shows an error and optionally prompts to terminate itself.
There are several Windows builtin shortcuts which use the super key, which should not be overwritten by AHK shortcuts. You can see these "reserved keys" in the Microsoft Natural Keyboard keys section.
The detection should not rely on a hyphen in the title -
, but it should be able to exclude the SalesLogix personal web server application which steals focus.
On IE the script gets as far as opening the browser window and loading the page, but the order is not pasted in the SO textbox and it does not attempt to submit the information
Attachments often need to be saved from e-mails into tickets, but this is time consuming.
Below is suggested pseudo code for a new hotkey.
Also, make the key Outlook specific to reduce key pollution.
Sometimes it's necessary to process the attachments (reduce size, discard unnecessary stuff, etc).
In that case it's better to break this into 2 steps-
So maybe allow this ability using a GUI with options for:
Save attachments to ticket folder
Add files to ticket
Save attachments to ticket via folder
;----------------------------------------------------------------------
; [Windows Key + a] Add attachments to ticket
;----------------------------------------------------------------------
; Inputs:
; - Ticket number copied (i.e. in clipboard)
; - Have e-mail subject highlighted and thus open in Outlook reading pane
;
; Result:
; - Attachment from e-mail added to ticket
; - List of files added to beginning of Description
;----------------------------------------------------------------------
;#a::
; Create desktop folder named with ticket number
; Save attachments in folder
; Import attachments in SLX
; Get attachment names using cmd /K "C: & cd <path\to\folder> & dir /b"
; List attachment names in SLX descripton
;return
No need to bother with closing and reopening windows since it's possible to use Control*
functions in AHK to read values in any field
Scripts have sensitive execution periods, e.g. where they need to have a certain window active to check program activity. It would be good to have a non-modal window off the center of the screen warning to wait till important execution has finished before continuing normal use. It could also be informative as a status screen with "step 1 of 4 blah".
One danger is the script dies or is interrupted and the window is left open- so it should have a close, or "do not show again" INI option.
The Autohotkey download link is connected to an outdated version! The scripts will not run properly unless a newer version is installed: http://ahkscript.org/
Show active shortcuts with new help key. Use HotKey
with variables for KeyName
and Label
to assign the keyboard shotcuts.
Normally if an RMA is already open in WIP and one searches for another RMA, the hotkey sends Esc
key to clear the old RMA and type the new one. Unfortunately it does the same thing if there is no RMA, so the Esc
key closes the RMA window. This can be fixed by not sending Esc
iff the "RMA No" field is empty (or read-only).
Browser hotkeys rely on the value of A_Cursor
, and this variable will not be set correctly unless the mouse is re-positioned to the browser window.
Right now the WIP parses R\d{5}
, but sometimes records are referenced by RMA\d{5}
. It would be good to try and parse this and also fall back to \d{5}
The hotkeys fail in the following ways:
Win + M
opening the WIP fails to enter the username and password.Win + M
searching highlighted RMA with the WIP window open does nothing.Ctrl + P
Printing the WIP report does nothing.May be related to AHK_L version.
Ctrl + S
hotkey to save the WIP report was not tried.
Fault seen on Windows 7 Aero. Cause may be due to _highlight_color
not matching the theme color in copy_group_adding_conditions()
, so this can be profiled easily with AutoIt3 Windows Spy.
Melody also suggested finding the theme in use.
Another approach to fixing this is "calibrating" the _highlight_color
by making a selection at a known location and querying the pixel color.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.