Search found 256 matches

by Jovannb
03 Feb 2019, 05:11
Forum: Ask For Help
Topic: FTPv2, Connection stays open, wont close
Replies: 0
Views: 395

FTPv2, Connection stays open, wont close

Hi, I tried to use FTPv2.ahk as intended, but my FTP-connection wont close #include FTPv2.ahk server := "ftp.xxxx.xx" Username := "jxx" Password := "Laxxxxxx" ftp1 := new FTP() ftp1.Open(Server, UserName, Password) ? TTip("Connected to FTP") : Quit(ftp1.LastError) sOrgPath := ftp1.GetCurrentDirector...
by Jovannb
13 Jan 2019, 14:02
Forum: Ask For Help
Topic: Outlook .. catch SEND event
Replies: 2
Views: 748

Re: Outlook .. catch SEND event

I think, this ItemSend can be the right one.

My thoughts went in the event, which is named here as "send" on the left pane
https://docs.microsoft.com/de-de/office ... litem.open

J.B.
by Jovannb
13 Jan 2019, 10:05
Forum: Ask For Help
Topic: Outlook .. catch SEND event
Replies: 2
Views: 748

Outlook .. catch SEND event

Hi, I know how to catch Outlook (2010, 32-bit) NEW-Event a so called " Application-Event ", which works #singleinstance force #persistent olApp := ComObjActive("Outlook.Application") ComObjConnect(olApp, "EventApp_") EventApp_NewMail() { MsgBox % NEW MAIL } return But how to catch eg that "Send"-Eve...
by Jovannb
11 Jan 2019, 16:54
Forum: Ask For Help
Topic: Outlook .. Propertyaccessor, setting property
Replies: 1
Views: 644

Outlook .. Propertyaccessor, setting property

Hi, I'm dealing with my Outlook2010 Emails by this code #SingleInstance force ; get selected-emails in Outlook-Explorer Selected_Emails := COMObjActive("Outlook.Application").ActiveExplorer.Selection counter := Selected_Emails.count ; loop through Eplorer-selected-mails loop, %counter% { e_item:=Se...
by Jovannb
03 Jan 2019, 04:37
Forum: Ask For Help
Topic: Setting NIC-Speed by AHK
Replies: 0
Views: 398

Setting NIC-Speed by AHK

Hi, I've a certain Win10 PC with a Realtek-Nic - and there is no pattern to identify and it is not caused by my HP/Aruba J9773A-Switches connected - this NIC's Speed sometimes, randomly falls back from 1,00 Gbit/sec to 100 Mbit/sec. Detecting current NIC Speed is no issue with WMI and AHK. I need 1,...
by Jovannb
22 Dec 2018, 08:31
Forum: Ask For Help
Topic: 32-Bit AHK, COM 64-bit possible
Replies: 2
Views: 579

Re: 32-Bit AHK, COM 64-bit possible

the vice-versa-problem.

I've a 32-bit access-runtime installed which works wich my ahk32-code.
Now I'm challenged to change to 64-bit relase of Office2013 because a sewage-drawing-program wants to use a 64-bit component out of it.

All my installed ms-office's are 32-bit

regards

JB
by Jovannb
21 Dec 2018, 14:47
Forum: Ask For Help
Topic: 32-Bit AHK, COM 64-bit possible
Replies: 2
Views: 579

32-Bit AHK, COM 64-bit possible

Hi,

is it possible to communicate from AHK32-Bit with a 64-bit-program via Com, e.g. Ofiice2013 or higher ?

regards

JB.
by Jovannb
10 Dec 2018, 08:48
Forum: Ask For Help
Topic: Protecting AHK code against piracy
Replies: 17
Views: 5615

Re: Protecting AHK code against piracy

Hi, if necessary I put (flipped) harddisk-serial in that ahk-program-code to avoid running that script on other machines as intended limit running that ahk-code depending on machine-date e.g. til end of 2019 encrypt ahk-code by https://autohotkey.com/boards/viewtopic.php?t=42494 compile that ahk-cod...
by Jovannb
18 Nov 2018, 01:30
Forum: Ask For Help
Topic: Retrieve name of most-recently launched script
Replies: 2
Views: 629

Re: Retrieve name of most-recently launched script

Hi, I'm not sure if it is what you are looking for, but if those processes you wanna know when they are startet, get startet by yourself, there is such a possiblity. a) you start each of thoses processes with a timestamp as (actually unused, unprocessed) startparameter b) in your questioning-ahk-scr...
by Jovannb
04 Nov 2018, 08:27
Forum: Ask For Help
Topic: Runwait comspec problem escaping characters
Replies: 3
Views: 768

Re: Runwait comspec problem escaping characters

Hi, that does the trick: ; ffprobe -v error -show_entries format=duration -of default=noprint_wrappers=1:nokey=1 "F:\Audio.mp3" shellstring:="ffprobe -v error -show_entries format=duration -of default=noprint_wrappers=1:nokey=1 " chr(34) "F:\Audio.mp3" chr(34) run, %comspec% /c %shellstring%,,hide D...
by Jovannb
02 Sep 2018, 01:59
Forum: Ask For Help
Topic: Explorer: get folder size
Replies: 1
Views: 537

Re: Explorer: get folder size

Hi, we are doing the same thing since years on your file server for getting each-projects-folder size every night. Therefore I'm using a small tool named diskuse.exe , to find here https://ss64.com/nt/diruse.html . It is from 2011, on our w2k8r2-server and on win7 and win10 clients it works without ...
by Jovannb
14 Jul 2018, 01:11
Forum: Ask For Help
Topic: How to change pdf printer page size
Replies: 2
Views: 735

Re: How to change pdf printer page size

Hi

Herewith https://coherentpdf.com/blog/?p=68 that should be possible

Regards

J.B.
by Jovannb
03 Apr 2018, 00:06
Forum: Ask For Help
Topic: Controlling AutoCAD R14 with AHK
Replies: 14
Views: 2815

Re: Controlling AutoCAD R14 with AHK

Hi, first of all, we are using different Versions of Autocad (Ver 2014, 2016 and now 2018) on Win10 and Win7 and from our point of view, they work without any special modification requirements on both OS's. Furthermore our external Autocad-supporters never ever mentioned that it is required to modif...
by Jovannb
02 Apr 2018, 12:46
Forum: Ask For Help
Topic: CPU Temp that works
Replies: 6
Views: 2378

Re: CPU Temp that works

Hi, google-ing I found that this wmic /namespace:\\root\wmi PATH MSAcpi_ThermalZoneTemperature get CriticalTripPoint, CurrentTemperature does the trick when you enter it in your console Window. Source: https://stackoverflow.com/questions/45736193/how-can-we-get-a-cpu-temperature-through-wmi Thats a ...
by Jovannb
19 Mar 2018, 10:36
Forum: Gaming
Topic: Loop breaking at wrong place Topic is solved
Replies: 5
Views: 944

Re: Loop breaking at wrong place Topic is solved

Hi,

your identations alone cause nothing, to make that work, it needs to be bound between curly brackets like

Code: Select all

..
..
else
{
	mouseclick, left, 1324, 424
	Sleep, 500
	break
}
..
..	
now that break should start when it is intended to.

J.B.
by Jovannb
18 Mar 2018, 10:56
Forum: Ask For Help
Topic: how to fileappend CSV file on a FTP server and update it every min
Replies: 7
Views: 1859

Re: how to fileappend CSV file on a FTP server and update it every min

Hi,

I would try it using WINSCP https://winscp.net/eng/docs/scripting and its powerfull commandline options

J.B.
by Jovannb
16 Mar 2018, 11:00
Forum: Ask For Help
Topic: UAC Windows 10
Replies: 1
Views: 1055

Re: UAC Windows 10

Hi, doing things with admin rights on Windows 10 (and Win7) works fore me in this manner a) create a schedule task (named e.g. AHK-Admin-Task ) which calls a script, lets say temporary.ahk manually (once) - as (never used) trigger you can select any hardware-event which is never going to happen on y...
by Jovannb
12 Mar 2018, 03:00
Forum: Ask For Help
Topic: script wont close
Replies: 6
Views: 1435

Re: script wont close

Hi Gregster,

I'm used to use

Code: Select all

#singleinstance force
..
..
..
return
for programs - without any gui - doing some jobs in background, so here too.
What I find wired is, that it worked for years till this weekend, and now it hung.

J.B.
by Jovannb
12 Mar 2018, 02:42
Forum: Ask For Help
Topic: script wont close
Replies: 6
Views: 1435

Re: script wont close

Hi, in addition to my former post, I found, that I've the similar issue in all other programs (I've more of them which interact with MS-Outlook 2010) which use oOutlook := ComObjActive("Outlook.Application") .. .. .. oOutlook := return Obviously something with that Outlook-Com-Object must have chang...
by Jovannb
12 Mar 2018, 02:22
Forum: Ask For Help
Topic: script wont close
Replies: 6
Views: 1435

script wont close

Hi, I've a script (reading calendar entries from outlook) which run for years, I call it periodically, eg. every 15 min. Since yesterday (I changed absolutely nothing), that script wont close - it stays there (systemtray) forever. Using Listvars I found, that it hangs at line (eg) 318, which is " re...

Go to advanced search