Search found 101 matches

by Capbat
09 Apr 2015, 09:38
Forum: Ask for Help (v1)
Topic: DLL Files does not get loaded when compiled? Topic is solved
Replies: 18
Views: 5966

Re: DLL Files does not get loaded when script is compiled? Topic is solved

I think I have found the solution and thanks to you 'just me' for leading me in the proper direction. I have find out that I am using AutoHotkey.exe 64bit. and originally I was using the 64bit DLL. So 64Bit AHK.EXE and 64Bit DLL should work, the thing is I was compiling in 32bit. That is why with th...
by Capbat
08 Apr 2015, 16:26
Forum: Ask for Help (v1)
Topic: DLL Files does not get loaded when compiled? Topic is solved
Replies: 18
Views: 5966

Re: DLL Files does not get loaded when script is compiled? Topic is solved

No EXE is not a typo. The only way I found how to get the MediaInfo.DLL file was to download MediaInfo See Here https://mediaarea.net/en/MediaInfo . Then I extracted and installed the program and then in the program folder I found the MediaInfo.DLL file I needed. And it worked ok (except when compil...
by Capbat
08 Apr 2015, 14:58
Forum: Ask for Help (v1)
Topic: DLL Files does not get loaded when compiled? Topic is solved
Replies: 18
Views: 5966

Re: DLL Files does not get loaded when script is compiled? Topic is solved

Thanks for joining this Thread 'Just Me'. In your example above did you tried it when your script was compiled? I have slightly modified the code as far as assigning the MediaInfo.dll position. Instead of: MediaInfoDll := A_ScriptDir "\MediaInfo.dll" I changed it to a direct location as: MediaInfoDl...
by Capbat
08 Apr 2015, 08:59
Forum: Ask for Help (v1)
Topic: DLL Files does not get loaded when compiled? Topic is solved
Replies: 18
Views: 5966

Re: DLL Files does not get loaded when script is compiled? Topic is solved

Thanks MA I'll do that. For myself the script version works perfectly with mediainfo.dll and I use it to get all sorts of information on my database of video files. And it works very good. So I will inquire at the subforum General Software Discussion.

Thanks.

Bat
by Capbat
07 Apr 2015, 18:25
Forum: Ask for Help (v1)
Topic: DLL Files does not get loaded when compiled? Topic is solved
Replies: 18
Views: 5966

Re: DLL Files does not get loaded when script is compiled? Topic is solved

Thank again MA
Tried it in C:\Users\MyName\Documents\DocRec\
with the same problem.

The strange thing is that it works as an AHK file and not as EXE???

Any other thoughts?
by Capbat
07 Apr 2015, 14:55
Forum: Ask for Help (v1)
Topic: DLL Files does not get loaded when compiled? Topic is solved
Replies: 18
Views: 5966

Re: DLL Files does not get loaded when script is compiled? Topic is solved

Thanks for your answer MilesAhead.
Unfortunately the "GetErrorString(A_LastError)" is empty.
The message reads "Error was:" then nothing.
See Image below:

Image

Bat
by Capbat
07 Apr 2015, 13:45
Forum: Ask for Help (v1)
Topic: DLL Files does not get loaded when compiled? Topic is solved
Replies: 18
Views: 5966

DLL Files does not get loaded when compiled? Topic is solved

Hi All. My script is running ok when not compiled but I get an error when it is. Telling me it does not link to a DLL file. Here is part of the Code related to the DLL. MediaInfoDll = %A_ScriptDir%\MediaInfo.dll ... ... hModule := DllCall( "LoadLibrary", Str, MediaInfoDll ) if hModule = 0 { Msgbox %...
by Capbat
21 Mar 2015, 08:44
Forum: Ask for Help (v1)
Topic: Create an ".txt" log file with columns
Replies: 8
Views: 2987

Re: Create an ".txt" log file with columns

You could check the length of the string you are adding and decide upon results to add the requires numbers of tabs.

Bat
by Capbat
05 Mar 2015, 19:55
Forum: Ask for Help (v1)
Topic: How to use System Variables within function Call?
Replies: 4
Views: 1631

Re: How to use System Variables within function Call?

MJs When I get through a hurdle I get into another one, an everlasting discovery of AHK. Commas, Semicolon, Square Brackets. (Yes I am into Libraries recently.) Spaces, etc, like you say. you have to seperate any component by a space and sometimes by comma and sometimes by other things, but I am han...
by Capbat
04 Mar 2015, 20:24
Forum: Ask for Help (v1)
Topic: Highlight item in AHK GUI treeview?
Replies: 12
Views: 3647

Re: Highlight item in AHK GUI treeview?

You mean like 'ItemID' Yes. But what I meant is that I was not using variables at the creation of the treeView. All of my script was well established and I could not re write everything. So that is why I asked if we could get some kind of identification to Select and Focused TV Items without using p...
by Capbat
04 Mar 2015, 18:46
Forum: Ask for Help (v1)
Topic: How to use System Variables within function Call?
Replies: 4
Views: 1631

Re: How to use System Variables within function Call?

Hi MJs. I had tried that after reading on Functions. This was my Command just on top of Yours do you see the subtility? CopyFilesAndFolders(A_WorkingDir"\Data\Checklist\*.*", A_MyDocuments"\Data\Checklist") CopyFilesAndFolders(A_WorkingDir "\Data\Checklist\*.*", A_MyDocuments "\Data\Checklist") Two ...
by Capbat
04 Mar 2015, 17:46
Forum: Ask for Help (v1)
Topic: How to use System Variables within function Call?
Replies: 4
Views: 1631

How to use System Variables within function Call?

Hi All I am still having some difficulties with the syntax of AHK when to put % or " or the = instead of the := etc. But I am getting ahead. I have read about it and still studying it. I have created a Function that goes like this. CopyFilesAndFolders("C:\Program Files (x86)\AutoHotkey\*.*", "C:\Aut...
by Capbat
04 Mar 2015, 10:50
Forum: Ask for Help (v1)
Topic: Progress Bar on FileCopy or FileCopyDir.
Replies: 1
Views: 1322

Progress Bar on FileCopy or FileCopyDir.

Hi all. I have searched here and there! to get some hints or example on how to integrate a progress bar while doing a file copy or move or even directory and subdirectory copy or move. Most of the example I have seen (in the There Forum ;) ) are dating from 2006 and 2007, there are some new ones in ...
by Capbat
04 Mar 2015, 10:16
Forum: Ask for Help (v1)
Topic: Highlight item in AHK GUI treeview?
Replies: 12
Views: 3647

Re: Highlight item in AHK GUI treeview?

@Lexikos. I think that I don't have to guess. May I respectfully suggest this little loop. Where I loop the TreeView and get the ItemID those mysterious possibly large number, get also their name etc, and add them to a listbox if applicable. This seems to do it for me. Loop { ItemID:=TV_GetNext(Item...
by Capbat
03 Mar 2015, 22:36
Forum: Ask for Help (v1)
Topic: Highlight item in AHK GUI treeview?
Replies: 12
Views: 3647

Re: Highlight item in AHK GUI treeview?

@lexikos

Why would I have to guess the ID?

Bat
by Capbat
28 Feb 2015, 09:29
Forum: Ask for Help (v1)
Topic: Highlight item in AHK GUI treeview?
Replies: 12
Views: 3647

Re: Highlight item in AHK GUI treeview?

Hi all Just wandering if we can give focus and select(ion) to an item in a treeview without using variables but the ID given by ahk on creation, I think. Those are 6 digits id. In other words would something like this work. TV_modify(546784,"select") or TV_modify(546784,"focus"). I am asking here be...
by Capbat
26 Feb 2015, 19:31
Forum: Ask for Help (v1)
Topic: Dynamicly Select and Click on an TreeView Item.
Replies: 4
Views: 2586

Re: Dynamicly Select and Click on an TreeView Item.

but my advice would be setting the button's g-label to do what clicking the treeview is doing if that's what you want to do. That is actually what the script is suppose to do. I have a Listbox that offers choices and when picked it would refer to an item in the tree view. I will study your code and...
by Capbat
26 Feb 2015, 14:12
Forum: Ask for Help (v1)
Topic: Dynamicly Select and Click on an TreeView Item.
Replies: 4
Views: 2586

Re: Dynamicly Select and Click on an TreeView Item.

Hello MJs. Yes the Treeview is in my app. Here are some more info about the situation. After a search here and there this is what I came the closest to. ; help file sample Gui, Add, TreeView P1 := TV_Add("First parent") P1C1 := TV_Add("Parent 1's first child", P1) ; Specify P1 to be this item's pare...
by Capbat
26 Feb 2015, 13:28
Forum: Ask for Help (v1)
Topic: Dynamicly Select and Click on an TreeView Item.
Replies: 4
Views: 2586

Dynamicly Select and Click on an TreeView Item.

Hi All. I would like to be able to select an item on an already published Treeview and click on it, by clicking a button. That is doing it programmatically, That would be giving focus to the Treeview, then select a child item and clicking it. Any ideas to put me on the right track? Thanks All. Bat
by Capbat
24 Feb 2015, 12:36
Forum: Announcements
Topic: Upcoming Ahk2Exe changes
Replies: 147
Views: 154984

Re: Upcoming Ahk2Exe changes

Hi Funny things happen to Ahk2EXE. It was working ok even this morning. Then all of a sudden the second Browse button (Destination exe file) does NOT work anymore. Although if I leave empty it will still compile but using the same name as the source script name and in the same directory. I am using ...

Go to advanced search