CN1369799A - Method for atomatically obtaining ID vale of controware in volume control program - Google Patents

Method for atomatically obtaining ID vale of controware in volume control program Download PDF

Info

Publication number
CN1369799A
CN1369799A CN 01102986 CN01102986A CN1369799A CN 1369799 A CN1369799 A CN 1369799A CN 01102986 CN01102986 CN 01102986 CN 01102986 A CN01102986 A CN 01102986A CN 1369799 A CN1369799 A CN 1369799A
Authority
CN
China
Prior art keywords
control
volume control
control program
identity value
volume
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN 01102986
Other languages
Chinese (zh)
Other versions
CN1172259C (en
Inventor
陈玄同
林光信
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Inventec Corp
Original Assignee
Inventec Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Inventec Corp filed Critical Inventec Corp
Priority to CNB011029862A priority Critical patent/CN1172259C/en
Publication of CN1369799A publication Critical patent/CN1369799A/en
Application granted granted Critical
Publication of CN1172259C publication Critical patent/CN1172259C/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Stored Programmes (AREA)

Abstract

The invention relates to a method for automatic capturing identification code of a control in volume control program. The method includes starting the volume control program, testing a control and calcualting the ID value of a control. (1) Starting the volume control program is to start the volume control program selected from working list of Windows or starting program set. (2) Testing a control is to lookup at control panel of the volume control program to find out whether desired control is existed or not; if the control exists, the ID value is captured. (3). Calculating the ID value of a control is to calculate values of volume adjustment and left or right track as well as mute.

Description

Automatically obtain the method for the identification code numerical value of control in the volume control program
The present invention relates to a kind of method of obtaining the identification code numerical value of control in the control program automatically, especially automatically obtain the identification code numerical value of control in the volume control program, the present invention is applicable to the computer of various hardware configuration and windowing environment, can guarantee that the shipment computer has consistent identification code numerical value.
Software in the computer and workbench, for example the windowing software of Microsoft has many default control options, the standard specification when this default control option promptly is the computer shipment.Yet, all be to utilize manual the setting to make the control option become preset state traditionally by operator or detection person.
Yet, before the control option of adjusting aspect the computer sound, for example adjusting volume, left and right acoustic channels and option such as quiet, operating personnel only obtain the window identification code (ID) of the relevant control of volume control program when carrying out trace routine, could operate it.Yet the window identification code of control obtains via its identification code numerical value.In the prior art, though can utilize the window identification code numerical value that obtains control manually, but have many defectives, for example because the layout difference of the panel of volume control program, it is not changeless causing the propaganda material identity value of control, therefore need manually layout is become and detect discernible layout, if need to detect a large amount of computers, then needing to drop into a large amount of time carries out the adjustment of layout.In addition, when adopting the mode of artificial adjustment layout,, then can cause the testing result mistake if adjusted layout is not an order according to the rules.Moreover, because be to adopt manual mode to obtain the ID value, therefore can cause work efficiency very poor.And, owing to need artificial the participation, so the difference on everyone operating habit can make that workflow can not standardization.The manual intervention rate height that also can make the mistake, when detecting the computer of different language, the very possible mistake of selecting because of language obstacle, or leak and select etc., all can cause final testing result mistake.Therefore, need a kind of method that can obtain the ID value of control in the volume control program automatically, so as to improving the shortcoming of prior art.
Therefore, one object of the present invention is for providing a kind of method that can obtain the ID value of control in the volume control program automatically, the shortcoming that is produced so as to solving above-mentioned classic method effectively.
Another object of the present invention is to provide a kind of method of obtaining the ID value of control in the volume control program automatically, can avoid manually-operated loaded down with trivial details and error.
Another object of the present invention is to provide a kind of method of obtaining the ID value of control in the volume control program automatically, can will detect the steps flow chart standardization.
A further object of the present invention is the method for the ID value that a Cheng Zidong is provided obtains control in the volume control program, can improve the accuracy and the work efficiency of the detection step in the adjustment process.
A further object of the present invention has goodish versatility and can be widely applicable on various computers and the hardware for a kind of method of obtaining the ID value of control in the volume control program automatically is provided, and can not be subjected to the restriction of computer kind and hardware configuration.
According to above-mentioned purpose of the present invention, the invention provides a kind of method of obtaining the identity value of control in the volume control program automatically, comprise at least: open a volume control program; Detect a control; And the identity value of calculating another control.
Wherein, above-mentioned unlatching volume control program more comprises judges that an icon that has or not this volume control program on the working line exists, if this icon of this volume control program is arranged on this working line, then opens this volume control program, so as to opening a volume control panel.
If there is not this icon of this volume control program on this working line, then seeks at the beginning and have or not a shortcut of this volume control program to exist on the function program table.If this begins to have on the function program table shortcut of this volume control program to exist, then open this volume control program, so as to opening a volume control panel.Do not exist if there is this shortcut of this volume control program on this working line, then finish.
In addition, above-mentioned detection control step also comprises the following steps: to read a control and describes message; And judge in the control of a volume control panel and whether meaningfully to describe the identical person of message with this control.If, if the result of this determining step, then obtains an identity value of this control certainly, so as to calculating the identity value of another control.
Preferred embodiment of the present invention will be aided with following accompanying drawing and do more detailed elaboration in the following description literal:
Fig. 1 is the expression process flow diagram that obtains the ID value of control in the volume control program automatically of the present invention;
Fig. 2 is the process flow diagram of the unlatching volume control program of expression the inventive method;
Fig. 3 is the process flow diagram that expression control of the present invention detects; And
Fig. 4 represents that the present invention calculates the process flow diagram of the ID value of control.
10 open the volume control program
12 detect control
14 calculate the ID value of control
20 judgment tasks list and have or not volume control icon
22 open the volume control program
24 beginning menu procedure sets have or not volume control icon
30 read controls are described message
To describe message identical with control for the control of 32 comparison volume control panels
34 obtain the ID value of this control
40 nID are the ID value of the control that obtained
The ID that 42 volumes are regulated control is nID-1
The ID of 44 left and right acoustic channels controls is nID-2
The ID of 46 quiet controls is nID-3
The method of the ID value of control in the automatic acquisition volume control program of the present invention is by three Key step forms, and comprises the ID that opens volume control program, control detection and calculate control Three steps such as value. First step is to open the volume control program, just for example from Microsoft In the beginning catalogue of form, open the volume control program. Second step is that control detects, also Search exactly the control of wish planning at the control panel of volume control program, MIDI for example, Whether exist. Then obtain its ID value if find this control existence. The 3rd step is to calculate control The ID value of part, just utilize the ID value of the control obtain come compute volume regulate, about The ID value of sound channel and the control such as quiet. In addition, it should be noted that automatic acquisition of the present invention The method of the ID value of control in the volume control program has more than and is defined in the automatic acquisition sound The ID value of control in the amount control program, the present invention also can be used for automatic acquisition other control journeys The ID value of control in the order.
The method and the detailed embodiment explanation that solve known problem as for the present invention are then as described below:
If user or operator need to detect automatically the volume control option of computer, for example MIDI volume height, left and right acoustic channels and quiet, then can utilize the method disclosed in the present to reach, certain application of the present invention is not limited to above-mentioned three kinds of volumes control option, and the present invention is applicable to any volume control option.
At first please refer to Fig. 1, Fig. 1 is the expression process flow diagram that obtains the ID value of control in the volume control program automatically of the present invention.Method of the present invention mainly is divided into three big execution in step, comprises three steps such as ID value 14 of opening volume control program 10, control detection 12 and calculating control.
First step 10 is to open the volume control program, just from " " catalogue of Microsoft's Window or utilize other shortcuts, unlatching volume control program.
Second step 12 is that control detects, and whether the control of seeking desire planning exists, and then obtains its ID value if this control of discovery exists.
The 3rd step 14 is to calculate the ID value of control, and the ID value of the control that utilization is just obtained is come the ID value of compute volume adjusting, left and right acoustic channels and control such as quiet.
Wherein, the step 10 of Fig. 1, the detailed process of opening the volume control program then is shown among Fig. 2.
Fig. 2 is the process flow diagram of expression unlatching volume control program of the present invention.Please refer to Fig. 2, at first, as step 20, automatically judge the distinguished symbol that on form desktop or the working line (Tragbar) whether the pattern identification of volume control program is arranged or correspond to the volume control program, if the pattern identification or the distinguished symbol that have then utilization to find are opened volume control program 22, so as to demonstrating volume control program panel, finish this flow process then.
If determining step 20 is not found the pattern identification of volume control program, then carry out step 24, the beginning menu procedure set of seeking form has or not the relevant shortcut of volume control program to exist, if finding the relevant shortcut of volume control program exists, then carry out step 22, open the volume control program, then carry out next step, that is control shown in Figure 1 detection step 12, its detailed step is then as shown in Figure 3.If this seeks step 24 and does not find any shortcut is arranged corresponding to the volume control program yet, then represents this computer software that this volume control function is not provided, therefore can directly finish this flow process.
The step 12 of Fig. 1, the flow process that control detects then is shown among Fig. 3, and is described in detail as follows.
Fig. 3 is the process flow diagram that expression control of the present invention detects.At first, carry out the read step 30 that control is described message, read control is described message, for example caption text etc.Then, carry out determining step 32, judge in the Static of volume control panel control and whether meaningfully to describe the identical person of message with control.If the ID value that then can obtain this control is arranged, as step 34.Carry out the step 14 of Fig. 1 then, the flow process that Fig. 4 illustrated just is so as to calculating the ID value of this control.
If the result of determining step 32, be not meaningful in the control on the volume control panel be that to describe message identical with control, then expression not this control exist, therefore can finish this flow process.
The step 14 of Fig. 1, the flow process of calculating the ID value of control then is shown among Fig. 4, and is described in detail as follows.
Fig. 4 is the process flow diagram that expression the present invention calculates the ID value of control.Please refer to Fig. 4, calculate the method for the ID value of control, as shown in Figure 4, wherein set nID and be the ID value of the control that is obtained, as step 40, then, carry out step 42,44 and 46 in regular turn, setting volume respectively, to regulate the ID of control be that the ID of nID-1, left and right acoustic channels control is that the ID of nID-2, quiet control is nID-3.So, can be by the ID value of the control that is obtained, come the ID value of compute volume adjusting, left and right acoustic channels and control such as quiet.
In sum, therefore, a kind of method that can obtain the ID value of control in the volume control program automatically of the present invention, the shortcoming that is produced so as to solving above-mentioned classic method effectively.
A kind of method of obtaining the ID value of control in the volume control program automatically of the present invention can be avoided manually-operated loaded down with trivial details and error.
A kind of method of obtaining the ID value of control in the volume control program automatically of the present invention can be with the testing process standardization.
A kind of method of obtaining the ID value of control in the volume control program automatically of the present invention can improve the accuracy and the work efficiency of the detection step in the adjustment process.
A kind of method of obtaining the ID value of control in the volume control program automatically of the present invention has goodish versatility, can be widely applicable on various computers and the hardware, can not be subjected to the restriction of computer kind and hardware configuration.
The above is preferred embodiment of the present invention only, is not in order to limit protection scope of the present invention; All other do not break away from the equivalence of being finished under the spirit disclosed in this invention and changes or modification, all should be included in the following protection domain.

Claims (19)

1. method of obtaining the identity value of control in the volume control program automatically comprises at least:
Open the volume control program;
Detect control; And
Calculate the identity value of another control.
2. the method for obtaining the identity value of control in the volume control program automatically as claimed in claim 1, wherein above-mentioned unlatching volume control program comprise that also judgment task lists the icon that has or not this volume control program and exists.
3. the method for obtaining the identity value of control in the volume control program automatically as claimed in claim 2 wherein if this icon of this volume control program is arranged on this working line, is then opened this volume control program, so as to opening the volume control panel.
4. the method for obtaining the identity value of control in the volume control program automatically as claimed in claim 2 wherein if there is not this icon of this volume control program on this working line, is then sought the shortcut existence that has or not this volume control program on the beginning function program table.
5. the method for obtaining the identity value of control in the volume control program automatically as claimed in claim 4 wherein if this begins to have on the function program table shortcut of this volume control program to exist, is then opened this volume control program, so as to opening the volume control panel.
6. the method for obtaining the identity value of control in the volume control program automatically as claimed in claim 4 wherein if not having this shortcut of this volume control program on this working line exists, is then carried out end step.
7. the method for obtaining the identity value of control in the volume control program automatically as claimed in claim 4 wherein if this begins not have on the function program table this shortcut existence of this volume control program, is then carried out end step.
8. the method for obtaining the identity value of control in the volume control program automatically as claimed in claim 1, wherein above-mentioned detection control step also comprises the following steps:
Read control is described message;
Judge in the control of volume control panel and whether meaningfully to describe the identical person of message with this control.
9. the method for obtaining the identity value of control in the volume control program automatically as claimed in claim 8 if wherein the result of this determining step certainly, is then obtained the identity value of this control, so as to calculating the identity value of another control.
10. the method for obtaining the identity value of control in the volume control program automatically as claimed in claim 8 if wherein the result of this determining step negates, is then carried out end step.
11. the method for obtaining the identity value of control in the volume control program automatically as claimed in claim 9, the step of the identity value of wherein above-mentioned another control of calculating comprises that this identity value of setting this control is nID.
12. as the method for obtaining the identity value of control in the volume control program automatically of claim 11, the step of the identity value of wherein above-mentioned another control of calculating comprises that the identification code of setting volume regulating and controlling control is nID-1.
13. as the method for obtaining the identity value of control in the volume control program automatically of claim 12, the step of the identity value of wherein above-mentioned another control of calculating comprises that the identification code of setting the left and right acoustic channels control is nID-2.
14. as the method for obtaining the identity value of control in the volume control program automatically of claim 13, the step of the identity value of wherein above-mentioned another control of calculating comprises that the identification code of setting quiet control is nID-3.
15. a method of obtaining the identity value of control in the volume control program automatically comprises at least:
Start the volume control program, to show the volume control panel;
Read control is described message;
Whether comparing this control, to describe message identical with the control of this volume control panel;
If this comparison result is then obtained the identity value of this control for certainly; And
Utilize this identity value to calculate the identity value of another control.
16. as the method for obtaining the identity value of control in the volume control program automatically of claim 15, wherein above-mentioned control is the MIDI control.
17. as the method for obtaining the identity value of control in the volume control program automatically of claim 16, another wherein above-mentioned control is that volume is regulated control.
18. as the method for obtaining the identity value of control in the volume control program automatically of claim 16, another wherein above-mentioned control is the left and right acoustic channels control.
19. as the method for obtaining the identity value of control in the volume control program automatically of claim 16, another wherein above-mentioned control is quiet control.
CNB011029862A 2001-02-12 2001-02-12 Method for atomatically obtaining ID vale of controware in volume control program Expired - Fee Related CN1172259C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB011029862A CN1172259C (en) 2001-02-12 2001-02-12 Method for atomatically obtaining ID vale of controware in volume control program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB011029862A CN1172259C (en) 2001-02-12 2001-02-12 Method for atomatically obtaining ID vale of controware in volume control program

Publications (2)

Publication Number Publication Date
CN1369799A true CN1369799A (en) 2002-09-18
CN1172259C CN1172259C (en) 2004-10-20

Family

ID=4653097

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB011029862A Expired - Fee Related CN1172259C (en) 2001-02-12 2001-02-12 Method for atomatically obtaining ID vale of controware in volume control program

Country Status (1)

Country Link
CN (1) CN1172259C (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100507845C (en) * 2007-09-24 2009-07-01 北大方正集团有限公司 Creation method of editing controls component capable of setting multiple range interval

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100507845C (en) * 2007-09-24 2009-07-01 北大方正集团有限公司 Creation method of editing controls component capable of setting multiple range interval

Also Published As

Publication number Publication date
CN1172259C (en) 2004-10-20

Similar Documents

Publication Publication Date Title
US6687875B1 (en) Table editing apparatus
US6981242B2 (en) System and method for developing custom operator-specific software-applications
CN102047225B (en) Priority controller and priority control method
CN1484790A (en) Method and apparatus for exercising an unknown program with a graphical user interface
CN1805007A (en) Method and apparatus for detecting speech segments in speech signal processing
CN1156777C (en) Method and apparatus for regulating partner-intervals
CN1534461A (en) System structure used for dynamic increasing software parts in order to expand system process function and ralated method
CN1964541A (en) Method for running application and mobile terminal thereof
CN113779585A (en) Unauthorized vulnerability detection method and device
CN1172259C (en) Method for atomatically obtaining ID vale of controware in volume control program
CN1790257A (en) Method for uniformly configuring configuration files
US7500238B2 (en) Method and system for installing a software platform onto a computer system
US8595205B2 (en) Device and method for managing search conditions
CN1838136A (en) Method for searching harmful program in computer memory device
CN115622829B (en) Smart home Internet of things interaction platform building method and system
CN1632734A (en) Icon control method of display system
CN1392477A (en) Automatic file opening system and method
CN1279446C (en) Balancing method for computer pressure test
CN1369787A (en) Test tool loading and managing method for test system
CN1475900A (en) Method and device for controlling display apparatus
CN1570884A (en) Multiple operating system boot loading method
CN101046827A (en) Port defining system and method
JP2002005940A (en) Data management device of instrument for analysis
CN113379586B (en) Method and system for disposing digital watermark of compatible application under screen digital watermark
CN1737768A (en) Method and apparatus for internal memory data base synchronous data

Legal Events

Date Code Title Description
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
C17 Cessation of patent right
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20041020

Termination date: 20110212