Search found 124 matches

by ivill
26 Feb 2018, 04:00
Forum: Ask for Help (v1)
Topic: Split specified number into parts and sum Topic is solved
Replies: 17
Views: 4081

Re: Split specified number into parts and sum Topic is solved

Well, I added a g-Label for the ListView. You can select a result by double click. #NoEnv SetBatchLines, -1 ; Constant multipliers ----------------------------------------------------------------------------------------------------------- P1 := 7.25 P2 := 6.53 P3 := 6.16 P4 := 5.43 ; GUI ----------...
by ivill
02 Feb 2018, 01:41
Forum: Ask for Help (v1)
Topic: Store multiple values then invoke them 1by1
Replies: 5
Views: 1608

Re: Store multiple values then invoke them 1by1

You can put them in an array like I did in my example Entries.Push([var1, var2, var3]) and loop through them for i, v in Entries { GenerateWorkBook(v[1], v[2], v[3]) } Hi, Capn Odin, this is an script example i'm using now, i want the values (DDL, M1, NTOW, IncrementalSearch) stored and ready for u...
by ivill
01 Feb 2018, 09:41
Forum: Ask for Help (v1)
Topic: Store multiple values then invoke them 1by1
Replies: 5
Views: 1608

Re: Store multiple values then invoke them 1by1

Entries := [] Gui, 1:New, +Resize, Example Gui, Margin, 0, 0 Gui, Add, Edit, vED Gui, Add, Button, ys gAdd, Add text Gui, Add, Edit, xs vText ReadOnly Multi Gui, Add, Button, xs gWorkbooks, Make workbooks Gui, Show, AutoSize GuiControlGet, BPos, Pos, Button1 return GuiClose: ExitApp return GuiSize:...
by ivill
01 Feb 2018, 06:01
Forum: Scripts and Functions (v1)
Topic: FindText - Capture screen image into text and then find it Topic is solved
Replies: 1088
Views: 584667

Re: FindText - Capture screen image into text and then find it Topic is solved

大神你好,打扰了,请问你的薇信多少,我有个很简单的脚本问题想请教一下您,方便的话可以加下我吗ivill66
by ivill
01 Feb 2018, 03:05
Forum: Ask for Help (v1)
Topic: Store multiple values then invoke them 1by1
Replies: 5
Views: 1608

Store multiple values then invoke them 1by1

Hi, i'm currently updating a script to make it better it's a GUI i should fill some text in(e.g date, number etc) while it's completed, it will create a new workbook, then fill&save&exit > Reload the GUI and do the same job(with different values) the orginal function is like this: enter the values1(...
by ivill
24 Oct 2017, 19:10
Forum: Ask for Help (v1)
Topic: pre-set a password in "LockUp" script Topic is solved
Replies: 1
Views: 1145

Re: pre-set a password in "LockUp" script Topic is solved

:oops: :D :?:

Edit:i found it's quite simple to remove the pw part
by ivill
23 Oct 2017, 22:25
Forum: Ask for Help (v1)
Topic: pre-set a password in "LockUp" script Topic is solved
Replies: 1
Views: 1145

pre-set a password in "LockUp" script Topic is solved

Since the forum is archieved, i came here to ask for help, i just found the script very useful while you can make a script keep running in the background with a black screen covered, but here is a thing, how do i make a pre-set password, so that i don't need to enter a pw by manually each time i run...
by ivill
05 Oct 2017, 19:47
Forum: Ask for Help (v1)
Topic: StringGetPos - numerical input limiter
Replies: 17
Views: 3870

Re: StringGetPos - numerical input limiter

unfortunatly there's a bug, in my case, it will returns empty result if put a non-existing date (i.e 0229, 0230, 0231, 0431, 0631, 0931, 1131) , as you see, a basic date time rule is needed... Not 100% sure I understand what you mean as I return those dates. Before the fix: https://imgur.com/Fle61G...
by ivill
04 Oct 2017, 20:21
Forum: Ask for Help (v1)
Topic: StringGetPos - numerical input limiter
Replies: 17
Views: 3870

Re: StringGetPos - numerical input limiter

Sorry for the delay very busy... Gui, Add, Edit, w200 gLimit vStart Limit4 Number, Gui, Show, AutoSize, Limit Test return LIMIT: Gui, Submit, NoHide if RegExMatch( START, "^(?<dd>01|0[1-9]|1[0-2])(?<MM>01|0[1-9]|[1-2][0-9]|3[0-1])?$", _ ) { if StrLen( START ) = 4 { Msgbox % "dd: " _dd " MM: " _MM ;...
by ivill
04 Oct 2017, 19:31
Forum: Ask for Help (v1)
Topic: StringGetPos - numerical input limiter
Replies: 17
Views: 3870

Re: StringGetPos - numerical input limiter

Sorry for the delay very busy... Gui, Add, Edit, w200 gLimit vStart Limit4 Number, Gui, Show, AutoSize, Limit Test return LIMIT: Gui, Submit, NoHide if RegExMatch( START, "^(?<dd>01|0[1-9]|1[0-2])(?<MM>01|0[1-9]|[1-2][0-9]|3[0-1])?$", _ ) { if StrLen( START ) = 4 { Msgbox % "dd: " _dd " MM: " _MM ;...
by ivill
29 Sep 2017, 19:20
Forum: Ask for Help (v1)
Topic: StringGetPos - numerical input limiter
Replies: 17
Views: 3870

Re: StringGetPos - numerical input limiter

hrm curious, have you tried the DateTime Gui Control?? For instance Gui, Add, DateTime, Choose20170101 1 vMonthDay, MMdd Gui, Add, Button, gGetDate, Get Date Gui, Show, AutoSize, Limit Test return GetDate: Gui, Submit, NoHide FormatTime, Day, % MonthDay, dd FormatTime, Month, % MonthDay, MM msgbox ...
by ivill
28 Sep 2017, 19:04
Forum: Ask for Help (v1)
Topic: StringGetPos - numerical input limiter
Replies: 17
Views: 3870

Re: StringGetPos - numerical input limiter

...is it possible to seprate the input fileld to 2 parts, part1 will check if input is correct(01-12) i.e months, allow the part2 to input(01-31) i.e days after the part1? Do you want it to check as the numbers are being entered of after the entire field is complete? Yes, the field is only to allow...
by ivill
27 Sep 2017, 20:48
Forum: Ask for Help (v1)
Topic: StringGetPos - numerical input limiter
Replies: 17
Views: 3870

Re: StringGetPos - numerical input limiter

#SingleInstance, Force Gui, Add, Edit, w200 gLimit vStart Limit6, Gui, Show, AutoSize, Limit Test return Limit: Gui, Submit, NoHide Str := SubStr(Start, 1, 2) If (Str ~= "01|02|03|04|05|06|07|08|09|10|11|12") { MsgBox, % "You've entered number " Str " as your starting character(s)." } return GuiClo...
by ivill
27 Sep 2017, 20:45
Forum: Ask for Help (v1)
Topic: StringGetPos - numerical input limiter
Replies: 17
Views: 3870

Re: StringGetPos - numerical input limiter

try: Gui, Add, Edit, w200 gLIMIT vSTART Limit6, Gui, Show, AutoSize, Limit Test Return LIMIT: Gui, Submit, NoHide if RegExMatch( START, "^((|\d{2}|\d{4})(0[1-9]|1[0-2]))$", Match ) { MsgBox, % "You've entered: " SubStr( Match, StrLen( Start )-1 ) return } else if !Mod( StrLen( START ), 2 ) { Send, ...
by ivill
27 Sep 2017, 11:35
Forum: Ask for Help (v1)
Topic: StringGetPos - numerical input limiter
Replies: 17
Views: 3870

Re: StringGetPos - numerical input limiter

:idea: #SingleInstance, Force Gui, Add, Edit, w200 gLimit vStart Limit6, Gui, Show, AutoSize, Limit Test return Limit: Gui, Submit, NoHide Str := SubStr(Start, 1, 2) If (Str ~= "01|02|03|04|05|06|07|08|09|10|11|12") { MsgBox, % "You've entered number " Str " as your starting character(s)." } return ...
by ivill
27 Sep 2017, 07:51
Forum: Ask for Help (v1)
Topic: StringGetPos - numerical input limiter
Replies: 17
Views: 3870

Re: StringGetPos - numerical input limiter

Edit: if RegExMatch works i was close... still trying to make it work... it's a wrong example: Gui, Add, Edit, w200 gLIMIT vSTART Limit6, Gui, Show, AutoSize, Limit Test Return LIMIT: Gui, Submit, NoHide GuiControlGet, POS,, START if RegExMatch(POS, "(01|02|03|04|05|06|07|08|09|10|11|12)") { MsgBox...
by ivill
27 Sep 2017, 06:59
Forum: Ask for Help (v1)
Topic: StringGetPos - numerical input limiter
Replies: 17
Views: 3870

Re: StringGetPos - numerical input limiter

Edit: if RegExMatch works
by ivill
27 Sep 2017, 04:09
Forum: Ask for Help (v1)
Topic: StringGetPos - numerical input limiter
Replies: 17
Views: 3870

StringGetPos - numerical input limiter

ARCHIVED FORUMS > Edit control numerical input limiter i found the script is handy for me, but i am trying to make it work with multiple match numbers 01-12 StringGetPos, POS, START, 1, >>> StringGetPos, POS, START, 01|02|03|04|05|06|07|08|09|10|11|12, StringGetPos, POS, START, 1, >>> StringGetPos,...
by ivill
27 Sep 2017, 02:46
Forum: Ask for Help (v1)
Topic: Editbox: limit 1st char input to start with alphabet only Topic is solved
Replies: 2
Views: 915

Re: Editbox: limit 1st char input to start with alphabet only Topic is solved

Hello, gui, add, edit, w300 gedit vedit gui show return edit: gui, submit, nohide if !(edit ~= "^[a-zA-Z]") guicontrol,, edit return Unfortunately, it seems to fail if you type, eg, two numbers very quick. :? May it can get you in the right direction. Cheers. Thanks! @Helgef if !(edit ~= "^[a-zA-Z]...
by ivill
27 Sep 2017, 02:10
Forum: Ask for Help (v1)
Topic: Editbox: limit 1st char input to start with alphabet only Topic is solved
Replies: 2
Views: 915

Editbox: limit 1st char input to start with alphabet only Topic is solved

Hi, all, is it possible to make an EditBox limit first character input to start with alphabet letter only? if not A-Z, then clear the input field.

ABCDEFG ;true
A1BCDEF ;true
1 ;false & clear input field

Go to advanced search