Search found 256 matches

by Jovannb
09 Mar 2018, 02:44
Forum: Ask For Help
Topic: Start after loaded website Topic is solved
Replies: 3
Views: 868

Re: Start after loaded website Topic is solved

Hi, in my case, that does the trick wb := ComObjCreate("InternetExplorer.Application") wb.Visible := false ; false, to not see the window wb.Navigate("www.apa.at") While wb.readyState != 4 || wb.document.readyState != "complete" || wb.busy ; wait till IE-Page is loaded sleep 100 regards J.B.
by Jovannb
07 Mar 2018, 10:39
Forum: Ask For Help
Topic: Calling a subroutine in another AHK-Program
Replies: 2
Views: 521

Calling a subroutine in another AHK-Program

Hi I've Main.ahk which has a Subroutine testlabelx which is called by a Hotstring, looks like that #singleinstance force #persistent <^>!m:: ; AltGr-right-m gosub testlabelx return testlabelx: msgbox, %A_Scriptname% return And now I've another AHK-Program, its name is Automation.AHK . From this Auto...
by Jovannb
02 Mar 2018, 05:15
Forum: Ich brauche Hilfe
Topic: Parameter eines laufenden AHK-Scripts abrufen Topic is solved
Replies: 15
Views: 3171

Re: Parameter eines laufenden AHK-Scripts abrufen Topic is solved

Hi, An die B.AHK übergebe ich (von der A.AHK aus) einen (Commandline-) Parameter aus "#-#" und der Ticketnummer somit " #-#20180302110703104 " (Datum-Uhrzeit-Millisekunden). Die Ticketnummer kommt dabei aus der Datenbank und werden beim Speichern der zu übermittelten Message dorthin vom Message-Send...
by Jovannb
02 Mar 2018, 01:52
Forum: Ask For Help
Topic: Run compiled.exe as a service?
Replies: 12
Views: 3551

Re: Run compiled.exe as a service?

Hi, for sure, your are right it is from Pirmasoft (german page: http://www.pirmasoft.de/cms/freeware/runassvc ). Running a compiled AHK-Exe is quite simple as RunAsSvc.exe -i --displayname "Compressor-Mover AHK-Exe" --exe "c:\xxx\watcher_for_compressor.exe" and then you have a Windows-Service with a...
by Jovannb
01 Mar 2018, 16:03
Forum: Ask For Help
Topic: Run compiled.exe as a service?
Replies: 12
Views: 3551

Re: Run compiled.exe as a service?

Hi

Ive some compiled Ahk-Scripts running in W2K8R2 Server and therefore I use RunasSvc.exe (as far as I know from Microsoft) and its quite simple.

Once set/installed now my ahk-exe's are Services.

J.B.
by Jovannb
01 Mar 2018, 15:06
Forum: Ask For Help
Topic: Hide AHK-Script from Taskbar Topic is solved
Replies: 13
Views: 3019

Re: Hide AHK-Script from Taskbar Topic is solved

Hi Gregster,

it alone doesnt change the thing, but all together work now

Code: Select all

Gui, +AlwaysOnTop +border +ToolWindow -SysMenu +Owner
J.B.
by Jovannb
01 Mar 2018, 15:03
Forum: Ask For Help
Topic: Hide AHK-Script from Taskbar Topic is solved
Replies: 13
Views: 3019

Re: Hide AHK-Script from Taskbar Topic is solved

Hi,

it sounds so easy, but that "Gui, +Owner" does the trick.
Found it here https://autohotkey.com/boards/viewtopic.php?t=19719

Now no trayicon and not icon on taskbar, independent how many instances of my program I call, great.

J.B.
by Jovannb
01 Mar 2018, 14:51
Forum: Ask For Help
Topic: Hide AHK-Script from Taskbar Topic is solved
Replies: 13
Views: 3019

Re: Hide AHK-Script from Taskbar Topic is solved

Also, if you use multiple scripts /instances for displaying your GUIs, this might be relevant: If you installed AHK via the normal exe-installer it will make this option default: Separate Taskbar Buttons: Causes each script which has visible windows to be treated as a separate program, but prevents...
by Jovannb
01 Mar 2018, 13:49
Forum: Ask For Help
Topic: Hide AHK-Script from Taskbar Topic is solved
Replies: 13
Views: 3019

Re: Hide AHK-Script from Taskbar Topic is solved

.. thank you but hats for the systrmtray not for taskbar. .. maybe this can somehow be helpful to inspire you: best: https://stackoverflow.com/questions/4055506/qt-hide-taskbar-item or maybe: https://stackoverflow.com/questions/29803232/how-to-hide-application-on-taskbar Hi, thank you for your sugg...
by Jovannb
01 Mar 2018, 12:13
Forum: Ich brauche Hilfe
Topic: Parameter eines laufenden AHK-Scripts abrufen Topic is solved
Replies: 15
Views: 3171

Re: Parameter eines laufenden AHK-Scripts abrufen Topic is solved

Hi, das mit den CHR(39) stimmt, ich habe mir (SQL sei Dank) aber angewöhnt, die div. Strings immer so nachzubilden wie sie "nativ" laufen, den Umweg über die zusätzliche Variable "wmi_request" nehme ich gerne. Der "inner Index" funktioniert aber dann nicht mehr, wenn du mehr wie einen Parameter (in ...
by Jovannb
01 Mar 2018, 10:40
Forum: Ich brauche Hilfe
Topic: Parameter eines laufenden AHK-Scripts abrufen Topic is solved
Replies: 15
Views: 3171

Re: Parameter eines laufenden AHK-Scripts abrufen Topic is solved

Hi, und hier noch der Script, wie man an alle Commandlines aller laufenden AHK-Scripts rankommt: #SingleInstance force buffer:=object() DetectHiddenWindows, On WinGet, AHK, List, ahk_class AutoHotkey ; hol die Liste aller laufenden AHK-Prozesse outer_index:=1 Loop, %ahk% ; in einer Schleife durchlau...
by Jovannb
01 Mar 2018, 10:37
Forum: Ich brauche Hilfe
Topic: Parameter eines laufenden AHK-Scripts abrufen Topic is solved
Replies: 15
Views: 3171

Re: Parameter eines laufenden AHK-Scripts abrufen Topic is solved

Hi, wir haben ein internes Messaging System, da kriegt User A eine Message X, kurz danach kriegt er eine Messagy Y, die sieht er aber erst, wenn er X abgearbeitet (bestätigt) hat. Das ist eigentlich Mist. Genau darum gehts, mit AHK kann er bliebig viele Messages (Prozesse) kriegen und die abarbeiten...
by Jovannb
01 Mar 2018, 09:29
Forum: Ich brauche Hilfe
Topic: Parameter eines laufenden AHK-Scripts abrufen Topic is solved
Replies: 15
Views: 3171

Re: Parameter eines laufenden AHK-Scripts abrufen Topic is solved

Hi Just me, a) stimmt, das ging mit dem Speichern der PID, nur wenn ich die B.AHK Instanz starte mit run, gui_client.ahk %zeitle% %ypos% %xpos% dann habe ich die aktuelle PID (der damit gestarteten B-Instanz) nicht und da ja bereits mehrere B-Instanzen laufen, ist das dann auch wieder recht tricky. ...
by Jovannb
01 Mar 2018, 09:23
Forum: Ask For Help
Topic: Getting Information (start parameter) from running AHK-Process/Program Topic is solved
Replies: 3
Views: 717

Re: Getting Information (start parameter) from running AHK-Process/Program Topic is solved

Hi, I found a solution, WMI with "Select CommandLine, ProcessId FROM Win32_Process " delivers all running processes with its startup parameters (=commandline Parameters) like CommandLine : "C:\Program Files\AutoHotkey\AutoHotkey.exe" "C:\Program Files\AutoHotkey\scripts\Messenger_Notes\gui_client.ah...
by Jovannb
01 Mar 2018, 09:06
Forum: Ich brauche Hilfe
Topic: Parameter eines laufenden AHK-Scripts abrufen Topic is solved
Replies: 15
Views: 3171

Re: Parameter eines laufenden AHK-Scripts abrufen Topic is solved

Hi wenn A den Startparameter1 jeder B-Instanz speichert (INI-File), dann kann -- die B-Instanz planmässig geschlossen werden und dann im Speicher sagen, dass Sie "zu" ist .. passt, alles cosy -- die B-Instanz aber abstürzen, der Task gekillt wird oder was auch immer, dann steht im Speicher (der INI)...
by Jovannb
01 Mar 2018, 08:35
Forum: Ich brauche Hilfe
Topic: Parameter eines laufenden AHK-Scripts abrufen Topic is solved
Replies: 15
Views: 3171

Parameter eines laufenden AHK-Scripts abrufen Topic is solved

Hi, die AHK-App (A) läuft im Loop und liest eine Datenbank (SQL, MSACCESS) aus, je nach DB-Status nimmt die (A) einen Parameter aus der DB (u.a. die Message-ID) und ruft die AHK-APP (B) mit dem Parameter1 (der Message ID) auf. Um nun zu vermeiden, dass diesel Message-ID mehrfach dargestellt wird, sp...
by Jovannb
01 Mar 2018, 06:57
Forum: Ask For Help
Topic: Getting Information (start parameter) from running AHK-Process/Program Topic is solved
Replies: 3
Views: 717

Getting Information (start parameter) from running AHK-Process/Program Topic is solved

Hi, I've an AHK-Programm A.AHK which checks a database periodically in a loop. At a certain condition, it calls another AHK-Program B.AHK with a parameter1 out of that database, e.g "0815" depending one the database request or what happens in that database. But now, before a new instance of B.AHK is...
by Jovannb
28 Feb 2018, 14:42
Forum: Ask For Help
Topic: Hide AHK-Script from Taskbar Topic is solved
Replies: 13
Views: 3019

Re: Hide AHK-Script from Taskbar Topic is solved

Hi

thank you but hats for the systrmtray not for taskbar.

I tried it already.
by Jovannb
28 Feb 2018, 12:49
Forum: Ask For Help
Topic: getting GUI-Title of already running AHK-Script
Replies: 1
Views: 443

getting GUI-Title of already running AHK-Script

HI, In a programm called gui_client.ahk, I create a gui with a title, lets say "morning100". When I use that code buffer:=Object() WinGet, AHKWindows, List, ahk_class AutoHotkey Loop %AHKWindows% { idxle := AHKWindows%A_Index% WinGetTitle, win, ahk_id %idxle% buffer[a_index]:=win } I'm getting e.g. ...
by Jovannb
28 Feb 2018, 11:52
Forum: Ask For Help
Topic: Hide AHK-Script from Taskbar Topic is solved
Replies: 13
Views: 3019

Hide AHK-Script from Taskbar Topic is solved

Hi, I wanna have a messaging program, an ahk-routine which checks a (ms-access-) database and then calls an ahk-gui-routine (multiple-times) for each message to show to user in front of that computer That works more or less. But when I've e.g. 5 Gui's open (with 5 ahk-gui-routines in background), th...

Go to advanced search