Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ; IMPORTANT INFO ABOUT GETTING STARTED: Lines that start with a
- ; semicolon, such as this one, are comments. They are not executed.
- ; This script has a special filename and path because it is automatically
- ; launched when you run the program directly. Also, any text file whose
- ; name ends in .ahk is associated with the program, which means that it
- ; can be launched simply by double-clicking it. You can have as many .ahk
- ; files as you want, located in any folder. You can also run more than
- ; one ahk file simultaneously and each will get its own tray icon.
- ; SAMPLE HOTKEYS: Below are two sample hotkeys. The first is Win+Z and it
- ; launches a web site in the default browser. The second is Control+Alt+N
- ; and it launches a new Notepad window (or activates an existing one). To
- ; try out these hotkeys, run AutoHotkey again, which will load this file.
- #z::Run www.autohotkey.com
- ; ABBREVIATIONS
- ::btw::by the way
- ::Bjr::Bonjour
- ::Cdt::Cordialement,
- ::Cdlt::Cordialement,
- ::svp::s'il vous plait
- ::mdp::merci de preciser la numero d�accord
- ::l4 ::Seuil imputation de 24 mois depasse
- ::m4 ::vin inconnu et non-accepte car voiture non-francaise
- ::l9 ::La campagne est deja rattrappee
- ::u7 ::Les pieces eurorepar ne sont pas imputables en garantie
- ::m9 ::Non conforme a la description campagne
- ::z2 ::Contact plateforme tech. + Accord prealable necessaire
- ::g5 ::Presentation hors delai, plus de 25 jours
- ::80 ::Travaux non conformes aux methodes du constructeur
- ; OPEN CLAIM FAST
- ^!c::
- WinWait, Mon poste bureautique EE - Desktop Viewer,
- IfWinNotActive, Mon poste bureautique EE - Desktop Viewer, , WinActivate, Mon poste bureautique EE - Desktop Viewer,
- WinWaitActive, Mon poste bureautique EE - Desktop Viewer,
- MouseClick, left, 715, 465
- Send, {F4}
- Sleep, 50
- Send, 2{ENTER}
- Sleep, 50
- Send, %clipboard%
- MouseClick, left, 630, 460
- Sleep, 100
- return
- ; OPEN IN SB
- ^!x::
- WinWait, Mon poste bureautique EE - Desktop Viewer,
- IfWinNotActive, Mon poste bureautique EE - Desktop Viewer, , WinActivate, Mon poste bureautique EE - Desktop Viewer,
- WinWaitActive, Mon poste bureautique EE - Desktop Viewer,
- MouseClick, left, 1253, 316
- Send,{Shift down}{Right 8}{Shift up}
- Send, ^c
- WinWait, Service Box - Google Chrome,
- IfWinNotActive, Service Box - Google Chrome, , WinActivate, Service Box - Google Chrome,
- WinWaitActive, Service Box - Google Chrome,
- MouseClick, left, 55, 311
- Sleep, 50
- MouseClick, left, 49, 211
- Sleep, 200
- Send, {BACKSPACE}{DEL}{DEL}{DEL}{DEL}{DEL}{DEL}{DEL}{DEL}{DEL}{DEL}{DEL}{DEL}{DEL}{DEL}{DEL}{DEL}{DEL}{DEL}{DEL}{CTRLDOWN}v{CTRLUP}{ENTER}
- MouseClick, left, 528, 402
- return
- ; PASTE PART/TSB IN SB
- ^!y::
- WinWait, Service Box - Google Chrome,
- IfWinNotActive, Service Box - Google Chrome, , WinActivate, Service Box - Google Chrome,
- WinWaitActive, Service Box - Google Chrome,
- MouseClick, left, 560, 259
- Send, {DEL}{DEL}{DEL}{DEL}{DEL}{BACKSPACE}{BACKSPACE}{BACKSPACE}{BACKSPACE}{BACKSPACE}{BACKSPACE}{BACKSPACE}{BACKSPACE}{BACKSPACE}{BACKSPACE}{BACKSPACE}{CTRLDOWN}v{CTRLUP}{ENTER}
- return
- ; INVOICE OK
- ^!a::
- WinWait, Mon poste bureautique EE - Desktop Viewer,
- IfWinNotActive, Mon poste bureautique EE - Desktop Viewer, , WinActivate, Mon poste bureautique EE - Desktop Viewer,
- WinWaitActive, Mon poste bureautique EE - Desktop Viewer,
- MouseClick, left, 630, 460
- Sleep, 100
- Send, aa{ENTER}{F8}{F8}
- MouseClick, left, 474, 608
- Sleep, 50
- Send, justificatif{SPACE}ok{SPACE}�fa{ENTER}
- return
- ; INVOICE
- ^!s::
- WinWait, Mon poste bureautique EE - Desktop Viewer,
- IfWinNotActive, Mon poste bureautique EE - Desktop Viewer, , WinActivate, Mon poste bureautique EE - Desktop Viewer,
- WinWaitActive, Mon poste bureautique EE - Desktop Viewer,
- MouseClick, left, 630, 460
- Sleep, 100
- Send, nj{ENTER}{F8}{F8}
- MouseClick, left, 420, 490
- Sleep, 50
- Send, envoyez{SPACE}la{SPACE}facture{SPACE}svp{SPACE}�fa{ENTER}
- return
- ; HISTORY
- ^a::
- WinWait, Mon poste bureautique EE - Desktop Viewer,
- IfWinNotActive, Mon poste bureautique EE - Desktop Viewer, , WinActivate, Mon poste bureautique EE - Desktop Viewer,
- WinWaitActive, Mon poste bureautique EE - Desktop Viewer,
- MouseClick, left, 598, 575
- Send, {F6}
- Sleep, 10
- Send, s53f{F5}{ENTER}
- return
- ; DIAG
- ^d::
- WinWait, Mon poste bureautique EE - Desktop Viewer,
- IfWinNotActive, Mon poste bureautique EE - Desktop Viewer, , WinActivate, Mon poste bureautique EE - Desktop Viewer,
- WinWaitActive, Mon poste bureautique EE - Desktop Viewer,
- MouseClick, left, 598, 575
- Send, {F6}
- Sleep, 10
- Send, s7td{F5}{ENTER}
- return
- ; EDIAG
- ^w::
- MouseClick, left, 1254, 319
- Send,{Shift down}{Right 8}{Shift up}^c
- MouseClick, left, 39, 87
- Sleep, 50
- MouseClick, left, 845, 356
- Send, ^v{ENTER}
- return
- ; TELECHARGMENT
- ^g::
- WinWait, Mon poste bureautique EE - Desktop Viewer,
- IfWinNotActive, Mon poste bureautique EE - Desktop Viewer, , WinActivate, Mon poste bureautique EE - Desktop Viewer,
- WinWaitActive, Mon poste bureautique EE - Desktop Viewer,
- MouseClick, left, 598, 575
- Send, {F6}
- Sleep, 10
- Send, s7tl{F5}{ENTER}
- return
- ^!q::
- WinWait, Mon poste bureautique EE - Desktop Viewer,
- IfWinNotActive, Mon poste bureautique EE - Desktop Viewer, , WinActivate, Mon poste bureautique EE - Desktop Viewer,
- WinWaitActive, Mon poste bureautique EE - Desktop Viewer,
- MouseClick, left, 598, 575
- Send, {F6}
- Sleep, 10
- Send, sgq1{F6}{ENTER}
- return
- ^!w::
- WinWait, Mon poste bureautique EE - Desktop Viewer,
- IfWinNotActive, Mon poste bureautique EE - Desktop Viewer, , WinActivate, Mon poste bureautique EE - Desktop Viewer,
- WinWaitActive, Mon poste bureautique EE - Desktop Viewer,
- MouseClick, left, 598, 575
- Send, {F6}
- Sleep, 10
- Send, sgw1{F6}{ENTER}
- return
- ; OPEN CLOSED CLAIM
- ^h::
- WinWait, Mon poste bureautique EE - Desktop Viewer,
- IfWinNotActive, Mon poste bureautique EE - Desktop Viewer, , WinActivate, Mon poste bureautique EE - Desktop Viewer,
- WinWaitActive, Mon poste bureautique EE - Desktop Viewer,
- MouseClick, left, 598, 575
- Send, {F6}
- Sleep, 10
- Send, s53h{F6}{ENTER}
- Sleep, 100
- MouseClick, left, 470, 260
- Sleep, 10
- Send, ^v{ENTER}
- return
- ; S22C
- ^r::
- WinWait, Mon poste bureautique EE - Desktop Viewer,
- IfWinNotActive, Mon poste bureautique EE - Desktop Viewer, , WinActivate, Mon poste bureautique EE - Desktop Viewer,
- WinWaitActive, Mon poste bureautique EE - Desktop Viewer,
- MouseClick, left, 598, 575
- Send, {F6}
- Sleep, 10
- Send, s22c{F6}{ENTER}
- Sleep, 100
- MouseClick, left, 564, 287
- Sleep, 10
- Send, ^v{ENTER}
- return
- ; S22B
- ^e::
- WinWait, Mon poste bureautique EE - Desktop Viewer,
- IfWinNotActive, Mon poste bureautique EE - Desktop Viewer, , WinActivate, Mon poste bureautique EE - Desktop Viewer,
- WinWaitActive, Mon poste bureautique EE - Desktop Viewer,
- MouseClick, left, 598, 575
- Send, {F6}
- Sleep, 10
- Send, s22b{F5}{ENTER}
- Sleep, 100
- MouseClick, left, 564, 287
- Sleep, 10
- Send, ^v{ENTER}
- return
- ; CONTRACT DETAILS
- ^q::
- WinWait, Mon poste bureautique EE - Desktop Viewer,
- IfWinNotActive, Mon poste bureautique EE - Desktop Viewer, , WinActivate, Mon poste bureautique EE - Desktop Viewer,
- WinWaitActive, Mon poste bureautique EE - Desktop Viewer,
- MouseClick, left, 598, 575
- Send, {F6}
- Sleep, 10
- Send, s72t{F5}{ENTER}
- return
- ; MIDTRONICS
- ^m::
- xy =
- WinWait, Start,
- IfWinNotActive, Start, , WinActivate, Start,
- WinWaitActive, Start,
- MouseClick, left, 41, 34
- Sleep, 100
- WinWait, Start menu,
- IfWinNotActive, Start menu, , WinActivate, Start menu,
- WinWaitActive, Start menu,
- MouseClick, left, 48, 35
- Sleep, 100
- WinWait, Universal Decoder Program: ,
- IfWinNotActive, Universal Decoder Program: , , WinActivate, Universal Decoder Program: ,
- WinWaitActive, Universal Decoder Program: ,
- MouseClick, left, 26, 47
- Sleep, 100
- MouseClick, left, 43, 73
- Sleep, 100
- MouseClick, left, 40, 164
- Sleep, 100
- Send, {CTRLDOWN}v{CTRLUP}
- Sleep, 100
- WinWait, Mon poste bureautique EE - Desktop Viewer,
- IfWinNotActive, Mon poste bureautique EE - Desktop Viewer, , WinActivate, Mon poste bureautique EE - Desktop Viewer,
- WinWaitActive, Mon poste bureautique EE - Desktop Viewer,
- MouseClick, left, 510, 232
- Send,{Shift down}{Right 9}{Shift up}
- Send, ^c
- WinWait, Universal Decoder Program: ,
- IfWinNotActive, Universal Decoder Program: , , WinActivate, Universal Decoder Program: ,
- WinWaitActive, Universal Decoder Program: ,
- MouseClick, left, 922, 17
- Sleep, 100
- WinWait, Confirm,
- IfWinNotActive, Confirm, , WinActivate, Confirm,
- WinWaitActive, Confirm,
- MouseClick, left, 147, 170
- Sleep, 100
- WinWait, Save As,
- IfWinNotActive, Save As, , WinActivate, Save As,
- WinWaitActive, Save As,
- Send, {CTRLDOWN}v{CTRLUP}
- MouseClick, left, 786, 567
- return
- ; ACCOUNT
- ^!v::
- Send, e471261{TAB}
- Send, R4pt0r99{ENTER}
- return
- ; AutoAA
- ^!b::
- Loop, 17
- {
- WinWait, Mon poste bureautique EE - Desktop Viewer,
- IfWinNotActive, Mon poste bureautique EE - Desktop Viewer, , WinActivate, Mon poste bureautique EE - Desktop Viewer,
- WinWaitActive, Mon poste bureautique EE - Desktop Viewer,
- MouseClick, left, 1175, 341
- Sleep, 100
- Send, ^v
- Sleep, 4000
- MouseClick, left, 1381, 189
- Sleep, 4000
- MouseClick, left, 1063, 190
- Sleep, 1000
- MouseClick, left, 1063, 190
- Sleep, 2000
- MouseClick, left, 1125, 227
- Sleep, 2000
- WinWait, 2016-05-09 AP FR1 - Excel,
- IfWinNotActive, 2016-05-09 AP FR1 - Excel, , WinActivate, 2016-05-09 AP FR1 - Excel,
- WinWaitActive, 2016-05-09 AP FR1 - Excel,
- MouseClick, left, 316, 36
- Sleep, 100
- Send, {LEFT}{LEFT}{LEFT}{SHIFTDOWN}aa{SHIFTUP}{ENTER}
- Send, {RIGHT}{RIGHT}{RIGHT}
- Sleep, 100
- Send, ^c
- Sleep, 3000
- }
- return
- ; AutoAA SAGAI
- ^!n::
- Loop, 50
- {
- WinWait, Mon poste bureautique EE - Desktop Viewer,
- IfWinNotActive, Mon poste bureautique EE - Desktop Viewer, , WinActivate, Mon poste bureautique EE - Desktop Viewer,
- WinWaitActive, Mon poste bureautique EE - Desktop Viewer,
- MouseClick, left, 433, 326
- Send, {F4}
- Sleep, 100
- Send, 2{ENTER}
- Sleep, 100
- Send, 1{ENTER}
- Sleep, 400
- Send, !v
- Sleep, 100
- Send, {ENTER}
- Sleep, 250
- MouseClick, left, 632, 465
- Sleep, 50
- Send, aa{ENTER}
- Sleep, 50
- Send, {F8}
- Sleep, 150
- Send, {F8}
- Sleep, 150
- Send, {F9}
- WinWait, 2016-08-18 FR - Excel,
- IfWinNotActive, 2016-08-18 FR - Excel, , WinActivate, 2016-08-18 FR - Excel,
- WinWaitActive, 2016-08-18 FR - Excel,
- MouseClick, left, 383, 26
- Sleep, 100
- Send, {LEFT}{LEFT}{SHIFTDOWN}aa{SHIFTUP}{ENTER}
- Send, {RIGHT}{RIGHT}
- Sleep, 100
- Send, ^c
- Sleep, 100
- }
- return
- !v::
- Send % RegExReplace(clipboard, "\r\n?|\n\r?", "`n")
- return
- ^!p::pause
- !q::
- InputBox, UserInput, Enter Message code
- if ErrorLevel
- MsgBox, CANCEL was pressed.
- else
- if Userinput=m8
- {
- Gui, Destroy
- Gui, Show , w500 h200, Vocabulary
- Gui, Add, Text, x10 y10 w100 Left,Choose an answer
- Gui, Add, DropDownList, w450 vMessageChoice, Dossier non conforme avec la TSB|TSB non-applicable car plusieurs Pcodes sont presents|TSB non-applicable car code defaut absent|Pour tout TSB, un CRI est obligatoire en cas de recidive
- Gui, Add, Button, default, OK
- return
- 2GuiClose:
- 2ButtonOK:
- Gui, Submit
- GuiControlGet, MessageChoice
- Clipboard = %MessageChoice%
- MsgBox, "%clipboard%" has been copied to clipboard.
- return
- }
- else if Userinput=m9
- {
- Gui, Destroy
- Gui, Show , w500 h200, Vocabulary
- Gui, Add, Text, x10 y10 w100 Left,Choose an answer
- Gui, Add, DropDownList, w450 vMessageChoice, Dossier non conforme avec la TSB|TSB non-applicable car plusieurs Pcodes sont presents|TSB non-applicable car code defaut absent|Pour tout TSB, un CRI est obligatoire en cas de recidive
- Gui, Add, Button, default, OK
- return
- 3GuiClose:
- 3ButtonOK:
- Gui, Submit
- GuiControlGet, MessageChoice
- Clipboard = %MessageChoice%
- MsgBox, "%clipboard%" has been copied to clipboard.
- return
- }
- else if Userinput=80
- {
- Gui, Destroy
- Gui, Show , w500 h200, Vocabulary
- Gui, Add, Text, x10 y10 w100 Left,Choose an answer
- Gui, Add, DropDownList, w450 vMessageChoice, Travaux non conformes aux methodes du constructeur|Nous ne pouvons pas accepter la recharge sans recherche de fuite|Incident concerne la Garantie, merci de vous rapprocher de votre RA
- Gui, Add, Button, default, OK
- return
- 4GuiClose:
- 4ButtonOK:
- Gui, Submit
- GuiControlGet, MessageChoice
- Clipboard = %MessageChoice%
- MsgBox, "%clipboard%" has been copied to clipboard.
- return
- }
- else if Userinput=08
- {
- Gui, Destroy
- Gui, Show , w500 h200, Vocabulary
- Gui, Add, Text, x10 y10 w100 Left,Choose an answer
- Gui, Add, DropDownList, w450 vMessageChoice, Travaux inferieurs a 2h. Ne justifie pas de pret de vehicule|Aucun justificatif envoye pour ce VIN|Les photos ne justifient pas la prise en charge en garantie
- Gui, Add, Button, default, OK
- return
- 5GuiClose:
- 5ButtonOK:
- Gui, Submit
- GuiControlGet, MessageChoice
- Clipboard = %MessageChoice%
- MsgBox, "%clipboard%" has been copied to clipboard.
- return
- }
- else
- MsgBox, Not valid message code
- return
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement