201009645 ________N 28119twf.doc/e 九、發明說明: 【發明所屬之技術領域】 本發明是有關於-種功能鍵的執行方法,且特別是有 關於-種可以滿足對各種使用者的要求以及提高功能鍵的 使用便利性之功能鍵的執行方法。 【先前技術】 -般來說,大部份的可攜式電腦,除了具備標準的鍵 參盤外’常常也會配置額外的功能鍵,並且這些功能鍵通常 用來執行特定的應用功能,例如是媒體播放的播放 (Play )、停止(Stop )、下一首(Next)、上一首(如咖仙)、 暫停(Pause)等功能,或是快速啟動網頁瀏覽器、即時傳 訊(Instant Messaging,IM)或是媒體播放程式等特定功 月匕。但疋,這些功能鍵大多在電腦設計中,早已預先定義 功能鍵的目的及作用,也就是說這些功能鍵的定義是固定 的’且沒有任何變動的可能性。因此,在這些功能鍵上大 部份會印上對應的功能圖示,以便於讓使用者了解這些功 % 能鍵的定義為何。 雖然’上述於電腦上所設定的功能鍵可以方便讓使用 者使用特定的應用功能,但是,並不適用於所有的使用者。 也就是說’每個使用者所使用到的應用程式各自不同,則 某些的功能鍵將不會被使用者所使用到。因此,若是能提 供使用者更改某些沒有使用到的功能鍵的設定,亦即可以 將功能鍵更改為使用者所需要執行的應用功能,將可以滿 足對各種使用者的要求以及提高功能鍵的使用便利性。 28119twf.d〇c/( 201009645 【發明内容】 本發明提供-種功能鍵的執行方法 各種使用者的要求以及提高魏鍵的使利性。’ · 以本出―種功能__方法’包括下列步驟。 態中讀入狀態旗標。接著,接收功能鍵的 ^編碼。之後,制狀_標是轉於祕預 鲁 ==果:严測結果為是,則執行對應於掃描編碼 —疋=右檢測結果為否,依據自用組態之定義,執 行對應於知描編碼之使用者所設定功能。 下列實ί例中,上述功能鍵的執行方法更包括 下列步驟。首先,提供制者介面。接著,透過上述使用 者介面,接收使用者所輸入之狀態旗標。 ▲在本發明-實施例令,上述在接收使用者所輸入之狀 態旗標的步驟之後更包括將狀態旗標寫人域自用組態 中。 * 本Ϊ明—實施例中’上述在接收使用者所輸入之狀 態的步驟之後更包括透過使时介面 設定的功能。 在本發明-實施例中,上述在接收使用者所設定的功 能的步驟之後更包括將使用者所狀功能寫人至自用組態 中。 本發明藉由使用者介面改變狀態旗標,並且依據狀態 旗標的狀態’而決定延用功能鍵原本的預定魏或是使用 201009645 / 使用者所設定功能。如此一來,可以滿足對各種使用者的 要求以及提南功能鍵的使用便利性。 、 為讓本發明之上述特徵和優點能更明顯易懂,下文特 舉實施例,並配合所附圖式,作詳細說明如下。 、 【實施方式】 圖1繪示為本發明一實施例之功能鍵的執行方法流程 圖。本實施例之功能鍵的執行方法適用於電腦系統。請參 照圖卜首先,在步驟中,從自用組態(conflgurat^) 中讀入狀態旗標(flag)。於本實施例中,前述自用組態可以 被記錄在系統的註冊表(registry)中。在其他實施甲,前述 自用組態也可能會以電子檔案的形式被記錄在磁碟機中。 電腦系統會藉由自用組態中所讀入狀態旗標的狀態,作為 要執行預設定義的功能或是使用者所設定之功能^依據。 舉例來說’假設從自用組態中讀入狀態旗標的狀態為「〇」, 表示當使用者按壓某一功能鍵後,電腦系統會執行該功能 鍵預設定義的功能。若是狀態旗標的狀態為「丨」,表示當 • 使用者按壓功能鍵後,電腦系統便會執行使用者所設定之 功能。 在步驟S102中,接收功能鍵的掃描編碼(scanc〇de)。 此掃描編碼例如經由一使用者按壓功能鍵後所產生的。之 後,在步驟S103中,檢測狀態旗標是否等於系統預設值, 以產生檢測結果。在本實施例中,假設系統預設值為「〇」。 也就是說,當電腦系統接收到掃描編碼時,會檢測狀態旗 標語系統預設值的關係,若是狀態旗標為「丨」,系統預設 201009645 28ll9twf.d〇c/e 自^《A&」亦即檢測結果為否,則進行步驟Sl〇4,依據 此。之疋義,執行對應於掃描編碼之使用者所設定功 此、°電腦系_如從自用組態中賊的—對照表中,找到 士述對應於掃描編碼之使用者所設定功能,並且執行使用 者所設定功能。 「承接上述步驟S103 ’若是狀態旗標與系統預設值皆為 〇#」,亦即檢測結果為是,則進入步驟sl〇5,執行對應 _ 於掃為編碼之預定功能。如此-纟,本實施例所提供之功 能鍵的執行方法可以滿足對各種使用者的要求以及提高功 能,的使用便利性。也就是說,是用者可以視其需求自行 決定要使用功能鍵原本的預定功能或是使用自己所需的功 能。 為了更清楚地描述上述功能鍵的執行方法的各步驟, 以下再舉一實施例來說明本發明之功能鍵的執行方法的詳 細流程。圖2繪示為本發明另一實施例之功能鍵的執行方 龜 法流程圖。圖3繪示為本發明一實施例之使用者介面的示 • 意圖。請先參照圖3,標號301表示使用者介面3〇〇的系 統預疋選項。標號302表示使用者介面300的使用者定^ 選項。標號303表示功能鍵的原始功能顯示區域。標號3〇4 表示下拉選單’且使用者可以於下拉選單3〇4中選取預設 執行之程式,來改變功能鍵的功能。標號3〇5表示劉覽選 項,且使用者可以藉有瀏覽選項305來設定「特定按鍵被 按下後’且判斷為系統定義按鍵後」之執行檔路徑,以改 變功能鍵的功能。也就是說,當使用者於瀏覽選項3〇5設 201009645 viovi^u.j. v/ 28119twf.doc/e 定好上述執行檔路徑後,且系統確認功能鍵的原先功能已 經改變且使用者再按壓原先功能已改變的功能鍵後,系統 就會依據上述執行檔路徑而產生對應之功能。201009645 ________N 28119twf.doc/e IX. Description of the Invention: [Technical Field] The present invention relates to a method for performing a function key, and particularly relates to a variety of users and requirements for improving various functions. The method of executing the function keys of the convenience of the key. [Prior Art] In general, most portable computers, in addition to the standard keyboard, often have additional function keys, and these function keys are usually used to perform specific application functions, such as Is the playback of the media (Play), Stop (Stop), Next (Next), Previous (such as coffee), Pause (Pause) and other functions, or quickly launch web browser, instant messaging (Instant Messaging , IM) or a specific player such as a media player. However, most of these function keys are in the computer design, and the purpose and function of the function keys have been pre-defined, that is, the definition of these function keys is fixed' and there is no possibility of any change. Therefore, most of the function keys will be printed with corresponding function icons to help the user understand the definition of these functions. Although the above-mentioned function keys set on the computer can easily allow the user to use a specific application function, it is not suitable for all users. In other words, the application functions used by each user are different, and some of the function keys will not be used by the user. Therefore, if the user can change the settings of some unused function keys, that is, the function keys can be changed to the application functions that the user needs to perform, which can satisfy the requirements of various users and improve the function keys. Convenience. 28119twf.d〇c/(201009645 SUMMARY OF THE INVENTION The present invention provides a method for executing a function key and various user requirements and improves the profitability of the Wei key. '· The present-style function __method includes the following Step: Read the status flag in the state. Then, receive the ^ code of the function key. After that, the standard _ mark is transferred to the secret pre-ru== fruit: if the rigorous result is YES, the execution corresponds to the scan code-疋= If the result of the right detection is no, the function corresponding to the user of the description code is executed according to the definition of the self-use configuration. In the following example, the execution method of the above function key further includes the following steps. First, the maker interface is provided. Then, the status flag input by the user is received through the user interface. ▲ In the embodiment of the present invention, the step of receiving the status flag input by the user further includes writing the status flag for personal use. In the configuration, in the embodiment, the above-mentioned step of receiving the state input by the user further includes a function of setting through the time interface. In the present invention - the above-mentioned connection The step of the function set by the user further includes writing the function of the user to the self-use configuration. The invention changes the status flag by the user interface, and decides to extend the function key according to the status of the status flag. The original reservation Wei or use the 201009645 / user-set function. In this way, the requirements for various users and the ease of use of the function keys of the Tynan can be satisfied. In order to make the above features and advantages of the present invention more obvious BRIEF DESCRIPTION OF THE DRAWINGS FIG. 1 is a flow chart showing a method for executing a function key according to an embodiment of the present invention. The execution method of the key is applicable to the computer system. Please refer to the figure. First, in the step, the status flag is read from the self-use configuration (conflgurat^). In this embodiment, the aforementioned self-use configuration can be recorded. In the registry of the system. In other implementations A, the aforementioned self-contained configuration may also be recorded in the disk drive in the form of an electronic file. The status of the status flag read in the self-use configuration is used as the function to perform the preset definition or the function set by the user. For example, 'Assume that the status flag is read from the self-use configuration. "," means that when the user presses a function key, the computer system will perform the function defined by the function key preset. If the status flag status is "丨", it means that when the user presses the function key, the computer system will The function set by the user is executed. In step S102, the scan code of the function key is received (scanc〇de). This scan code is generated, for example, after a user presses the function key. Thereafter, in step S103, the status is detected. Whether the flag is equal to the system preset value to generate a detection result. In this embodiment, it is assumed that the system default value is "〇". That is to say, when the computer system receives the scan code, it will detect the relationship between the preset values of the status flag system. If the status flag is "丨", the system presets 201009645 28ll9twf.d〇c/e from ^"A& That is, if the detection result is no, step S1〇4 is performed, according to which.疋 , , , , , , , , , , , , , , 对应 对应 对应 对应 对应 对应 对应 对应 对应 对应 对应 对应 对应 对应 对应 对应 对应 对应 对应 对应 对应 对应 对应 对应 对应 对应 对应 对应 对应 对应 对应 对应 对应The function set by the user. If the status flag and the system preset value are both 〇#", that is, if the detection result is YES, the process proceeds to step s1〇5, and the predetermined function corresponding to _scan is encoded. Thus, the method of executing the function keys provided in this embodiment can satisfy the requirements for various users and improve the usability of the functions. That is to say, the user can decide to use the original function of the function key or use the function he needs according to his or her own needs. In order to more clearly describe the steps of the above-described method of executing the function keys, an embodiment will be further described below to explain the detailed flow of the method of executing the function keys of the present invention. 2 is a flow chart showing an execution method of a function key according to another embodiment of the present invention. 3 is a schematic illustration of a user interface in accordance with an embodiment of the present invention. Referring first to Figure 3, reference numeral 301 denotes a system pre-emption option for the user interface. Reference numeral 302 denotes a user setting option of the user interface 300. Reference numeral 303 denotes an original function display area of the function key. The label 3〇4 indicates the pull-down menu' and the user can select the preset execution program from the drop-down menu 3〇4 to change the function of the function key. The symbol 3〇5 indicates the menu option, and the user can use the browse option 305 to set the execution path of the “after the specific button is pressed and judged to be the system-defined button” to change the function of the function button. That is to say, when the user sets the above execution path in the browsing option 3〇5 201009645 viovi^uj v/ 28119twf.doc/e, and the system confirms that the original function of the function key has been changed and the user presses the original function again After changing the function key, the system will generate the corresponding function according to the above-mentioned execution file path.
請合併參照圖2與圖3,首先,在步驟S201中,提供 使用者介面300。接著,在步驟S202中,透過使用者介面 300,接收使用者所輸入之狀態旗標。也就是說,當使用者 選取使用者介面300的系統預定選項301時,則表示使用 者所輸入的狀癌旗標的狀態為「〇」,而當使用者選取使用 者介面300的系統使用者定義選項302時,則表示使用者 所輸入狀態旗標的狀態為「1」,但不限制其範圍。 在步驟S203中,透過使用者介面3〇〇,接收使用者所 設定功能。在本實施例中,使用者可以藉由使用者介面3〇〇 中的下拉選單304或是瀏覽選項3〇5進行功能鍵的設定, 舉例來說,假設於標號303之第—項中的「Launcher」為 功旎鍵原本的預定功能,使用者可以經由下拉選單3〇4所 定義好的功能或是經由瀏覽選項3〇5選取所需要的功能, 以改變功諸原本的預定魏,例如將「Launeher」功能 改變為「信箱開啟」功能。藉此’當使用者按壓「[麵⑽」 的功能鍵時’電腦系統將會執行「信箱開啟」功能, 信箱開啟。 之後,在步驟’巾’將狀態旗標寫人至自用組態 中。亦即’將狀態旗標的狀態「〇」或Γ1」寫入至自用組 f I要使㈣統原本的預定功能或是 使用者疋義功能的依據。 9 28119twf.d〇c/e 201009645 接著’在步驟S205中,將使用者所設定的功能寫入 用組態中。例如將「信箱開啟」功能寫入至自用組態 中以便於讓原本執行「Launcher」功能改變為執行「信 箱開啟」功能。 日=在步驟S206中,從自用組態中讀入狀態旗標。也就 =說,電腦系統會藉由自用組態中所讀入狀態旗標的狀 態’作為要執行預設定義的功能或是使用者所設定之功能 鲁 。舉例來說’假設從自用組態中讀入狀態旗標的狀 ,表示當使用者按壓功能鍵後,電腦系統會執行 義的功能。若是從自賴態巾所讀人狀祕標的狀 二二《/」,表示當使用者按壓功能鍵後,電腦系統便會執 仃使用者所設定之功能。 綱S2G7巾接收功能鍵的掃描編碼。此掃描編 驟使用者按壓功能鍵後所產生的。之後,在步 施例中檢測狀態旗標是否等於系統預設值。在本實 接二播„預設值為「°」。也就是說,當電腦系統 俜,若B:::時’产檢測狀態旗標語系統預設值的關 :4;:,為lj ’系統預設值為「〇」,亦即檢 /只J、、。果為否,則進行步驟S2〇() 2應於掃描編碼之使用者所設定::用 能,也就是「信箱開啟」功能巧使用者所汉疋的功 以便於將信箱開啟。 竹佗相開啟」功能, v 28119twf.doc/e 201009645 「〇承tt^,S2〇8’若是狀態旗標與系統預設值皆為 」’亦A測結果為是’則進人步驟_,執行對應 預f功能:亦即「“·」功能。另外, 於自用έ 於狀雜標與使用者所設定功能是存放 二箱:I。料需要重新開機,即可改變功能鍵原 行方法^ t如此—來本實施騎提供之功能鍵的執 ί各種使用者的要求以及提高功能鍵的使 更利性。也就疋說’是用者可以視其需 用功Ϊ鍵縣的預定功能或是㈣自已所㈣功能。 光所,’本實施鑛域用者介面改變狀態旗標, 、據狀態旗標的狀態’而決定功能鍵延用原本的預定 或是使用使用者所設定之功能。另外,本實施例藉由 =組態來存放狀態旗標與使用者所設定的功能,因此不 而要重新開機即可改變功能鍵原始的設定。如此一來,可 =滿足對各種制者的要求以及提高魏_使用便利 性0 雖然本發明已以實施例揭露如上,然其並非用以限定 本發明,任何所屬技術領域中具有通常知識者在不脫離 t發明之精神和範圍内,當可作些許之更動與潤飾,因此 =發明之保護範圍當視後附之申請專利範圍所界定者為 【圖式簡單說明】 圖。圖1繪示為本發明-實施例之功能鍵的執行方法流程 11 201009645 28119twf.doc/e 圖2纟會不為本發明另一實施例之功能鍵的執行方法、、宁 程圖。 抓 圖3繪示為本發明一實施例之使用者介面的示意圖。 【主要元件符號說明】 ° S101〜S105 :本發明一實施例之功能鍵的執行方法各 步驟 S201〜S210 :本發明另一實施例之功能鍵的執行方各 步驟 300 :使用者介面 301 :系統預定選項 302 :使用者定義選項 303 :功能鍵的原始功能顯示區域 304 :下拉選單 305 :瀏覽選項 12Referring to FIG. 2 and FIG. 3 together, first, in step S201, a user interface 300 is provided. Next, in step S202, the status flag input by the user is received through the user interface 300. That is to say, when the user selects the system reservation option 301 of the user interface 300, it indicates that the status of the cancer flag entered by the user is "〇", and when the user selects the system user definition of the user interface 300. In the case of option 302, the status flag of the status flag input by the user is "1", but the range is not limited. In step S203, the function set by the user is received through the user interface 3〇〇. In this embodiment, the user can set the function key by using the pull-down menu 304 or the browsing option 3〇5 in the user interface, for example, in the first item of the label 303. "Launer" is the original function of the function key. The user can change the function of the original selection by selecting the function defined by the menu 3〇4 or by browsing the option 3〇5, for example, The "Launeher" function has been changed to the "Mailbox On" function. By this, when the user presses the [Face (10)" function button, the computer system will perform the "Mailbox On" function and the mailbox will be opened. After that, the status flag is written to the self-contained configuration in step 'towel'. That is, the state of the status flag "〇" or Γ1" is written to the self-use group f I to make (4) the original predetermined function or the basis of the user's ambiguous function. 9 28119twf.d〇c/e 201009645 Next, in step S205, the function set by the user is written in the configuration. For example, the "Mailbox On" function is written to the self-contained configuration so that the original "Launcher" function can be changed to perform the "Mailbox On" function. Day = In step S206, the status flag is read from the self-use configuration. In other words, the computer system will use the state of the status flag read in the self-use configuration as the function to perform the preset definition or the function set by the user. For example, it is assumed that the state flag is read from the self-use configuration, indicating that the computer system performs the function when the user presses the function key. If the character "22" is read from the self-reported towel, it means that when the user presses the function key, the computer system will perform the function set by the user. The S2G7 towel receives the scan code of the function keys. This scan is generated by the user after pressing the function key. Then, in the step instance, it is detected whether the status flag is equal to the system preset value. In the actual second broadcast, the default value is "°". That is to say, when the computer system is paralyzed, if B:::, the default value of the detection status flag system is: 4;:, for lj 'the system default value is "〇", that is, check / only J ,,. If no, step S2〇() 2 should be set by the user who scans the code: the function, that is, the “mailbox open” function, is used by the user to facilitate the opening of the mailbox. "Bamboo 佗 phase open" function, v 28119twf.doc/e 201009645 "〇承 tt^, S2〇8' if the status flag and the system default value are both" 'also A test result is yes' then enter step _, Execute the corresponding pre-f function: that is, the "" function. In addition, the self-use 状 杂 杂 与 与 and the user set function is to store two boxes: I. The material needs to be restarted, and the original function method of the function key can be changed. Thus, the function keys of the implementation of the riding function are various user requirements and the function keys are improved. In other words, it is said that the user can use the predetermined function of the key county or (4) the function of the self. In the light, the mine user interface changes the status flag, and according to the state of the status flag, the function key is determined to extend the original reservation or use the function set by the user. In addition, the present embodiment stores the status flag and the function set by the user by = configuration, so the original setting of the function key can be changed without restarting. In this way, the requirements of the various manufacturers can be satisfied and the usage is improved. Although the present invention has been disclosed in the above embodiments, it is not intended to limit the present invention, and any one of ordinary skill in the art has Without departing from the spirit and scope of the invention, some modifications and refinements may be made. Therefore, the scope of protection of the invention is defined by the scope of the appended patent application. 1 is a flow chart showing a method for executing a function key according to an embodiment of the present invention. 11 201009645 28119 twf.doc/e FIG. 2 is a flowchart showing an execution method and a function diagram of a function key according to another embodiment of the present invention. 3 is a schematic diagram of a user interface according to an embodiment of the present invention. [Description of Main Element Symbols] ° S101 to S105: Method for Executing Function Keys According to an Embodiment of the Present Invention Steps S201 to S210: Execution of Function Keys of Another Embodiment of the Present Invention Step 300: User Interface 301: System Schedule Option 302: User Defined Option 303: Original Function Display Area of Function Key 304: Drop Down Menu 305: Browse Option 12