-
Version 2 Subroutine button 1 is clicked.
Clock 1Clock cycle 10'10 here is the meaning of ten milliseconds, that is, ten milliseconds go once, adjustable. 1000 milliseconds = one second.
Subroutine Clock 1 cycle event.
Local variables count, integer, static.
Count Count 1'Add one for each walk, and the local variables must be ticked static.
If true (count 1000).'If you go 100,000 times, stop.
Clock 1Clock cycle 0
If it's really over.
-
Don't know if you want 100,000 countdowns, or 100,000 seconds countdowns?
After building two clocks, copy the following source code, clock 1 is 100,000 countdowns, and clock 2 is 100,000 seconds countdown.
Version 2 Assembly Window Assembly 1
Assembly variable i, integer.
Assembly variable time.
The subroutine Startup Window is created.
Time takes the start time ().
Clock 1Clock cycle 960'Every second, if you want to count down faster, change to a smaller number.
Clock 2Clock cycle 960
Subroutine Clock 1 cycle event.
i = i + 1
If true (i 100000).
Clock 1Clock cycle 0
Infobox ("Clock has expired, clock 1 has stopped", 0, "stop") if it really ends.
The subroutine Clock 2 cycle event.
If true (take the start time() time (100000 1000).'100000 1000 = 100000 seconds.
Clock 2Clock cycle 0
infobox ("Seconds have expired, clock 2 has stopped", 0, "stop").
-
If you want the clock to stop automatically after how many minutes it runs, you can do it like this;
For the clock of the e language, 1 second s=1000 milliseconds ms version 2 subroutines Process clock minutes, long integer type.
Parameter Minutes, Integer, Reference.
Return (1000 60 minutes).
Version 2 Subroutine Clock Periodic Events.
Clock. Clock cycle 0
-
Two clocks, Clock 1 is your original clock, Clock 2Clock period = 100,000 subroutine clock 2 cycle events.
Clock 1Clock cycle 0
Bonus points.
-
Version 2 Assembly Window Assembly 1
Assembly variables timing, integer.
Subroutine button 1 is clicked.
Clock 1Clock cycle 1000
Subroutine Clock 1 cycle event.
Timing Timing 1000
Launch the window. Title to text (timer 1000) if true (timer 10000).
Clock 1Clock cycle 0
-
Put another clock 2, set the clock period of clock 2 to 3000ms, and write clock 1 in the clock 2 cycle eventClock cycle 0
-
Customize ah, and then convert yourself to milliseconds.
1 day, 24 hours, one hour, 60 minutes, one minute, 60 seconds, 1 second = 1000 milliseconds, write a conversion formula, you can't do it.
-
Clock 1Clock period = to numerical value (Box 1.)Contents) *60000
-
The refresh interval is measured in minutes.
For example, 5 minutes.
Clock 2Clock period = to numerical value (Box 2.)Contents) *60*1000 so that the internal conversion will be fine.
-
.Version 2
Assemblies Window Assembly 1
Assembly Variables Assembly Manual Stop, Logical.
Subroutine button 1 is clicked.
The local variable i, an integer.
The assembly is manually stopped false.
Count the first cycle (1000, i).
Handling event(s).
Delay (10).
If true (assembly manual stop true).
Infobox ("Loop to" to text (i) manually pressed to stop ", 0, ).
Jumping out of the loop ().
If it's really over.
Counting cycle tail ().
Subroutine button 2 is clicked.
The assembly manually stops true.
-
With a clock such as a cycle time of 500 milliseconds.
And then the clock event is what you're going to do.
Clock 1Clock period = 500 means 500 milliseconds, and once the execution cycle = 0 is to stop execution.
Hotkey response events are used to modify the clock cycle.
Method as above: **Write it yourself.
-
.Version 2
Support for the library EAPI
The subroutine Clock 2 cycle event.
If true (to text (take the hour (take the current time () box 1Content and to Text (take the minute (take the current time () box 2contents).
Terminate the process ("the process ID, process name, or window title you want to close").If it's really over.
Subroutine button 1 is clicked.
Clock 2Clock cycle 1000
-
Add a set variable Countdown subroutine Startup window Created Clock 1Clock period = 50 countdown equals 5 subroutines, clock event to timer = countdown -1 if true (countdown = 0) destroy ().
-
Get another clock 2, the clock period is 50000 (5 seconds), and his cycle event:
Version 2: Judgment Start (Clock 1.)Clock cycle 0
Clock 1Clock cycle 1000'Set it up yourself. Default clock 1Clock period 0 See picture:
-
Invoke the subroutine.
Clock 1Clock cycle 0
Delay (5000).
Clock 1Clock period = 1000'1000 write clock cycle.
-
Clock 1Clock cycle 0
or Delay (10).
-
.Version 2
Assemblies Window Assemblies Launches the window.
Assembly variables are ordered, integers.
The subroutine Startup Window is created.
Count 10
Clock 1Clock cycle 1000
Subroutine Clock 1 cycle event.
Counting Counting 1
Output debug text (counted).
If true (count 0).
Output debugging text (Done).
Clock 1Clock cycle 0
-
The timer doesn't stop when the infobox pops up because you put the command "infobox" in "clock 1."Clock period = 0", right? It must be written at the end, otherwise, you will have to press "OK" in the message box to stop the timer.
-
In the loading window, add Clock 1Clock cycle 0 see below**.
Subroutine button 1 is clicked.
Clock 1Clock cycle 5000
Subroutine Clock 1 cycle event.
Load (window 1, false).
Clock 1Clock cycle 0
Note: Clock period 5000 refers to a 5-second countdown.
Hotkey. Registration (Tab 1.)Take the window handle ()0, F1, > register F1 >>>More
If you don't change the program, it won't change. Be careful not to confuse the concepts of system and procedure. The QQ** you wear with the SkinSharp program will not change because your computer** is changed to "classic".
Doesn't the key wizard come with a footstep?,There's this function.,Find it yourself.。
Agree with the upstairs statement that shelling is a good way to do it. As for this tool, you can take a look, but you need to know that it is very likely to be killed and poisoned after packing. It's not very difficult to add shelling, some of them are foolish, just do it all at once or get some sinister tricks, I'll give you an idea. >>>More
Pay attention to the hint - Application Interface Support Library - > System Processing is the command that comes with the easy language itself, if you don't have this command, you can see if there are many support libraries in the above tool support library configuration to see if there are many support libraries that are not checked, if not, select him to the above point OK. >>>More