Search found 16 matches

by tazzzan33
22 Feb 2018, 13:57
Forum: Ask for Help (v1)
Topic: Help with tasks in Outlook.ComObjActive("Outlook.Application")
Replies: 4
Views: 1433

Help with tasks in Outlook.ComObjActive("Outlook.Application")

I am trying to create a simple task via AHK. I have most of it working except I cannot set the time for the reminder. I would like the gui to select the data and time then feed it into a task and then save it. First I would like the time to be set then I can move on with the rest of the work. You ca...
by tazzzan33
01 Feb 2018, 10:10
Forum: Ask for Help (v1)
Topic: Validate User input text to keep them from injecting code
Replies: 0
Views: 303

Validate User input text to keep them from injecting code

I have a python script that compiles an AHK file to run. I allow for users to input text to be replaced by a hot string. The user will define the hotstring {0} and the replacement text {1}. See code below which will be replaced by user input. ::{0}:: x= ( {1} ) clipSaved := clipboard StringReplace, ...
by tazzzan33
15 Jan 2018, 14:25
Forum: Ask for Help (v1)
Topic: Storing Objects in a listbox
Replies: 0
Views: 316

Storing Objects in a listbox

Hello all, I am trying to create an application that can store a hotstring and a command on a server and then load all commands into a tool to show what they do and then allow users to add them to their profile to use. Please see the attached picture for help understanding what my goal is and the ch...
by tazzzan33
15 Jan 2018, 10:56
Forum: Ask for Help (v1)
Topic: Connecting to a SQL Database on WAMP localhost server Topic is solved
Replies: 4
Views: 797

Re: Connecting to a SQL Database on WAMP localhost server Topic is solved

Thank you, I think it was working all along I was just not testing my connection in the correct fashion. I copied the below code for testing but it should not be used.

Code: Select all

 
if My_DB =
	msgbox No Connection
by tazzzan33
15 Jan 2018, 10:33
Forum: Ask for Help (v1)
Topic: Connecting to a SQL Database on WAMP localhost server Topic is solved
Replies: 4
Views: 797

Re: Connecting to a SQL Database on WAMP localhost server Topic is solved

@Just Me I am using this now and copied the DLL from the SQL website to a directory where I have saved a copy of your code as sqlahk.ahk. Now I am trying to get it to connect as well. I know it has to be a syntax issue that I am not seeing. Below is my code I am testing. #include sqlahk.ahk My_DB :=...
by tazzzan33
15 Jan 2018, 10:23
Forum: Ask for Help (v1)
Topic: Toggle a hotstring on or off with function.
Replies: 6
Views: 1133

Re: Toggle a hotstring on or off with function.

I wanted to reply with what I have found on this for others to see. I have found a way to add hotkeys to a users profile dynamically using this as the function. https://autohotkey.com/boards/viewtopic.php?t=32969 This function allows for you to choose what hotkey commands are running in a users file...
by tazzzan33
15 Jan 2018, 10:02
Forum: Ask for Help (v1)
Topic: Connecting to a SQL Database on WAMP localhost server Topic is solved
Replies: 4
Views: 797

Connecting to a SQL Database on WAMP localhost server Topic is solved

I am trying to connect to a data base to read and write data. Currently it is set up on a WAMP server at IP: 127.0.0.1 or localhost. I am trying to use the library below for connecting to the database. Second is the code I am using to test. Once I connect I can cross the bridge of running the querie...
by tazzzan33
20 Dec 2017, 12:52
Forum: Ask for Help (v1)
Topic: Toggle a hotstring on or off with function.
Replies: 6
Views: 1133

Re: Toggle a hotstring on or off with function.

Thats a good start. However I am really looking to make it so if they type abc and they dont have the hotkey turned on there is no indication that the key is in the AHK file. My end goal is to build a tool filled with optional hotstrings that users can select which ones they would like to run from a...
by tazzzan33
20 Dec 2017, 09:53
Forum: Ask for Help (v1)
Topic: Toggle a hotstring on or off with function.
Replies: 6
Views: 1133

Toggle a hotstring on or off with function.

How to toggle a hotstring on and off based on another function. Such as having the sudo code below. If it is not possible should I just have 2 ahk files with one that can edit the text of the file removing "abc" from the other file. ::abc:: Send, This is an example. Return on_off_switch(hotstring, o...
by tazzzan33
18 Dec 2017, 15:25
Forum: Ask for Help (v1)
Topic: Plan for program help
Replies: 1
Views: 333

Plan for program help

Looking for the communities thoughts on how to go about my plan. I am looking to create a tool to read from a SQL database down the road that pulls in shared hotstrings. This will allow me to maintain what is added to the teams hotstrings. I need help with the how to make the strings they select dyn...
by tazzzan33
18 Dec 2017, 11:31
Forum: Ask for Help (v1)
Topic: Catch letter typed in edit box gui Topic is solved
Replies: 3
Views: 610

Re: Catch letter typed in edit box gui Topic is solved

So this is much closer to how I would like it to listen to each command but now I need to have a way to mix both your code and mine. I would like to listen for R, or any other typed character, but I would also like to use the "enter" key to run the paste it function with all of the others. But I gue...
by tazzzan33
18 Dec 2017, 09:56
Forum: Ask for Help (v1)
Topic: Catch letter typed in edit box gui Topic is solved
Replies: 3
Views: 610

Catch letter typed in edit box gui Topic is solved

Hello all, I have an edit box where I am taking in different letters and running different commands on clipboard text off of them. Currently I am working on a replace function and need some help with the gui and catching the action of typing R. The goal is to have the text box accept all command let...
by tazzzan33
13 Dec 2017, 14:40
Forum: Ask for Help (v1)
Topic: Loop through clip board lines and manipulate text Topic is solved
Replies: 5
Views: 980

Re: Loop through clip board lines and manipulate text Topic is solved

I actually figured it out. Still getting the hang of when to use the % and when not to. Thank you again for the help! #v:: index:=0 ClipSaved := ClipboardAll Loop, parse, clipboard, `n, `r { str .= RegExReplace(A_loopfield,"[\\/:*?""<>|]") ",`n" } clipboard := SubStr(str,1,-2) Send, ^v clipboard := ...
by tazzzan33
13 Dec 2017, 14:31
Forum: Ask for Help (v1)
Topic: Loop through clip board lines and manipulate text Topic is solved
Replies: 5
Views: 980

Re: Loop through clip board lines and manipulate text Topic is solved

So why wont the substr function work with clipboard like it does with other variable? It is still putting in the last comma. Also thank you for your reply this helps so much! Loop, parse, clipboard, `n, `r { str .= RegExReplace(A_loopfield,"[\\/:*?""<>|]") ",`n" } ;MsgBox % SubStr(str,1,-2) ; to eli...
by tazzzan33
13 Dec 2017, 13:36
Forum: Ask for Help (v1)
Topic: Loop through clip board lines and manipulate text
Replies: 0
Views: 467

Loop through clip board lines and manipulate text

I am currently trying to write a program that allows me to copy multiple lines of text and append a comma to the end of the line. (except for the last line). However I have ran into errors with special characters and cannot figure out how to allow them to work. Id rather accept all characters into t...
by tazzzan33
13 Dec 2017, 13:36
Forum: Ask for Help (v1)
Topic: Loop through clip board lines and manipulate text Topic is solved
Replies: 5
Views: 980

Loop through clip board lines and manipulate text Topic is solved

I am currently trying to write a program that allows me to copy multiple lines of text and append a comma to the end of the line. (except for the last line). However I have ran into errors with special characters and cannot figure out how to allow them to work. Id rather accept all characters into t...

Go to advanced search