Search found 32 matches

by vbmark
15 Oct 2014, 06:18
Forum: Ask For Help
Topic: AutoHotkey.dll and C#
Replies: 12
Views: 17816

Re: AutoHotkey.dll and C#

amazingandrew wrote:I needed to use this on a project I was working on. I did a pretty nice wrapper around it and posted it up on github.

https://github.com/amazing-andrew/AutoHotkey.Interop
Thank you for sharing this and for making it open source.

I gave it a star in GitHub and I encourage others to do so too.
by vbmark
12 Dec 2013, 11:15
Forum: Ask For Help
Topic: Array madness. What am I doing wrong?
Replies: 10
Views: 3829

Re: Array madness. What am I doing wrong?

Good stuff. Thank you.
by vbmark
10 Dec 2013, 07:31
Forum: Ask For Help
Topic: Array madness. What am I doing wrong?
Replies: 10
Views: 3829

Re: Array madness. What am I doing wrong?

lexikos wrote:...because the variable '0' contains the number of args = the name of the last arg variable.
I'm not sure I understand how %0% can contain both the number of arguments and the last argument.
by vbmark
09 Dec 2013, 16:09
Forum: Ask For Help
Topic: Array madness. What am I doing wrong?
Replies: 10
Views: 3829

Re: Array madness. What am I doing wrong?

(Now I can understand why you want to hide your source code :D ) LOL MsgBox, % word_array[1] or MsgBox % "Blah " word_array[1] and if (word_array[1] = 1) I'm not sure what you want with %1% if that is meant to parse a command line parameter you might be better off assigning it to a normal variable ...
by vbmark
09 Dec 2013, 15:38
Forum: Ask For Help
Topic: Array madness. What am I doing wrong?
Replies: 10
Views: 3829

Array madness. What am I doing wrong?

Loop, Read, MyFile.txt { IfInString, A_LoopReadLine, `, { word_array := StrSplit(A_LoopReadLine, ",") MsgBox, %word_array[1]% ; Gives illegal character message. MsgBox, Blah % word_array[1] ; Error of missing ending percent sign. MsgBox, Blah %word_array[1]% ; Gives illegal character message. MsgBo...
by vbmark
08 Dec 2013, 22:15
Forum: Ask For Help
Topic: Evaluate each line of an open document without clipboard
Replies: 9
Views: 3176

Re: Evaluate each line of an open document without clipboard

OK, I think I'll just use the clipboard.

Thanks.
by vbmark
08 Dec 2013, 22:12
Forum: Ask For Help
Topic: AutoHotkey.dll and C#
Replies: 12
Views: 17816

Re: AutoHotkey.dll and C#

OK, thanks.
by vbmark
08 Dec 2013, 09:03
Forum: Ask For Help
Topic: AutoHotkey.dll and C#
Replies: 12
Views: 17816

AutoHotkey.dll and C#

Is there an example C# program that uses the AutoHotkey.dll? I'm trying to figure out how to use some of the AutoHotkey features in my app but can't figure it out.

Also, will the dll be statically linked into my compiled build or will the end user need to install AutoHotkey?

Thanks!
by vbmark
07 Dec 2013, 06:17
Forum: Ask For Help
Topic: Evaluate each line of an open document without clipboard
Replies: 9
Views: 3176

Re: Evaluate each line of an open document without clipboard

That doesn't work on an open file that needs to have keystrokes sent to it.
by vbmark
06 Dec 2013, 20:02
Forum: Ask For Help
Topic: Evaluate each line of an open document without clipboard
Replies: 9
Views: 3176

Re: Evaluate each line of an open document without clipboard

That's pretty cool. In this case it will be Visual Studio but I don't know if it provides COM access or not.
by vbmark
06 Dec 2013, 19:35
Forum: Ask For Help
Topic: Evaluate each line of an open document without clipboard
Replies: 9
Views: 3176

Re: Evaluate each line of an open document without clipboard

Can you please explain technically why that is the case? For example Notepad++ vs Word. How would the script differ?
by vbmark
06 Dec 2013, 14:15
Forum: Ask For Help
Topic: Evaluate each line of an open document without clipboard
Replies: 9
Views: 3176

Evaluate each line of an open document without clipboard

I have a large text document that must be edited while open. I want to evaluate each line to see if it starts with a collection of certain words. If the line does start with one of the words then I will do some key sends. Is there a way to do this without copying every line, one at a time, to the cl...
by vbmark
06 Dec 2013, 07:32
Forum: Wish List
Topic: Prevent decompile like IronAHK
Replies: 45
Views: 17537

Re: Prevent decompile like IronAHK

lexikos wrote:That you cannot decompile scripts means very little.
I understand. I'm going to try to find some time this weekend to do more testing.
by vbmark
05 Dec 2013, 06:52
Forum: Wish List
Topic: Prevent decompile like IronAHK
Replies: 45
Views: 17537

Re: Prevent decompile like IronAHK

It's easy unless you use this:

http://www.autohotkey.com/board/topic/2 ... ntry622493

I cannot decompile scripts compiled with this tool.
by vbmark
04 Dec 2013, 14:02
Forum: Wish List
Topic: Prevent decompile like IronAHK
Replies: 45
Views: 17537

Re: Prevent decompile like IronAHK

Yeah, if I switch to anything it should probably be c++ with static linking.
by vbmark
04 Dec 2013, 12:02
Forum: Wish List
Topic: Prevent decompile like IronAHK
Replies: 45
Views: 17537

Re: Prevent decompile like IronAHK

tank wrote:COM and objects/arrays
Cool, I can script without COM, objects, and arrays.
by vbmark
04 Dec 2013, 11:57
Forum: Wish List
Topic: Prevent decompile like IronAHK
Replies: 45
Views: 17537

Re: Prevent decompile like IronAHK

Maybe I'll switch to the basic version. What is AHK Basic missing from the newer version?
by vbmark
04 Dec 2013, 08:42
Forum: Wish List
Topic: Prevent decompile like IronAHK
Replies: 45
Views: 17537

Re: Prevent decompile like IronAHK

guest3456 wrote:you can use HotKeyCamo which is a compiler made by user Mobius on the main forums. that offers better protection from decompilers

however, HkC only works for AHK Basic
I'll check it out. Thanks.
by vbmark
04 Dec 2013, 08:40
Forum: Wish List
Topic: Prevent decompile like IronAHK
Replies: 45
Views: 17537

Re: Prevent decompile like IronAHK

lexikos, joedf

That's what I'm thinking too; I'm doing something wrong. But can't figure out yet what.
by vbmark
03 Dec 2013, 20:29
Forum: Wish List
Topic: Prevent decompile like IronAHK
Replies: 45
Views: 17537

Re: Prevent decompile like IronAHK

but enough philosophy. And just when I'm starting to agree with you. Lexikos removed any form of compression and in as much masking the script some time ago. Mostly because such utilities just cause false virus positives more than helping anything. That said AHK is not a security or code secrecy fr...

Go to advanced search