Search found 256 matches

by Jovannb
08 Mar 2020, 12:32
Forum: Ask For Help
Topic: run several versions of a script simulaneously
Replies: 9
Views: 907

Re: run several versions of a script simulaneously

Hi to explain it in a better way: Mother-Script (named: mother.ahk ) #SingleInstance force client_ahk := "client.ahk" m_value2 := "Hello" m_value3 := "World" loop, 5 { run, %client_ahk% %a_now% %m_value2% %m_value3% sleep, 1000 ; one second delay } return Client-Script (named: client.ahk ) number_of...
by Jovannb
08 Mar 2020, 12:18
Forum: Ask For Help
Topic: WSDL .. Communication with Webservice via SOAP
Replies: 10
Views: 2765

Re: WSDL .. Communication with Webservice via SOAP

Hi, Curl is available here: https://curl.haxx.se/windows/ . Thats an example and nothing else. a) i call that "curl ... " line by ahk b) get that resultfile (output1.xml) to think that further you can generate that certain input-file (weather_output1.xml) programmatically by ahk and you can analyse ...
by Jovannb
03 Mar 2020, 03:58
Forum: Ask For Help
Topic: run several versions of a script simulaneously
Replies: 9
Views: 907

Re: run several versions of a script simulaneously

Hi, my approach is a mother-srcipt calls many child-scripts with different parameters (a company wide notice system based on a central access-database). The mscript tells the cscripts by commandline-parameters how to behave (or in my case what message to show to the user). what mscript does: run, %g...
by Jovannb
02 Mar 2020, 11:28
Forum: Ask For Help
Topic: watch a folder ONLY for file renaming Topic is solved
Replies: 8
Views: 595

Re: watch a folder ONLY for file renaming Topic is solved

Hi, what I can imagine: a) you remember per file: file size, creation-time-stamp and name b) as soon as name changes and file size and creation-time-stamp stays the same values then c) you know that somebody changed the name of a certain file the probability, that you have files with same file size ...
by Jovannb
26 Feb 2020, 12:54
Forum: Ask For Help
Topic: Trigger subroutines from another script
Replies: 3
Views: 348

Re: Trigger subroutines from another script

Hi,

look at this https://www.autohotkey.com/boards/viewtopic.php?t=20763, that is what you are looking for.

J.B.
by Jovannb
22 Feb 2020, 03:12
Forum: Ask For Help
Topic: Excel COM - Activate Worksheet by VBA Code Name?
Replies: 2
Views: 224

Re: Excel COM - Activate Worksheet by VBA Code Name?

Hi that works form me since ages: workbook:=a_scriptdir "\nobodyknows.xlsm" try { excel := ComObjActive("Excel.Application") ;// get already running Excel instance } catch e { excel := ComObjcreate("Excel.Application") ;// start new Excel instance excel.visible := true sleep, 1000 } wb := excel.work...
by Jovannb
19 Feb 2020, 14:59
Forum: Ask For Help
Topic: File/Text encoding issue Topic is solved
Replies: 8
Views: 815

Re: File/Text encoding issue Topic is solved

Hi Frosti, I tried different things, changing my file with NP++ for testing reasons didnt work No I made it the "hard way": created a .csv-List (with 223 lines) with all UTF-8-characters and its corrsponding Hex-Codes (e.g. "ä; =c3=a4"), quit easy to find by google, copy & paste did it use StrReplac...
by Jovannb
19 Feb 2020, 11:26
Forum: Ask For Help
Topic: Get GPS location of photo - Latitude and Longitude. Topic is solved
Replies: 14
Views: 1272

Re: Get GPS location of photo - Latitude and Longitude. Topic is solved

Hi

I think exiftool should do the trick, give it a try.

J.B.
by Jovannb
19 Feb 2020, 10:43
Forum: General Discussion
Topic: AHK programming on Windows with/without DLL-Calls
Replies: 5
Views: 2244

Re: AHK programming on Windows with/without DLL-Calls

The only type of situation that I could see where being so worried could be justified, is that you don't control the environment that your programs are used in and you can't package the correct Dlls that you need due to copyright restrictions. Maybe you want to explain your situation a bit more, as...
by Jovannb
19 Feb 2020, 06:35
Forum: General Discussion
Topic: AHK programming on Windows with/without DLL-Calls
Replies: 5
Views: 2244

AHK programming on Windows with/without DLL-Calls

Hi, I'm on AHK since more than 10 years now, in that time i avoided instinctively using DLL-calls . My concern is, that without DLL-calls in my code, i can secure that elderly code runs in future too. But the longer I'm programming, the more I learn, that some certain things require the use of those...
by Jovannb
19 Feb 2020, 05:26
Forum: Ask For Help
Topic: File/Text encoding issue Topic is solved
Replies: 8
Views: 815

Re: File/Text encoding issue Topic is solved

Frosti, thank you for your suggestion. I tried mailbody_txt:="c:\xx\2817eec3597148ebca12f1a5dc53b.txt" Teststring := FileOpen(mailbody_txt, "r", "CP1252").read() fileobject.Close() Filecontent is seen in Notepad++ (says it is a "UTF-8") as: Subject: SMS Antwort an 08282xxxxx MIME-Version: 1.0 Conten...
by Jovannb
19 Feb 2020, 02:41
Forum: Ask For Help
Topic: File/Text encoding issue Topic is solved
Replies: 8
Views: 815

Re: File/Text encoding issue Topic is solved

Frosti, thank you for your input. It tells me, that my file is obviously "ANSI" encoded ?? I'm using Codeode popclient.exe from 2010 getting my emails from a POP3-Account. We are using that stuff for company-communication to/from our Company-Smartphones and our Company-Network/Computers. Therefore w...
by Jovannb
18 Feb 2020, 14:25
Forum: Ask For Help
Topic: File/Text encoding issue Topic is solved
Replies: 8
Views: 815

File/Text encoding issue Topic is solved

Hi, I'm reading a pop-email-account and get a text file (mailbody_txt) back which is encoded, therein is a string like Content-Type: text/plain; charset=UTF-8 . When I open that Email-Text-file (via Loop, read, mailbody_txt , I get something like Hallo Eugen, ich w=C3=BCnsche dir einen sch=C3=B6nen ...
by Jovannb
09 Jan 2020, 00:52
Forum: Ask For Help
Topic: Save Outlook Calendar
Replies: 3
Views: 1387

Re: Save Outlook Calendar

Hi, try this, it is the same code as working example: #singleinstance force olFolderCalendar := 9 ; Outlook.OlDefaultFolders.olFolderContacts olFolderContacts := 10 ; get constants from visual studio olAppointmentItem = 1 profileName := "Outlook" try { Outlook := ComObjCreate("Outlook.Application") ...
by Jovannb
20 Nov 2019, 04:24
Forum: Ask For Help
Topic: ADOSQL stopped working MS-Office2010 SP2 Topic is solved
Replies: 1
Views: 214

Re: ADOSQL stopped working MS-Office2010 SP2 .. solved Topic is solved

Hi, problem is solved, ADOSQL works like it should. The cause was Microsoft Service-Pack roll out for KB4484127 which was distributed at 15. November 2019 - that stopped all writings in Access-Databases from 2010, 2013 and so on. Deinstallation of the KB4484127 did it. The SQL-Error is "Query '' is ...
by Jovannb
19 Nov 2019, 15:17
Forum: Ask For Help
Topic: ADOSQL stopped working MS-Office2010 SP2 Topic is solved
Replies: 1
Views: 214

ADOSQL stopped working MS-Office2010 SP2 Topic is solved

Hi, I'm using ADOSQL (exactly: " ADOSQL v5.04L - By [VxE]") since years and everything was fine. But now, since a few days, I've serious troubles on all of my computers (Win10 1903 or 1909 and Win7 latest release). It seems to be an issue with that Microsoft-Office2010 Service-Pack 2 (published at 1...
by Jovannb
19 Aug 2019, 10:28
Forum: Ask For Help
Topic: Retrieving Senders Name from Outlook Message Topic is solved
Replies: 9
Views: 1249

Re: Retrieving Senders Name from Outlook Message Topic is solved

Hi, I suggest to use COM accessing Email-Properties from Outlook. That works for me (Outlook 2010) oOutlook := ComObjActive("Outlook.Application") oInspector := oOutlook.Application.ActiveInspector Mail := oInspector.CurrentItem ; getting current email object ; Email-properties-list ; https://msdn.m...
by Jovannb
24 Jul 2019, 08:34
Forum: Ask For Help
Topic: How to display a countdown of 60 seconds in Gui? Topic is solved
Replies: 3
Views: 824

Re: How to display a countdown of 60 seconds in Gui? Topic is solved

Hi, a different runnig example (shows a green label left top of your screen) #SingleInstance force ; runtime-mearsuring StartTime := A_TickCount ; Start that Progress-Label settimer, showprogress1, 1000 ; your program whatever it does ; your program whatever it does ; for demonstration ... sleep, 10...
by Jovannb
27 May 2019, 10:16
Forum: Ask For Help
Topic: Control AutoCAD Command Line with Com obj? Topic is solved
Replies: 2
Views: 589

Re: Control AutoCAD Command Line with Com obj? Topic is solved

Hi, this http://entercad.ru/acadauto.en/ should help you. Here a working example ; Open Autocad, or in my case Bricscad with a (new) drawing in advance #singleinstance force ;Myapp := ComObjActive("AutoCAD.Application") Myapp := ComObjActive("BricscadApp.AcadApplication") mydoc := myapp.activedocume...
by Jovannb
31 Mar 2019, 05:59
Forum: Ask For Help
Topic: Ideas for AHK Proof of Concept
Replies: 9
Views: 1428

Re: Ideas for AHK Proof of Concept

Hi almost everything is possible in an office enviroment (eg. we are in civil engineering domain), some examples we solved with AHK: internal messages from pc to pc with reporting database in background central address management, database based download links for customers (we mark files in totalco...

Go to advanced search