Search found 29 matches

by drizzt
26 Mar 2019, 14:24
Forum: Ask For Help
Topic: InStr always returning TRUE!!!!!
Replies: 5
Views: 335

Re: InStr always returning TRUE!!!!!

I removed the space. Problem still there.
by drizzt
26 Mar 2019, 14:01
Forum: Ask For Help
Topic: InStr always returning TRUE!!!!!
Replies: 5
Views: 335

InStr always returning TRUE!!!!!

hello, I created a text database called Catalog_DB.txt that only has two fields per a line, then a carriage return for example car 11223 bicycle 11239 stereo 32111 I am trying to search the file but no matter what I type it finds it even if its not there. here is the code Loop, read, Catalog_DB.txt ...
by drizzt
20 Mar 2019, 14:43
Forum: Ask For Help
Topic: Get ACC info (but not from point)
Replies: 1
Views: 180

Get ACC info (but not from point)

Hello, I have a Gui tree with a bunch of values. I am able to click on the first value and get the name by using this script: #Include Acc.ahk AccGetName() { ComObjError(False) oAcc := Acc_ObjectFromPoint(vChildId) vAccRoleNum := oAcc.accRole(vChildId) vAccRoleNumHex := Format("0x{:X}", vAccRoleNum)...
by drizzt
11 Nov 2018, 15:33
Forum: Offtopic
Topic: Cloud based AHK script?
Replies: 2
Views: 492

Cloud based AHK script?

I am looking to create an AHK script for a client but would like to charge them a licence per user. Is there any way that AHK scripts can be incorporated into some sort of cloud so that it is not on the clients computer. or if it has to be on their computer, it can only work after connecting to serv...
by drizzt
30 Jun 2018, 21:31
Forum: Ask For Help
Topic: How to find value in associative array Topic is solved
Replies: 12
Views: 1209

Re: How to find value in associative array Topic is solved

OK I decided to reevaluate the way i was doing things. now im using a simple multidimensional array instead of associative arrays... assignment Tree_Array2:={} Tree_Array2[oKey,0]:=vAccLocation ; these are in a loop somewhere Tree_Array2[oKey,1]:=vName ; these are in a loop somewhere I know its assi...
by drizzt
30 Jun 2018, 02:32
Forum: Ask For Help
Topic: How to find value in associative array Topic is solved
Replies: 12
Views: 1209

Re: How to find value in associative array Topic is solved

I'm certainly no expert in Arrays, but your assignement seems to be wrong. Try: #NoEnv ;~ Tree_Array[oKey]:= {mylocationis: vAccLocation, mynameis: vName, mykey: oKey} Tree_Array:= {"mylocationis": ["vAccLocation", "sss", "www"], "mynameis": ["vName", "qqq"], "mykey": ["oKey", "rrr"]} for subArr, A...
by drizzt
29 Jun 2018, 17:11
Forum: Ask For Help
Topic: How to find value in associative array Topic is solved
Replies: 12
Views: 1209

How to find value in associative array Topic is solved

I have a script where I get info from a tree control and store in an array as follows Tree_Array[oKey]:= {mylocationis: vAccLocation, mynameis: vName, mykey: oKey} I now want to be able to search a specific name in this array and find out what its location is but have looked through the documentatio...
by drizzt
28 Jun 2018, 19:12
Forum: Ask For Help
Topic: none of the com object functions are working for me
Replies: 1
Views: 261

none of the com object functions are working for me

I am trying to grab info from excel spreadsheet but it would seem even basic com ojb functions arent working. Is there some sort of library i need to load first. for example I tried this code expecting excel to load but nothing happens oExcel := ComObjCreate("Excel.Application") ; create Excel Appli...
by drizzt
27 Jun 2018, 08:47
Forum: Ask For Help
Topic: unable to enter text into edit field via script Topic is solved
Replies: 6
Views: 534

Re: unable to enter text into edit field via script Topic is solved

jeeswg wrote:Try this. Cheers.

Code: Select all

GuiControl, % mywindow ":", Edit1, % mydata

I tried this but still doesnt work.
by drizzt
26 Jun 2018, 19:09
Forum: Ask For Help
Topic: unable to enter text into edit field via script Topic is solved
Replies: 6
Views: 534

unable to enter text into edit field via script Topic is solved

I have the following simple GUI Gui, Add, Text,, enter your name: Gui, Add, Edit, vName Gui, Add, Text,, enter your city: Gui, Add, Edit, vCity Gui, Add, Text,, enter your phone: Gui, Add, Edit, vPhone Gui, Show return Then I use this script to enter info into the first field but its not working m::...
by drizzt
18 Jun 2018, 19:42
Forum: Ask For Help
Topic: store treevalues into array?
Replies: 1
Views: 240

store treevalues into array?

I am using the below script from Jeeswg to get items from a tree view and write them to a file however now I would like to put them into an array instead so I can later pick out certain values. I have tried many different things but keep getting errors or blank arrays #Include Acc.ahk #Include hasVa...
by drizzt
13 Jun 2018, 15:36
Forum: General Discussion
Topic: Making money with Autohotkey? Topic is solved
Replies: 2
Views: 989

Making money with Autohotkey? Topic is solved

I work in an organization where there is a lot of data entry. I think I have figured out a way to use AHK to reduce 1 hour of labor time into 10 seconds with AHK. doing this will allow the company to save around $60K a year in labor costs. I was wondering if there is anyway I can leverage this so th...
by drizzt
12 Jun 2018, 21:25
Forum: Ask For Help
Topic: Possible to drag item from treeview without seeing it?
Replies: 0
Views: 249

Possible to drag item from treeview without seeing it?

I'm using jeeswg's code to get items in a treeview as seen here https://autohotkey.com/boards/viewtopic.php?t=40615 however I am wondering if its possible to drag one of the treeview items somewhere just by having access to the treeview item. For example in the tree below, once I expand parent #3 (E...
by drizzt
13 May 2018, 22:16
Forum: Ask For Help
Topic: Very confused about AccViewer.ahk
Replies: 7
Views: 699

Re: Very confused about AccViewer.ahk

OK I think I figured it out

Code: Select all

oRect := Acc_Location(oParent, vChildId)
by drizzt
12 May 2018, 23:14
Forum: Ask For Help
Topic: Very confused about AccViewer.ahk
Replies: 7
Views: 699

Re: Very confused about AccViewer.ahk

Where in the JEE_AccGetTextAll function do I add this code? I have tried many different places and every time the location is always 48,48,48 I am using this to display location vOutput .= vAccPath "`t" JEE_StrRept(vIndent, vLevel-1) vRoleText " [" vName "][" vValue "]" "][" vAccLocation "]"vSep Her...
by drizzt
12 May 2018, 15:33
Forum: Ask For Help
Topic: Very confused about AccViewer.ahk
Replies: 7
Views: 699

Re: Very confused about AccViewer.ahk

Also I modified JEE_AccGetTextAll function to add location info. but its not working The location is always empty

Code: Select all

if IsObject(oKey)
		{
			vRoleText := Acc_GetRoleText(oKey.accRole(0))
			try vName := oKey.accName(0)
			try vValue := oKey.accValue(0)
			try vPos :=Acc_Location(oKey)}
by drizzt
11 May 2018, 19:42
Forum: Ask For Help
Topic: Very confused about AccViewer.ahk
Replies: 7
Views: 699

Re: Very confused about AccViewer.ahk

- For treeview controls, I would try JEE_TVGetText, and possibly JEE_AccGetTextAll. GUIs via DllCall: get/set internal/external control text - AutoHotkey Community https://autohotkey.com/boards/viewtopic.php?f=6&t=40514 - AccViewer can retrieve and display information, but it doesn't give you an ea...
by drizzt
10 May 2018, 20:08
Forum: Ask For Help
Topic: Very confused about AccViewer.ahk
Replies: 7
Views: 699

Very confused about AccViewer.ahk

I am using AccViewer.ahk as it seems to be the closest to what I am looking for to accomplish a certain task. https://autohotkey.com/boards/viewtopic.php?t=26201 However I am confused as I am new to AHK. when I move the cursor to a treeview Does this script recursively go through every item in the t...

Go to advanced search