is there a way to type "/reset" when you eeach 400 level?
i mean where will i need to search and get my current level so i can loop that and if it reaches 400, automatic reset
Search found 71 matches
- 19 Jun 2023, 10:00
- Forum: Gaming
- Topic: create auto reset for MU online
- Replies: 0
- Views: 743
- 16 Feb 2022, 21:06
- Forum: Ask for Help (v1)
- Topic: File append multiple ASC files
- Replies: 6
- Views: 791
Re: File append multiple ASC files
You will need to loop over the .asc files, then read the content ( FileRead , FileOpen ), now read each line ( FileReadLine , Obj.FileReadLine ), then write the new modified line ( FileAppend , Obj.WriteLine , Obj.Write ) and save and close the file if needed. I recommend to use the object method (...
- 16 Feb 2022, 01:08
- Forum: Ask for Help (v1)
- Topic: File append multiple ASC files
- Replies: 6
- Views: 791
File append multiple ASC files
this is kind of dumb but im nod good at coding but im learning..
I have this hundreds of .asc files and i want to add a text on every line inside the asc files
I want to add the file name without the file extension
how will i code that?
I have this hundreds of .asc files and i want to add a text on every line inside the asc files
I want to add the file name without the file extension
how will i code that?
- 16 Sep 2021, 22:33
- Forum: Ask for Help (v1)
- Topic: How do you PAUSE a loop and resume again?
- Replies: 2
- Views: 2752
- 16 Sep 2021, 20:08
- Forum: Ask for Help (v1)
- Topic: How do you PAUSE a loop and resume again?
- Replies: 2
- Views: 2752
How do you PAUSE a loop and resume again?
First of I am sorry for this stupid question. but how do you pause a loop and the resume again to there it paused? i tried googling for answers but it gets complicated every search! I just want to pause my loop and then resume it with a keypress(like toggle) like this: #Persistent #SingleInstance, F...
- 12 Jul 2019, 09:06
- Forum: Ask for Help (v1)
- Topic: why is this countdown timer wrong? Topic is solved
- Replies: 2
- Views: 587
Re: why is this countdown timer wrong? Topic is solved
Try this: #Persistent #SingleInstance, Force #NoEnv eta := 10 eta *= 60 Gui, Font, S50 CDefault, Verdana Gui, Add, Text,vMyTime w200 Center, %oras% Gui,Show Return eggtimer: --eta oras := % floor(eta / 60) ":" substr( "0" . mod(round(eta), 60), -1) if (eta > 0) SetTimer,, -1000 GuiControl,,MyTime, ...
- 12 Jul 2019, 05:48
- Forum: Ask for Help (v1)
- Topic: why is this countdown timer wrong? Topic is solved
- Replies: 2
- Views: 587
why is this countdown timer wrong? Topic is solved
i found a script but i noticed that when i pause the timer, in the background it still going on! is there a way for me to pause the timer and resume? was making a scoreboard and im stuck with this timer #Persistent #SingleInstance, Force #NoEnv eta := 10 eta *= 60 time := a_tickcount Gui, Font, S50 ...
- 11 Jul 2019, 05:09
- Forum: Ask for Help (v1)
- Topic: Noob question about Array search
- Replies: 2
- Views: 606
Noob question about Array search
ok so i copied excel datas into array right? like this: SafeArray := Xl2.ActiveSheet.Range("A1:D" lstrw2).Value now i want to search that multidimensional array, BUT! i only want to search in first column? i saw some code like this: HasVal(haystack, needle) { if !(IsObject(haystack)) || (haystack.Le...
- 11 Jul 2019, 03:09
- Forum: Ask for Help (v1)
- Topic: If, Else Statement - Help Please Topic is solved
- Replies: 5
- Views: 1194
Re: If, Else Statement - Help Please Topic is solved
Hello! You're using CAD, why not use COM?? like this
i do not know what dim al_nea command is, sorry
Code: Select all
#Persistent
#SingleInstance, Force
#NoEnv
acad:= ComObjActive("AutoCAD.Application")
$F1::
acad.ActiveDocument.SendCommand("Polyline`n")
Return
$End::
exitApp
Return
- 11 Jul 2019, 02:24
- Forum: Ask for Help (v1)
- Topic: Saving on a centralized excel file
- Replies: 1
- Views: 470
Saving on a centralized excel file
Saving on a shared file is ok, when you're the only one using it. If i make a search script and multiple users will use the same excel file, how can we save on that file simultaneously? or is it even possible? its like this: Main DataBase is the shared file File1 is the individual copies containing ...
- 03 Jul 2019, 06:30
- Forum: Ask for Help (v1)
- Topic: Arrays, Small letters and Capital Letters
- Replies: 4
- Views: 821
Re: Arrays, Small letters and Capital Letters
#SingleInstance, Force #NoEnv pw := StrSplit("TIBAKSONCRMDEFGHJLPQUVWXYZtibaksoncrmdefghjlpquvwxyz") Alphabet := StrSplit("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz") TestData = Lucky is my NAME! >.<" Hello! &*/()-=+_!@#$456`%789`~{}[]|":?><,. Loop, parse, TestData { q:= LookFor(Alphabet...
- 03 Jul 2019, 05:20
- Forum: Ask for Help (v1)
- Topic: Arrays, Small letters and Capital Letters
- Replies: 4
- Views: 821
Arrays, Small letters and Capital Letters
I made a simple cypher it works and all but i have a tiny problem. CAPITAL LETTERS... How can i Retain the Capital letters on my sample text? also "%" i cannot use this percent sign in the text because its for getting values inside a variable this is the one i made, #SingleInstance, Force #NoEnv pw ...
- 29 Jun 2019, 01:52
- Forum: Ask for Help (v1)
- Topic: playing with array
- Replies: 4
- Views: 966
playing with array
I have a problem, i am trying to put the alphabets in an array BUT! when u input random letters. those letters should be first. example: abcdefghijklmnopqrstuvwxyz => this is my array lkrnyo => this is my input this is what the new array should look like: lkrnyo abcdefghijmpqrstuvwxz is this possibl...
- 28 Apr 2019, 20:58
- Forum: Ask for Help (v1)
- Topic: Array search Noob question sorry Topic is solved
- Replies: 4
- Views: 1000
Re: Array search Noob question sorry Topic is solved
Thank you! why didnt i think of that! Im so stupid!
thank you so much! and i will use associative array as well. thank you for teaching me
thank you so much! and i will use associative array as well. thank you for teaching me
- 28 Apr 2019, 20:15
- Forum: Ask for Help (v1)
- Topic: Array search Noob question sorry Topic is solved
- Replies: 4
- Views: 1000
Array search Noob question sorry Topic is solved
Array := [[A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U, V, W, X, Y, Z, AA, AB, AC, AD, AE, AF, AG, AH, AI, AJ, AK, AL, AM, AN] [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40]] i...
- 26 Mar 2019, 18:26
- Forum: Ask for Help (v1)
- Topic: Conver VBA from Autocad to AHK Topic is solved
- Replies: 4
- Views: 1400
Re: Conver VBA from Autocad to AHK Topic is solved
The VBA appears similar to a script I already have. yes sir and it was very useful. but i ask to change it because i keep pressing the ENTER key everytime i select a line... and the one I am asking to convert is way shorter and it doesnt require me to press enter everytime. also the old one is it s...
- 21 Mar 2019, 02:18
- Forum: Ask for Help (v1)
- Topic: Conver VBA from Autocad to AHK Topic is solved
- Replies: 4
- Views: 1400
Re: Conver VBA from Autocad to AHK Topic is solved
The VBA appears similar to a script I already have. yes sir and it was very useful. but i ask to change it because i keep pressing the ENTER key everytime i select a line... and the one I am asking to convert is way shorter and it doesnt require me to press enter everytime. also the old one is it s...
- 20 Mar 2019, 04:06
- Forum: Ask for Help (v1)
- Topic: Conver VBA from Autocad to AHK Topic is solved
- Replies: 4
- Views: 1400
Conver VBA from Autocad to AHK Topic is solved
can someone help me please?? can some awesome person convert this VBA from cad into AHK?? im am sorry im so noob at this Public Sub test() Dim objent As AcadObject pick = True 'WHILE PICKING ENTITY Do While pick ThisDrawing.Utility.GetEntity objent, basepnt, "Pick line : " 'WHILE PICKING ENTITY If o...
- 06 Mar 2019, 00:55
- Forum: Ask for Help (v1)
- Topic: Hide/ Show GUI when specific window is maximized/minimized
- Replies: 1
- Views: 537
Hide/ Show GUI when specific window is maximized/minimized
I am trying to add something on my working script. I wanted to hide "Gui,20" when AutoCad is Minimized and show it again if Autocad is Maximized. i tried searching and this is what i came up with: $F12:: WinGet, q, ID, A SetTimer, yep, On Return yep: WinGet MMX, MinMax, Ahk_ID %q% If (MMX = -1) Gui,...
- 15 Feb 2019, 02:34
- Forum: Ask for Help (v1)
- Topic: How to save safearray to excel?
- Replies: 12
- Views: 3596
Re: How to save safearray to excel?
I can modify elements within a SafeArray in exactly the manner that you demonstrate, so I think posting your code would be appropriate in this instance. @sinkfaze Here you go... Its not Working. #SingleInstance, Force #NoEnv ListLines Off Process, Priority,%PID% , H fileselectfile, path,,%A_ScriptD...