Search found 40 matches

by CarPiotr
25 Feb 2024, 08:09
Forum: Ask for Help (v1)
Topic: What function should I use to read the log file?
Replies: 2
Views: 56

What function should I use to read the log file?

Hello !
I'm looking for a way to read the putty log file.
I don't know what function to use. I want to control only the last line because the values in these lines may be repeated. I cannot allow any line to be omitted.
What is the best solution?
by CarPiotr
28 Nov 2022, 07:34
Forum: Ask for Help (v1)
Topic: Sending texts from the EditBox separated by a + sign
Replies: 1
Views: 187

Sending texts from the EditBox separated by a + sign

Hello ! I can't cope and I'm asking for help. gui code snippet Gui,2: Add, Edit, hWndhEdtValue x10 y490 w190 h25 vSetpat +Center -VScroll At the moment, I enter the text into the EditBox and press the send button: SendRaw, set:pat 'arb"%Setpat%"' I would like to send more queries separating the text...
by CarPiotr
11 Mar 2022, 06:15
Forum: Ask for Help (v1)
Topic: Logging into putty by reading the log file.
Replies: 6
Views: 610

Re: Logging into putty by reading the log file.

It worked

Code: Select all

ControlSendRaw ,,{text}%password%, ahk_pid %PID%
Greetings !
by CarPiotr
08 Mar 2022, 10:39
Forum: Ask for Help (v1)
Topic: Logging into putty by reading the log file.
Replies: 6
Views: 610

Re: Logging into putty by reading the log file.

Thanks !
I activate the window because that's the only way it accepts my password. :)
by CarPiotr
08 Mar 2022, 09:16
Forum: Ask for Help (v1)
Topic: Logging into putty by reading the log file.
Replies: 6
Views: 610

Re: Logging into putty by reading the log file.

Hello ! Thanks for the tips. I used a different solution and it works very well for me. I would like to ask about another problem I have encountered. I want to run minimized putts and execute all commands via "ControlSend" and activate the window after the last command. Unfortunately, I can't send o...
by CarPiotr
02 Mar 2022, 15:43
Forum: Ask for Help (v1)
Topic: Logging into putty by reading the log file.
Replies: 6
Views: 610

Logging into putty by reading the log file.

Hello ! I have changed the way of logging in to putty. Previously, it was done as standard, so when starting putty I added the session parameter and password. Now, before the password appears, I have to press "Enter" twice. In autohotkey I write simple scripts so I made it simple but the computer is...
by CarPiotr
21 Dec 2021, 03:52
Forum: Ask for Help (v1)
Topic: Help with ListBox multi
Replies: 17
Views: 1883

Re: Help with ListBox multi

Thank you all for your patient help for beginners and those who get lost in their scripts. Happy Christmas . :xmas:
by CarPiotr
20 Dec 2021, 15:27
Forum: Ask for Help (v1)
Topic: Help with ListBox multi
Replies: 17
Views: 1883

Re: Help with ListBox multi

Hi ! In my opinion, it should work, but it does not work. What's wrong now? SetTitleMatchMode, 1 IniRead, backup_position1x , file.ini, backup position, backup_position1x IniRead, backup_position1y , file.ini, backup position, backup_position1y WinMove, SERVER 1,, %backup_position1x%, %backup_positi...
by CarPiotr
17 Dec 2021, 13:58
Forum: Ask for Help (v1)
Topic: Help with ListBox multi
Replies: 17
Views: 1883

Re: Help with ListBox multi

Thanks for helping me in advance. Another topic, but I decided to continue here. I have 6 putty windows and I want to set them to the positions previously saved in the ini file. The windows move but to the left edge of the screen even though the saved positions are correct. What is wrong ? SetTitleM...
by CarPiotr
16 Dec 2021, 15:28
Forum: Ask for Help (v1)
Topic: Help with ListBox multi
Replies: 17
Views: 1883

Re: Help with ListBox multi

Hi test example: List= White|Yellow|Orange|Red|Green|Blue|Violet|Black Gui, Add, ListBox, Multi +AltSubmit gCheck vMyListBox r10, %List% Gui, Add, Button, Default, OK Gui Show, Return Check: Gui, Submit, NoHide RegExReplace(MyListBox, "\|",, count) If (count >= max := 5) { PostMessage, 0x0185, 0, -1...
by CarPiotr
16 Dec 2021, 08:24
Forum: Ask for Help (v1)
Topic: Help with ListBox multi
Replies: 17
Views: 1883

Re: Help with ListBox multi

Hi ! Please help with the syntax. I want to make an entry in the registry so that the window title depends on the choice, for example: 1. Orange My entry: RegWrite, REG_SZ, HKEY_CURRENT_USER\Software\SimonTatham\PuTTY\Sessions\BACKUP\, WinTitle, %A_Index%. % ["White", "Yellow", "Orange", "Red", "Gre...
by CarPiotr
07 Dec 2021, 06:28
Forum: Ask for Help (v1)
Topic: Help with ListBox multi
Replies: 17
Views: 1883

Re: Help with ListBox multi

Thank you and best regards !
by CarPiotr
07 Dec 2021, 03:11
Forum: Ask for Help (v1)
Topic: Help with ListBox multi
Replies: 17
Views: 1883

Re: Help with ListBox multi

Hi !
This is my last request because I have noticed that my language barriers are also present. I can't use your script for my needs to run up to five putty windows, e.g. every 2 seconds. I know Autohokey from your forum and youtube :-) not knowing English. Thanks
by CarPiotr
06 Dec 2021, 08:41
Forum: Ask for Help (v1)
Topic: Help with ListBox multi
Replies: 17
Views: 1883

Re: Help with ListBox multi

Hello ! However, I started it wrong. I gave a simple example and I thought I could do it. Here is part of my test script. I use it for putty connections to different servers. I would like to run a maximum of five simultaneously at intervals or when the previous one connects so that it doesn't interf...
by CarPiotr
03 Dec 2021, 15:23
Forum: Ask for Help (v1)
Topic: Help with ListBox multi
Replies: 17
Views: 1883

Re: Help with ListBox multi

:) thank you guys but i can't say goodbye :roll:
by CarPiotr
03 Dec 2021, 06:51
Forum: Ask for Help (v1)
Topic: Help with ListBox multi
Replies: 17
Views: 1883

Help with ListBox multi

Hi ! I can't figure it out myself, so please help me. In LisBox, I select a few fields and after pressing the OK button, MsgBox will appear with info about what fields have been selected. I need the results to be in separate MsgBox. Is it possible to set a limit on the number of selected fields? e.g...
by CarPiotr
17 Nov 2020, 08:56
Forum: Ask for Help (v1)
Topic: Run Putty with the -pw option
Replies: 2
Views: 201

Re: Run Putty with the -pw option

Why am I always looking for bigger problems and not the basic ones. Thanks
by CarPiotr
17 Nov 2020, 08:32
Forum: Ask for Help (v1)
Topic: Run Putty with the -pw option
Replies: 2
Views: 201

Run Putty with the -pw option

Will you help a less experienced colleague? In Gui, I enter a password and run Putty with that password. Simple applet but probably not for me yet. My login is saved in the putty "mine" session Gui Color, 0x3299CC, 0xADEAEA, Gui Font, s10 Bold Gui Add, Edit, hWndhEdtValue x20 y5 w200 h22 -E0x200 vPa...
by CarPiotr
11 Aug 2020, 01:29
Forum: Ask for Help (v1)
Topic: Problem with special characters in listView
Replies: 2
Views: 1119

Re: Problem with special characters in listView

Now it is working ! Thank you very much

Go to advanced search