Search found 49 matches

by mslonik
26 Apr 2020, 16:36
Forum: Scripts and Functions
Topic: [Class] ImageButton
Replies: 132
Views: 54231

Re: [Class] ImageButton

Hi gregster,

thank you for explanation. Indeed without #Warn everything works as expected too. It seems that I was too caution this time.

Kind regards, mslonik
by mslonik
23 Apr 2020, 10:26
Forum: Scripts and Functions
Topic: [Class] ImageButton
Replies: 132
Views: 54231

Re: [Class] ImageButton

Hello just me, thank you for your feedback. ; Namespace: ImageButton ; Function: Create images and assign them to pushbuttons. ; Tested with: AHK 1.1.14.03 (A32/U32/U64) ; Tested on: Win 7 (x64) ; Change history: 1.4.00.00/2014-06-07/just me - fixed bug for button caption = "0", "000", etc. I assume...
by mslonik
22 Apr 2020, 15:17
Forum: Scripts and Functions
Topic: [Class] ImageButton
Replies: 132
Views: 54231

Re: [Class] ImageButton

Hello just me, thank you for this great piece of AutoHotkey class! Please help me determine what I'm doing wrong. I get plenty of warnings related to the class, coming from the following section of code: Gui, % "Layer" . LayerIndex . ": Add", Button , % "x" . ButtonX . " y" . ButtonY . " w" . Button...
by mslonik
12 Apr 2020, 17:23
Forum: Ask For Help
Topic: How to add next object to table of objects
Replies: 5
Views: 247

Re: How to add next object to table of objects

Thank you for your answer!
by mslonik
12 Apr 2020, 17:01
Forum: Ask For Help
Topic: How to add next object to table of objects
Replies: 5
Views: 247

Re: How to add next object to table of objects

Hm... Your answer slightly confused me. And what if I'd like to put the next element exactly at the end? My reasoning is that Push method is intended for that purpose. By the way now I cannot figure out how to use it for my purpose. Can you help me with my example and push method?
by mslonik
12 Apr 2020, 16:51
Forum: Ask For Help
Topic: How to add next object to table of objects
Replies: 5
Views: 247

Re: How to add next object to table of objects

Hm... Just a minute ago I've figured out how to do that: TableOfObjects[1]["1_3"] := "path_1_3" or TableOfObjects[1].1_3 := "path_1_3" Anyway, thank you for reading... Maybe somebody else will find it informative. It seems that asking a question in this forum is somehow stimulating. Kind regards, ms...
by mslonik
12 Apr 2020, 16:47
Forum: Ask For Help
Topic: How to add next object to table of objects
Replies: 5
Views: 247

How to add next object to table of objects

Dear Forum, I've created table of objects: TableOfObjects := [{}] and declared the first two elements of this table: TableOfObjects[1] := {"1_1": "path_1_1", "1_2": "path_1_2"} TableOfObjects[2] := {"2_1": "path_2_1", "2_2": "path_2_2"} Now what I'd like to do is put next element to the first elemen...
by mslonik
05 Mar 2020, 17:12
Forum: Scripts and Functions
Topic: Diacritic letters (accents) with configuration file
Replies: 1
Views: 474

Diacritic letters (accents) with configuration file

Dear Forum, it's my pleasure to present you Diacritic.ahk: /* Author: Maciej Słojewski, mslonik, http://mslonik.pl Purpose: Facilitate normal operation for company desktop. Description: Hotkeys and hotstrings for my everyday professional activities and office cockpit. License: GNU GPL v.3 */ ; I N T...
by mslonik
05 Mar 2020, 12:10
Forum: Suggestions on documentation improvements
Topic: Symmetric information about #if and Alt-Tab Hotkeys
Replies: 3
Views: 1747

Re: Symmetric information about #if and Alt-Tab Hotkeys

True, but it isn't mentioned explicitly at the page to which I've referenced to. So my point is: if we mentione about something in one place, why not do the same in the other?

Kind regards, mslonik
by mslonik
02 Mar 2020, 13:19
Forum: Suggestions on documentation improvements
Topic: Symmetric information about #if and Alt-Tab Hotkeys
Replies: 3
Views: 1747

Symmetric information about #if and Alt-Tab Hotkeys

Dear Forum, first of all I'd like to underline that I find most of the time documentation of AutoHotkey superb. Having this statement in mind I'd propose the following change: In the article https://www.autohotkey.com/docs/Hotkeys.htm#AltTabDetail it is explicite mentioned: They are not affected by ...
by mslonik
02 Feb 2020, 12:55
Forum: Ask For Help
Topic: Overlapping hostrings and Send function behaviour
Replies: 2
Views: 217

Re: Overlapping hostrings and Send function behaviour

Thank you for the prompt reply. Yeah, I slammed myself in a forehead. Of course, now reason of deletion is obvious. I've read it hundred of time in manual and yet... Thank you! Your suggestion is also much appreciated.

Kind regards, mslonik
by mslonik
02 Feb 2020, 09:28
Forum: Ask For Help
Topic: Overlapping hostrings and Send function behaviour
Replies: 2
Views: 217

Overlapping hostrings and Send function behaviour

Dear Forum, can sombebody help me to figure out what is going on with my code and AutoHotkey possibly? As the notion "overlapping hotstrings" I call two or more hotstrings where one of them is contained within another, as in the following example: :*:[email protected]::firstname.[email protected].com :*:[email protected]::firs...
by mslonik
02 Feb 2020, 09:05
Forum: Ask For Help
Topic: Gui and 4 pixel wide gap to the left
Replies: 5
Views: 488

Re: Gui and 4 pixel wide gap to the left

@just me

Thank you for enlighting me :beer: . After reading of provided links it's clear to me, that my problem is a consequence of Windows 10 behaviour. Good to know. Of course I'll not issue a bug report on that and this is why I starter from "Ask For Help" forum thread.

Kind regards, mslonik
by mslonik
30 Jan 2020, 16:46
Forum: Ask For Help
Topic: Gui and 4 pixel wide gap to the left
Replies: 5
Views: 488

Re: Gui and 4 pixel wide gap to the left

Can I consider this behaviour a bug and should issue a bug?
by mslonik
26 Jan 2020, 12:46
Forum: Ask For Help
Topic: Gui and 4 pixel wide gap to the left
Replies: 5
Views: 488

Gui and 4 pixel wide gap to the left

Dear Forum, hopefully trivial, I try to display Gui which starts just from the very top left corner of a screen (the leftmost column of pixels visible on the screen): Gui, 1:Add, Text, x150 y150 w150 h150, 1 Gui, 1:Show, x0 y0 w300 h300, One What I get as a result is 4 pixels wide gap to the left ed...
by mslonik
11 Nov 2019, 09:00
Forum: Scripts and Functions
Topic: ELGATO stream deck <- OTAGLE
Replies: 4
Views: 1305

Re: ELGATO stream deck <- OTAGLE

I've prepared a youtube video about OTAGLE:
https://youtu.be/5zKbTOXBqEs

It was added also to above post.
by mslonik
09 Nov 2019, 17:50
Forum: Scripts and Functions
Topic: ELGATO stream deck <- OTAGLE
Replies: 4
Views: 1305

ELGATO stream deck <- OTAGLE

Dear Forum, Let me present you a proof of the following concept: free (as in freedom) solution analogue to commercially available “elgato stream deck” (https://www.elgato.com/en/gaming/stream-deck). http://mslonik.pl/images/stories/2019/20191109_Otagle/IMG_4180_Otagle_800x600.jpg The components: Har...
by mslonik
21 Oct 2019, 11:29
Forum: Ask For Help
Topic: COM of MS Word, Selection and Style
Replies: 5
Views: 651

Re: COM of MS Word, Selection and Style

Dear awel20,

perfect explanation. Default property makes sense. Thank you again!

Kind regards, mslonik
by mslonik
20 Oct 2019, 16:54
Forum: Ask For Help
Topic: COM of MS Word, Selection and Style
Replies: 5
Views: 651

Re: COM of MS Word, Selection and Style

Dear Odlanir and awel20, at first, thank you for your prompt reply. It works! Now I see where smth. went wrong: I was looking in a wrong place trying to apply the VBA formula, without a care to what was clearly written in Microsoft help page. I've read the help page several times... How come then th...
by mslonik
18 Oct 2019, 09:32
Forum: Ask For Help
Topic: COM of MS Word, Selection and Style
Replies: 5
Views: 651

COM of MS Word, Selection and Style

Dear Forum, I try to recreate in AHK the following VBA code. How it is supposed to work: if in MS Word file I mark some text in any paragraph and press Shirt + Ctrl + H, small window should be opened with name of currently applied style. The VBA code: Sub Makro1() Dim CurrentStyle As String CurrentS...

Go to advanced search