Search found 252 matches

by Peter2
15 Feb 2016, 02:10
Forum: Ask For Help
Topic: Date: days since 01.01.1900
Replies: 5
Views: 1322

Re: Date: days since 01.01.1900

Thanks @Exaskryz for the original code and @SifJar for the modification.
by Peter2
14 Feb 2016, 14:50
Forum: Ask For Help
Topic: trojan in autohotkey installer?
Replies: 36
Views: 24255

Re: trojan in autohotkey installer?

Current check of AutoHotkey112301.zip on Virustotal.com shows 0 alerts:
https://www.virustotal.com/de/file/f606 ... 455479320/
by Peter2
14 Feb 2016, 13:38
Forum: Ask For Help
Topic: Date: days since 01.01.1900
Replies: 5
Views: 1322

Re: Date: days since 01.01.1900

Exaskryz wrote:...to interchange between Excel and AHK, ...
No interaction with, no usage of Excel - pure AHK. Let's see if the difference of the results can be solved ....
by Peter2
14 Feb 2016, 12:39
Forum: Ask For Help
Topic: Date: days since 01.01.1900
Replies: 5
Views: 1322

Date: days since 01.01.1900

Usually MS Excel calculates dates with "days since 01.01.1900" - eg. 19.02.2014 is day 41689" (=> approx. 114 years x 365 days = 41610)

Is there a function in AHK to convert numbers to date: 41689 -->> 19.02.2014?

Have a fine week!

Peter
by Peter2
28 Dec 2015, 04:52
Forum: Ask For Help
Topic: Retrieve filename and pagenumber from PDF
Replies: 9
Views: 2555

Re: Retrieve filename and pagenumber from PDF

huismu5 wrote:...I'm illiterate in all programming languages except AHK ...
Me too, but ask the support in the forum. They are very quick and competent, and maybe they can show you the way ...
by Peter2
28 Dec 2015, 03:44
Forum: Ask For Help
Topic: Retrieve filename and pagenumber from PDF
Replies: 9
Views: 2555

Re: Retrieve filename and pagenumber from PDF

I suppose this depends on the PDF-Viewer that you are using. PDF-XChange Editor offers a Javascript API, so maybe you can solve your job without AHK?
http://www.tracker-software.com/product ... nge-editor
by Peter2
01 Nov 2015, 15:41
Forum: Ask For Help
Topic: [Solved] Parsing strings with Pilcrow inside
Replies: 5
Views: 1147

Re: [Solved] Parsing strings with Pilcrow inside

Solved - sorry for the confusion:

The named crypter-script uses the value A_ScriptName, and of course different names brings different results.
by Peter2
01 Nov 2015, 10:45
Forum: Ask For Help
Topic: [Solved] Parsing strings with Pilcrow inside
Replies: 5
Views: 1147

Re: Parsing strings with Pilcrow inside

Thanks for your advices. I tried some things - unsatisfying results .... I have ... 1) an AHK script with the linked script of PhiLho (see above) 2) a script which a) reads a small text file b) adds random characters c) crypt it (for usage) d) decrypt it (for controlling) 3) a script which reads c) ...
by Peter2
31 Oct 2015, 18:25
Forum: Ask For Help
Topic: [Solved] Parsing strings with Pilcrow inside
Replies: 5
Views: 1147

Re: Parsing strings with Pilcrow inside

ASCII is 7-bit (0-127). So what encoding does the text file use? ... I use current AutoHotkeyU32.exe, and the file is created with " Random, code, 32, 230 neu = % Chr(code) neu fileappend . Ultraedit shows the filetype with "1252" ...The function was written for old AutoHotkey (32-bit ANSI, where s...
by Peter2
31 Oct 2015, 18:04
Forum: Ask For Help
Topic: [Solved] Parsing strings with Pilcrow inside
Replies: 5
Views: 1147

[Solved] Parsing strings with Pilcrow inside

I have a text file which consists of Ascii signs 32 - 230, and there is also the "Pilcrow" sign (Ascii 182, Unicode U+00B6 pilcrow sign, HTML-Entity ¶) in it. S'??QÖ!O}P&a?ÚºÎ??4^?¸h׶,"Ó#|W­?lJjU?¡[B?Ü®¦Ç|Ý:+¶9{yiesÊÃ? Now I use the crypt/decrypt script, made by PhiLho, http://autohotkey.com/b...
by Peter2
30 Oct 2015, 02:05
Forum: Ask For Help
Topic: Run compiled.exe as a service?
Replies: 12
Views: 3282

Re: Run compiled.exe as a service?

Thanks for your advices. I would look into third-party service managers, like NSSM . Yes, I will take a look. ...If any of these programs are interactive and the script is not running in each user's session, the Run command will probably be insufficient. The EXE starts a batchmanager which handles a...
by Peter2
29 Oct 2015, 02:00
Forum: Ask For Help
Topic: Run compiled.exe as a service?
Replies: 12
Views: 3282

Re: Run compiled.exe as a service?

Hi the EXE I made does a kind of monitoring: it watches files and folders and starts and watches other programs. There is no user input necessary, no hotkeys, no keystrokes. It runs on Windows Server 2008 R2, on a virtual machine with remote-access. It should run 24/7, start for every user (at the m...
by Peter2
28 Oct 2015, 06:49
Forum: Ask For Help
Topic: Run compiled.exe as a service?
Replies: 12
Views: 3282

Run compiled.exe as a service?

Hi I made a script, compiled it to EXE, and it works fine. Now there is the request to "run it as service" (Windows Server 2008 R2). So the question is: can it be done? - some modifications in the code? - add an interface / a wrapper / something else? - complete recoding? - can not be done in AHK? T...
by Peter2
21 Oct 2015, 05:26
Forum: Ask For Help
Topic: Thousand-separator for MsgBox
Replies: 3
Views: 840

Re: Thousand-separator for MsgBox

Thanks for the fine script and the good documentation.
by Peter2
21 Oct 2015, 03:43
Forum: Ask For Help
Topic: Thousand-separator for MsgBox
Replies: 3
Views: 840

Thousand-separator for MsgBox

Is there a simple / standard way to display numbers with thousand-separators (like Excel):

Msgbox % 123456*2 -> "246.912,00"
by Peter2
05 Oct 2015, 07:04
Forum: Tutorials
Topic: Zugriff auf mit 'FileInstall' eingebundene Skriptressourcen
Replies: 24
Views: 19848

Re: Zugriff auf mit 'FileInstall' eingebundene Skriptressourcen

... Fragen hielt ich hier aber für die sinnvollere Alternative. Natürlich. Ich bin hier im Forum auch vor allem ein Fragender ... Wenn es nur um ein Programm geht würde sich die einmalige Arbeit vielleicht auszahlen - alle Bilder aus der DLL holen und dann per Fileinstall dazupacken. Oder sich das ...
by Peter2
05 Oct 2015, 06:05
Forum: Tutorials
Topic: Zugriff auf mit 'FileInstall' eingebundene Skriptressourcen
Replies: 24
Views: 19848

Re: Zugriff auf mit 'FileInstall' eingebundene Skriptressourcen

Und was spricht dagegen, die Bilder aus der DLL zu nehmen und in die EXE zu packen und dann wie beschrieben zu verwenden?
Oder du verwendest ausser dem Programmverzeichnis noch ein Verzeichnis unter "Appdata", wo das Programm sein Zeugs hinlegen kann.
by Peter2
02 Oct 2015, 01:45
Forum: Ask For Help
Topic: Guicontrol not active
Replies: 6
Views: 1490

Re: Guicontrol not active

w190, border, -wrap, % ".." - simple things which shows the detailed structure and flexible usage of AHK.
Thanks to all for the replies.
For me, maybe it's better to feed the pigeons in the park :oops:
by Peter2
02 Oct 2015, 01:17
Forum: Ask For Help
Topic: Guicontrol not active
Replies: 6
Views: 1490

Re: Guicontrol not active

Try it with: Gui, Add, Text, vZeit w190 , Zeit: ---- ... Great, it works. :thumbup: I never thought that the width of the control would be the problem. The GUI is wide enough, and until now I had no problem with missing text - the time-variable is completely skipped, not truncated :? ...Also, I thi...
by Peter2
01 Oct 2015, 16:12
Forum: Ask For Help
Topic: Guicontrol not active
Replies: 6
Views: 1490

Guicontrol not active

Hi certainly a simple thing, but I don't know why. I have a simple script to train the "times table / 1x1 / 101 / Einmaleins". - a start dialogue - a loop which asks for multiplications, checks the result (plus Beep and Menutray and counting ...) - returns to start dialogue and displays the results ...

Go to advanced search