Search found 1235 matches

by FanaticGuru
14 Dec 2018, 15:51
Forum: Ask For Help
Topic: Can I call up a function on another script?
Replies: 2
Views: 50

Re: Can I call up a function on another script?

I want to write and save functions on the spot and be able to call them up quickly. If you look at my GUI it will give you an idea of what I want to do. Any help vastly appreciated! Your function creating script could just write the functions to your AHK function library and then any of your other ...
by FanaticGuru
14 Dec 2018, 15:37
Forum: Ask For Help
Topic: Screenshot of Excel
Replies: 3
Views: 63

Re: Screenshot of Excel

I have a Excel workbook with 3 sheets. Is it possible to take a screenshot, save it and the do the same for alle the sheets? Or if screenshot is not the way, how can I do it? 2. Question Is it possible to run a script on a certain day and specfic time? You can save each sheet as a separate Excel fi...
by FanaticGuru
14 Dec 2018, 15:18
Forum: Scripts and Functions
Topic: [Function] Image_TextBox
Replies: 0
Views: 76

[Function] Image_TextBox

[Function] Image_TextBox This function will add a text box to an image. It has a ton of options about the look and position of the text box. The basics of the options are in the comments. A file name can be specified for the source image and where to save the modified image. If no file is specified...
by FanaticGuru
14 Dec 2018, 13:52
Forum: Ask For Help
Topic: Gdip image filesize is too big Topic is solved
Replies: 13
Views: 256

Re: Gdip image filesize is too big Topic is solved

Better off just using an object as a parameter at that point I don't know. I imagine with using an object you would have to create/clear the object and then assign values to the object outside the function call. Something like this: Opt := {}, Opt.Two := "Yes" MyFunc(13, Opt) Or within like this: M...
by FanaticGuru
13 Dec 2018, 17:21
Forum: Ask For Help
Topic: Gdip image filesize is too big Topic is solved
Replies: 13
Views: 256

Re: Gdip image filesize is too big Topic is solved

Yes, I just tested it: Whatever BS I write as parameter, the end result will always be the same as 0 Gdip_SaveBitmapToFile(pBitmap, datei, blabla) ; Bild aus Zwischenlage in dem angegebenen Verzeichnis erstellen is the same as: Gdip_SaveBitmapToFile(pBitmap, datei, 0) ; Bild aus Zwischenlage in dem...
by FanaticGuru
12 Dec 2018, 20:37
Forum: Ask For Help
Topic: Connecting an Excel Application via ComObjConnect causes a Windows error sound when switching between workbooks
Replies: 4
Views: 88

Re: Connecting an Excel Application via ComObjConnect causes a Windows error sound when switching between workbooks

awel20 wrote:
12 Dec 2018, 10:33
I did a quick search. This seems to be a known issue for anything that monitors Office events.
Don't think of it as a bug, this is an undocumented "feature" that lets you know your application is being monitored. :crazy:

FG
by FanaticGuru
12 Dec 2018, 19:45
Forum: Ask For Help
Topic: ELI5: ComObj - GUIDs - Etc
Replies: 3
Views: 82

Re: ELI5: ComObj - GUIDs - Etc

Now, I know what it does and how. However, the only reason I knew to use ComObjQuery(Browser, "{00000117-0000-0000-C000-000000000046}") was because I found bits and pieces about what I was trying to do here on the forums. How was this GUID found? Is there lists of them? Obviously different objects ...
by FanaticGuru
12 Dec 2018, 15:08
Forum: Ask For Help
Topic: Gdip image filesize is too big Topic is solved
Replies: 13
Views: 256

Re: Gdip image filesize is too big Topic is solved

y'all ppl need imagemagick in ur lives I have heard of ImageMagick but never used. Just downloaded. The command line capabilities are very robust. Looks great to use with AHK or straight from the command line. This is a good addition to my tool box. It adds many capabilities that would be just too ...
by FanaticGuru
12 Dec 2018, 14:01
Forum: Ask For Help
Topic: Protecting AHK code against piracy
Replies: 14
Views: 286

Re: Protecting AHK code against piracy

As for the just not even trying and trust people, I read about a small code author that tried to secure his software and sell it for like 10 to 20 dollars. It was a constant struggle to keep it secure so eventually he gave up on security and removed the security. Sales stayed about the same. It was ...
by FanaticGuru
12 Dec 2018, 13:45
Forum: Ask For Help
Topic: Protecting AHK code against piracy
Replies: 14
Views: 286

Re: Protecting AHK code against piracy

Lol its a funny topic. I like how everything can be hacked according to what I read. Its impressive how people are smart. Much smarter then me. What do you guys think of going the opposite way with complete trust and just a legal notice to make people choose to steal or choose to be legit? I mean w...
by FanaticGuru
11 Dec 2018, 19:33
Forum: Ask For Help
Topic: Gdip image filesize is too big Topic is solved
Replies: 13
Views: 256

Re: Gdip image filesize is too big Topic is solved

Here is code I wrote just a week ago to do something similar. ; Uncomment if Gdip.ahk is not in your standard library ;#Include, Gdip.ahk ; Start gdi+ If !pToken := Gdip_Startup() { MsgBox, 48, gdiplus error!, Gdiplus failed to start. Please ensure you have gdiplus on your system ExitApp } OnExit, C...
by FanaticGuru
11 Dec 2018, 19:28
Forum: Ask For Help
Topic: Gdip image filesize is too big Topic is solved
Replies: 13
Views: 256

Re: Gdip image filesize is too big Topic is solved

Hi guys, I create 1 image with Gdip by merging the Clipboard content and a file. It works well, but my problem is that - either the file size is too big (PNG - about 4 MB) - or the quality is really really bad (JPG) I also tried changing the jpg quality, but the result is always the same. As sheet ...
by FanaticGuru
11 Dec 2018, 14:21
Forum: Ask For Help
Topic: Protecting AHK code against piracy
Replies: 14
Views: 286

Re: Protecting AHK code against piracy

There is no easy way to do what you want. The ironic things is that any anti-piracy code that did a decent job would be far more valuable than 99.9% of the AHK code that people want to protect. Some of the compiling and obfuscation tools available will give the casual user problems. If your code is...
by FanaticGuru
10 Dec 2018, 14:42
Forum: Ask For Help
Topic: Protecting AHK code against piracy
Replies: 14
Views: 286

Re: Protecting AHK code against piracy

There is no easy way to do what you want. The ironic things is that any anti-piracy code that did a decent job would be far more valuable than 99.9% of the AHK code that people want to protect. Some of the compiling and obfuscation tools available will give the casual user problems. If your code is ...
by FanaticGuru
10 Dec 2018, 13:04
Forum: Ask For Help
Topic: Find next empty cell in Excel worksheet column
Replies: 4
Views: 52

Re: Find next empty cell in Excel worksheet column

Try this :) oSheet.Range("B:B").Find("*",,,,, 2).Offset(1, 0).Value := clipboard ; xlPrevious = 2 It is important to realize that the "Find" method will not work if the column is completely empty. I use something like this to handle that: Column := 2 xlApp := ComObjActive("Excel.Application") xlCel...
by FanaticGuru
07 Dec 2018, 14:02
Forum: Bug Reports
Topic: Hotstring Bug?
Replies: 11
Views: 346

Re: Hotstring Bug?

Looks buggy. Out of this: :X:T1::MisHostrings() Hotstring(":X:T2", MisHostrings) Hotstring(":X:T3", MisHostrings()) Hotstring(":X:T4", "MisHostrings") Hotstring(":X:T5", "MisHostrings()") Only T1 shows the MsgBox. See auto execute . I don't believe that was meant as a literal working example. T2, T...
by FanaticGuru
06 Dec 2018, 16:58
Forum: Ask For Help
Topic: Create a floating window liket this here Topic is solved
Replies: 2
Views: 112

Re: Create a floating window liket this here Topic is solved

i found a pretty cool script, and i want to create a "Floating window" like this But i understand nothing from it xD can somebody "encode" it that i can create my own window? Or do you know scripts like this here? I have no idea what part of that script you think is cool and that you want to copy. ...
by FanaticGuru
06 Dec 2018, 14:27
Forum: Bug Reports
Topic: Hotstring Bug?
Replies: 11
Views: 346

Re: Hotstring Bug?

Looks buggy. Out of this: :X:T1::MisHostrings() Hotstring(":X:T2", MisHostrings) Hotstring(":X:T3", MisHostrings()) Hotstring(":X:T4", "MisHostrings") Hotstring(":X:T5", "MisHostrings()") Only T1 shows the MsgBox. I agree. I can't get the "X" option to work when creating a hotstring with the Hotstr...
by FanaticGuru
28 Nov 2018, 17:11
Forum: Scripts and Functions
Topic: [Class] WinHook
Replies: 17
Views: 826

Re: [Class] WinHook

Something odd happened following the last update. When I run it now, none of the examples work. Same behavior on Win7 Pro 64-bit SP1 and Win10 Pro with all updates (different computers of course). November 27, 2018—KB4467682 (OS Build 17134.441) on Windows 10 Pro, works fine for me. I had a similar...
by FanaticGuru
25 Nov 2018, 16:58
Forum: Scripts and Functions
Topic: [Class] WinHook
Replies: 17
Views: 826

Re: [Class] WinHook

Updated on First Post Update: 2018 11 23 Static RegisterCallBack Added Report method Added Remove method Return Index or Handle from Add method Use Index or Handle to Remove or Unhook Clean up Array of Hooks when Unhooked or Removed DetectHiddenWindows On Return value from user function Returning v...

Go to advanced search