Search found 84 matches

by Pilu
16 Feb 2021, 08:45
Forum: Ask for Help (v1)
Topic: Get file owner problem
Replies: 2
Views: 261

Re: Get file owner problem

I found this alternative way, what it works, but how can I loop to all file in specific folder? #NoEnv SetBatchLines,-1 FileSelectFile,FilePath PropValPages:=FGP_Value(FilePath,"Owner") msgbox % FilePath MsgBox % PropValPages ExitApp FGP_Init() { static PropTable if (!PropTable) { PropTable := {Name...
by Pilu
16 Feb 2021, 06:30
Forum: Ask for Help (v1)
Topic: Get file owner problem
Replies: 2
Views: 261

Get file owner problem

Hi, I use the following script, that i get the file owner. File = c:\Test\test.txt ; change this to any file or folder Owner := GetOwner( File ) ; GetOwner(p) { colObj := ComObjGet("winmgmts:").ExecQuery("Associators Of {" . "Win32_LogicalFileSecuritySetting='" p "'} Where As" . "socClass= Win32_Log...
by Pilu
08 Feb 2021, 06:10
Forum: Ask for Help (v1)
Topic: Search in listview gui Topic is solved
Replies: 7
Views: 752

Re: Search in listview gui Topic is solved

something like this #SingleInstance force #NoEnv SendMode Input SetWorkingDir, %A_ScriptDir% SetBatchLines, -1 fileRead ,rawData,*t Data2.txt if(debug := true) { rawData := "" strings := ["cat","dog","pig","duck"] loop 20 { rowNum := A_index rowText := "" loop % strings._maxIndex() { colNum := A_in...
by Pilu
05 Feb 2021, 10:12
Forum: Ask for Help (v1)
Topic: Search in listview gui Topic is solved
Replies: 7
Views: 752

Search in listview gui Topic is solved

Hi, I created a Listview gui. How can i search text in every columns and list every matched lines what contains the text or the part of searched text.And if the search textbox is empty ,show all elements? #SingleInstance force #NoEnv SendMode Input SetWorkingDir, %A_ScriptDir% SetBatchLines, -1 F1 =...
by Pilu
03 Feb 2021, 10:32
Forum: Ask for Help (v1)
Topic: Check var in list Topic is solved
Replies: 2
Views: 143

Check var in list Topic is solved

Hi, I read data from ini file, this is an example: Kulcs= Cckb;ATO;DECL;Valami;Chdbbkl;blabla;valami2; I try to check that the list contains the keyword but dosn't work: Iniread, List, Data.ini, LISTA, Kulcsszavak txt := List var = blabla if (var contains StrSplit(txt, ";")) { msgbox Yes } else { ms...
by Pilu
03 Feb 2021, 07:18
Forum: Ask for Help (v1)
Topic: Set Gui location in specific window Topic is solved
Replies: 4
Views: 392

Re: Set Gui location in specific window Topic is solved

Thanks your help it was useful example
by Pilu
03 Feb 2021, 03:57
Forum: Ask for Help (v1)
Topic: Set Gui location in specific window Topic is solved
Replies: 4
Views: 392

Set Gui location in specific window Topic is solved

Hi,

How can i set the gui location (Gui, show, x y, Gui) to a specific window? I means, if I resize the window, the gui is shown,
it is also located in the resized window, compared to the old window.

Thanks the help
by Pilu
03 Feb 2021, 03:44
Forum: Ask for Help (v1)
Topic: Show gui until the window actives Topic is solved
Replies: 2
Views: 155

Re: Show gui until the window actives Topic is solved

I solwed the őroblem i find a script, and litle modify and it works. #Persistent SetWinDelay, 0 SetBatchLines, -1 Gui, Add, Button, w200 h25 gTest1, button 1 Gui, Add, Button, w200 h25 gTest2, button 2 Gui, +hwndAhkGui Gui,show,x1090 y70,MyGuiName lastActive := WinExist("A") SetTimer, Active_Window_...
by Pilu
02 Feb 2021, 10:36
Forum: Ask for Help (v1)
Topic: Show gui until the window actives Topic is solved
Replies: 2
Views: 155

Show gui until the window actives Topic is solved

Hi, I would like when a specify window actives, until then the gui is visable, when the window closes or changes, the gui hide itself. Try this but didn't work: Gui, add, ddl, x5 y10 h50 w100, gfg|vffv|vvv gui, show, x50 y100 h100 w100 SetTimer, Update, 250 return Update: WinGetActiveTitle, title St...
by Pilu
08 Jan 2021, 09:51
Forum: Ask for Help (v1)
Topic: Format check Topic is solved
Replies: 4
Views: 162

Re: Format check Topic is solved

mikeyww wrote:
08 Jan 2021, 08:51

Code: Select all

Clipboard  = 08Dec21
Clipboard := Clipboard
MsgBox, % Clipboard ~= "^\d\d[A-Za-z]{3}\d\d$" ? "OK" : "No"
thanks your help
by Pilu
08 Jan 2021, 08:37
Forum: Ask for Help (v1)
Topic: Format check Topic is solved
Replies: 4
Views: 162

Re: Format check Topic is solved

I would like check the format, because the date can be like that 07DEC20 or 15/11/2020. I would like get ok message ,if the 07DEC20 the format is ddMMMyy, becouse the date changeing.
by Pilu
08 Jan 2021, 08:17
Forum: Ask for Help (v1)
Topic: Format check Topic is solved
Replies: 4
Views: 162

Format check Topic is solved

Hi,

I would like check the date format.If the Date format is same get msg ok. how can i do that?

Code: Select all

Clipboard := % Clipboard
if (Clipboard = ddMMMyy)

msgbox, ok

else

msgbox, no 

by Pilu
16 Dec 2020, 06:55
Forum: Ask for Help (v1)
Topic: Move file from online outlook to folder
Replies: 1
Views: 124

Move file from online outlook to folder

Hi,

Unfortunately we use only online outlook, it was opened in chrome, so the drag and drop function isn't work, only a save.
Have somebody idea, how can I save the file in the opened folder, or can make a script, what it does like as drag and drop?


Thank you in advance for your help
by Pilu
10 Dec 2020, 06:42
Forum: Ask for Help (v1)
Topic: dynamic changing tooltip
Replies: 1
Views: 392

dynamic changing tooltip

Hi, I would like some data in tooltip when i move the mouse, up of the text. These data constantly changing in the ini file. So i would the tooltips constantly changing too. Thanks in advance the help. #NoEnv Gui, Color, Black Gui, Font, s14 cWhite, Tahoma Gui, Add, Text, HwndhText0 gReturn, TEST PI...
by Pilu
26 Nov 2020, 05:56
Forum: Ask for Help (v1)
Topic: Regexreplace space and other caracters Topic is solved
Replies: 4
Views: 369

Regexreplace space and other caracters Topic is solved

Hi all,

Can somebody help me, how can i set the regexreplace that it let only the numbers and letters?

Code: Select all

RegExReplace (Clipboard, "[^0-9]+", " ")
thanks
by Pilu
25 May 2020, 06:48
Forum: Ask for Help (v1)
Topic: If and function problem
Replies: 1
Views: 169

If and function problem

Hi, I try check some the gui edit boxs. If the editbox is empty send the msgbox with the field is empty, and if the M is not empty but isn't number send msgbox is not number. and if E1 and F2 or F3 and M is not empty and M is numbersend ok msg. I try this but didn't work. Gui, Submit,Nohide If (E1 =...
by Pilu
20 May 2020, 04:58
Forum: Ask for Help (v1)
Topic: Stopwatch problem Topic is solved
Replies: 2
Views: 242

Stopwatch problem Topic is solved

Hi, I try to crate a stopwatch, but the i have a problem with the FormatTime. if i set hh:mm:ss and start the stopwatch th hour start from 12. #NoEnv Gui, -Caption Gui, +Sysmenu +ToolWindow SetBatchLines, -1 SetWinDelay, -1 ElapsedTime := A_YYYY ; initialize ElapsedTime, it will be treated as YYYY01...
by Pilu
02 Mar 2020, 06:20
Forum: Ask for Help (v1)
Topic: Listbox scrolling problem
Replies: 0
Views: 426

Listbox scrolling problem

Hi, I created a Gui with DDL, if I move the mouse over the dropdownlist and i start to scrolling. The list change. How can is set that only if the ddl is active, that is i click to the ddl. I am able to scroling in the list only. Gui,Add,DropDownList,x20 y50 w132 vOrdertype,First|Second|Third Gui,Sh...
by Pilu
24 Feb 2020, 04:56
Forum: Ask for Help (v1)
Topic: Fade in fade out text and change color Topic is solved
Replies: 1
Views: 476

Fade in fade out text and change color Topic is solved

Hi I found this script, but it's more dificult for me. I would like modify the scrip that if the text value = 1 then the text color is green else red. Could help me somebody? background_color := 0x000000 text_color := 0xFF0000 text_color2 := 0x00ff00 fade := new Text_fader(text_color, background_col...
by Pilu
13 Feb 2020, 09:49
Forum: Ask for Help (v1)
Topic: Browser in Gui problem
Replies: 0
Views: 530

Browser in Gui problem

Hi I try to embed chrome browser to gui. But if i try login to google, I got error massage from google that i don't use supported browser. How can fix the problem? Gui Add, ActiveX, w980 h640 vWB, Chrome.Browser ;Whatever we give here instead ;'s' I notice it loads IE control only. Someone in AHK fo...

Go to advanced search