Hello,
I am completely new to running AHK to start off. Thanks for whoever may take the time to help me with my issue! I have 2 parts to this. First I want to have a script that allows me to insert text via a hotkey or abbreviated form that will insert a set of text with line separations. So far I have butchered a version that works somewhat but is very flawed and can use some help. I also want to know how to get the script to run with the computer start up.
Currently I have these ones set up but I want to do more:
What do I need to do to clean this up or is there another way I could do this simpler, smoother or better?
Thank you again!
Brandon
[Mod edit: Added [code][/code] tags. Please use them yourself when posting code!]
I am completely new to running AHK to start off. Thanks for whoever may take the time to help me with my issue! I have 2 parts to this. First I want to have a script that allows me to insert text via a hotkey or abbreviated form that will insert a set of text with line separations. So far I have butchered a version that works somewhat but is very flawed and can use some help. I also want to know how to get the script to run with the computer start up.
Currently I have these ones set up but I want to do more:
CODE:
::vipck::{
old_clip := ClipboardAll()
A_Clipboard := "
(
- Type of visit: `n
- Furnace location: `n
- Filter size: `n
- Date & Time window: `n
- Contact: `r`n
)"
Send "^v"
Sleep 500
A_Clipboard := old_clip
}
::dctcl::{
old_clip := ClipboardAll()
A_Clipboard := "
(
- Type of visit: `n
- Filter size (if not sure, please state why): `n
- Square footage: `n
- Furnace location: `n
- How many systems?: `n
- Dryer vent cleaning? `n
- VIP member? `n
- Quoted Price: `n
- Aware of reschedule & referral if feces found? (Not OSHA certified): `n
- Point of contact: `n
- Date & Time Window: `n
- Okay to text?: `n
)"
Send "^v"
Sleep 500
A_Clipboard := old_clip
}
::adiag::{
old_clip := ClipboardAll()
A_Clipboard := "
(
-VIP? : `n
- Job description / issues: `n
- Are they the homeowner?: `n
- Location of equipment: `n
- Quoted price: `n
- Point of contact & phone #: `n
- Date & time window: `n
- Okay to text?: `n
)"
Send "^v"
Sleep 500
A_Clipboard := old_clip
}
::salest::{
old_clip := ClipboardAll()
A_Clipboard := "
(
-Contact info (ALL phone #'s & email): `n
-Are they the homeowner?: `n
-What are they looking for?: `n
-Location of furnace: `n
-Access to furnace and electrical panel?: `n
-Number of stories/ square footage: `n
-Scheduled date & arrival time: `n
-Lead source: `n
-Okay to text?: `n
-Initials: `n
)"
Send "^v"
Sleep 500
A_Clipboard := old_clip
}
What do I need to do to clean this up or is there another way I could do this simpler, smoother or better?
Thank you again!
Brandon
[Mod edit: Added [code][/code] tags. Please use them yourself when posting code!]
Statistics: Posted by bbaird — 43 minutes ago