JP2004135003A - Information processor - Google Patents

Information processor Download PDF

Info

Publication number
JP2004135003A
JP2004135003A JP2002296717A JP2002296717A JP2004135003A JP 2004135003 A JP2004135003 A JP 2004135003A JP 2002296717 A JP2002296717 A JP 2002296717A JP 2002296717 A JP2002296717 A JP 2002296717A JP 2004135003 A JP2004135003 A JP 2004135003A
Authority
JP
Japan
Prior art keywords
macro
registered
character string
key
external device
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
JP2002296717A
Other languages
Japanese (ja)
Other versions
JP3765299B2 (en
Inventor
Katsunori Ishiyama
石山 勝則
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.)
Murata Machinery Ltd
Original Assignee
Murata Machinery Ltd
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 Murata Machinery Ltd filed Critical Murata Machinery Ltd
Priority to JP2002296717A priority Critical patent/JP3765299B2/en
Publication of JP2004135003A publication Critical patent/JP2004135003A/en
Application granted granted Critical
Publication of JP3765299B2 publication Critical patent/JP3765299B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To provide an information processor that can confirm the registerer of a registered macro even when the processor is shared, promote use of the macro and realize easy editing of the macro. <P>SOLUTION: A series of operations that a user performs by using an operation part 1 can be registered as a macro. The registerer name, registration time, etc., are also registered. When one macro is modified, the macro is selected and then the registerer of the macro etc., is displayed at a display part 2. Consequently, a user is able to inquire whether a macro is registered by oneself or inquire the contents of a macro of the registerer. Further provided is a function of outputting a registered macro as a character string from an interface part 6 to external equipment and registering a character string received from the external equipment through the interface part 6 as a macro to easily edit or prepare a macro. <P>COPYRIGHT: (C)2004,JPO

Description

【0001】
【発明の属する技術分野】
本発明は、ユーザが行った一連の操作をマクロとして登録しておき、登録されているマクロを用いて少ない操作で処理を実行可能な情報処理装置に関するものである。
【0002】
【従来の技術】
従来より、例えば文書編集装置などにおいては、一連の操作をマクロとして記憶しておき、必要に応じて所定のキーに割り付けておく機能が設けられている。そしてマクロを実行させることによって、記憶されている一連の操作を順次自動的に実行させることができる。一般にマクロの情報を記憶する場合には、装置内部での使用のみを想定しているため、内部コードなどによって記憶している場合が多い。
【0003】
また、特許文献1に記載されているように、工作機械などにおいても、動作をプログラムする際に一連の動作をマクロとして登録しておき、そのマクロをサブプログラムとして利用することも考えられている。
【0004】
さらに、通信装置などでもマクロが利用されており、例えば特許文献2に記載されているパソコン通信の例では、通信手順を自動化するためにマクロが用いられている。
【0005】
上述のように特許文献2では通信手順について自動化しているが、例えばファクシミリ装置などの通信装置では、ユーザが装置に対して行う操作をマクロ化して登録しておく機能が搭載されるようになってきている。近年、これらの通信装置では高機能化が進み、ユーザによる操作も複雑化している。そのため、複雑な操作を簡略化するためにマクロ登録の機能は有用である。
【0006】
このようなファクシミリ装置などの通信装置は、複数のユーザによって共用される。そのため、マクロが登録されていても、そのマクロを誰がどのような目的で登録したかが分からなくなってしまう場合がある。少なくとも誰が登録したかが分かれば、その登録したユーザにマクロの内容を尋ねることができるが、現状では登録者も分からない。また、例えばマクロを編集しようとした時、編集対象としたマクロが過去に自分が作成したものであるか否かを確かめる手段が無く、マクロの内容を参照しなければならなかった。特に上述のようにマクロが内部コードで表現されている場合、内部コードを解読しないと自分が登録したものであっても他と区別できない場合もあった。
【0007】
【特許文献1】
特開平5−113815号公報
【特許文献2】
特開平6−103184号公報
【0008】
【発明が解決しようとする課題】
本発明は、上述した事情に鑑みてなされたもので、装置が共用される場合でも、登録されているマクロの登録者を確認することができ、マクロの利用を促進することができるとともに、マクロを容易に編集可能とした情報処理装置を提供することを目的とするものである。
【0009】
【課題を解決するための手段】
本発明は、マクロの登録及び利用が可能な情報処理装置であって、ユーザが操作を行う操作手段と、操作手段に対する一連の操作をマクロとして記憶するとともに少なくともマクロの登録者名を対応づけて記憶する記憶手段と、表示手段と、操作手段からの操作に応じた処理を行う処理手段を有し、記憶手段に記憶されているマクロの編集時に登録者名を表示手段に表示することを特徴とするものである。このようにマクロの編集時には登録者名が表示されるので、マクロの内容が不明な場合には表示された登録者に尋ねれば、マクロの内容を知ることができる。また、マクロの編集時に表示される登録者名を参照することによって、例えば自分が過去に登録したマクロであることを確認してから、マクロの編集作業に取りかかることができる。
【0010】
また、マクロの編集時には、記憶手段に記憶されているマクロを文字列に変換し、文字列に対して編集可能に構成することができる。この時、外部装置との通信を行うインタフェースを設けておき、マクロを変換した文字列をインタフェースから外部装置へ送出可能に構成し、外部装置で編集作業を行うことができるように構成することができる。また逆に、外部装置で編集したマクロに対応する文字列をインタフェースを通じて受信し、その文字列をマクロに変換して登録者名とともに前記記憶手段に登録可能に構成することができる。このようにマクロを文字列として編集できるようにしたことによって、容易に編集作業を行うことができる。上述のような文字列への変換時にも、登録者名を確認できることで無駄な変換処理を低減し、効率よく装置を利用することができる。
【0011】
【発明の実施の形態】
図1は、本発明の情報処理装置の実施の一形態を示すブロック図である。図中、1は操作部、2は表示部、3は処理部、4は記憶部、5はマクロテーブル、6はインタフェース部である。操作部1は、ユーザが装置に対して操作指示を行うためのインタフェースであり、各種のキーやスイッチ、可変ダイヤルなどが設けられている。ユーザは、操作部1を操作することによって装置に対する設定や指示を行うことができる。また、一連の操作をマクロとして登録したり、登録されているマクロの実行を指示することができる。
【0012】
表示部2は、装置からのユーザに対する各種情報の提示に用いられる。この表示部2に表示される情報とともに、ユーザは操作部1からの入力を容易に行うことができるようにしている。また、マクロの変更時や編集時には、当該マクロを登録した登録者名などを表示することができる。
【0013】
処理部3は、装置内の各部を制御し、装置が提供する様々な機能を提供する。特に、一連の操作をマクロ化して登録する機能、登録されているマクロを実行する機能、登録されているマクロの変更機能などを提供する。さらにこの例では、登録されているマクロを文字列(スクリプト)化してインタフェース部6から外部出力する機能や、文字列として外部入力されたマクロの登録機能についても提供している。なお、マクロの新規登録及び外部入力による登録時には登録者名の登録を行い、マクロの変更時には登録者の表示部2への表示を行って、登録者の確認が可能なように制御している。登録されたマクロは、操作部1の所定のキー(あるいはいくつかのキー操作)などに対応づけられており、当該キーの操作が行われることによって、対応するマクロ登録されている一連の操作と同様の機能を順次実行する。
【0014】
記憶部4は、装置内で記憶する必要のある様々な情報を記憶する。特にここでは、登録されているマクロについて、マクロテーブル5によって管理している。図2は、マクロテーブルの一例の説明図である。この例では、それぞれのマクロについて、マクロ名、登録者、登録日時、登録内容がそれぞれ対応づけられている。なおここではそれぞれのマクロ番号と操作部1のキーとが対応づけられているものとしているが、任意のキーと対応づけられるようにしてもよい。また、登録内容については別途記憶しておき、ポインタなどによって関連づけるように構成してもよい。本発明では、この例のように、マクロ毎に登録者を記憶しているため、装置が共用される場合でも誰が登録したマクロであるかを確認することができる。なお、図2に示したマクロテーブルは一例であって、その他の種々の情報を登録できるように構成してもよい。
【0015】
インタフェース部6は、外部装置との間で情報の授受を行うためのものである。具体的な構成は任意であり、公知の種々のインタフェースを適用することができる。このインタフェース部6を通じて、登録されているマクロをスクリプト化して外部装置へ転送したり、あるいはスクリプト化されたマクロをこのインタフェース部6を通じて受け取って登録することができる。
【0016】
次に、上述の情報処理装置の実施の一形態において、マクロに関する動作の一例について説明する。図3は、マクロの登録処理の一例を示すフローチャートである。ユーザが操作部1から所定のマクロ登録操作を行うことによって図3に示す動作が開始される。ここでは操作部1に1ないし複数のマクロキーが設けられており、各マクロキーに一連の操作をマクロとして登録するものとする。以下の各動作例において同様である。
【0017】
S11において、マクロを登録するマクロキーが操作されたか否かを判定し、マクロキーの操作を待つ。マクロキーが操作されると、当該マクロキーに一連の操作が既に登録されているか否かをS12で判定する。一連の操作が登録されておらず、新規に登録する場合には、そのまま一連の操作を登録する状態となる。
【0018】
マクロの登録は、操作部1からマクロ終了キーが操作されるまでにユーザが行ったキー操作の列を記憶してゆく。すなわち、S13において操作部1で操作が行われたか否かを判定し、操作が行われるまで待つ。操作が行われると、S14において、その操作がマクロ終了キーの操作であるか否かを判定する。マクロ終了キーの操作でなければ、S15において、行われた操作を当該マクロに追加登録し、S13に戻る。このようにして操作が行われる毎に、その操作をマクロに追加登録してゆく。マクロ終了キーが操作されると、S16において、それまでの一連の操作に対して、マクロ名、登録者名等の入力を受け、また現在日時等の情報を付加して、S11で操作されたマクロキーに対応づけてマクロテーブル5に登録する。登録が完了したら、S17において表示部12に例えば「登録完了しました」等といったメッセージを表示する。あるいは、図示しない記録部から登録されているマクロの一覧を記録出力してもよい。このようにしてマクロ登録操作を終了する。以後、対応するマクロキーを操作することによって、登録された操作に対応する動作を自動的に実行させることができる。
【0019】
また、S11において操作されたマクロキーに既に一連の操作が登録されていた場合には、S18において、登録されている登録者名や登録日時などを表示部2に表示し、ユーザに対して更新の確認を行う。ユーザは、表示されている登録者名を参照し、例えば自分が過去に登録したものであれば、マクロの内容が分かっているし、他人が登録したマクロであれば、表示されている登録者に問い合わせることによってマクロの内容を知ることができる。マクロの登録者名などを確認した上で、ユーザは当該マクロを変更してよいか否かを判断することができる。
【0020】
ユーザによる操作部1からの指示を受け、S19において、その指示が登録されているマクロの変更を指示するものか否かを判定する。マクロの変更の指示がなされた場合には、S13へ進んで上述のように一連の操作を受けてマクロを更新する。なお、いままでの登録内容は破棄される。
【0021】
マクロを変更しない場合には、そのまま終了する。この場合には、マクロの登録内容はそのまま保持されるので、マクロの登録者名や登録日時などの確認の機能として利用することができる。
【0022】
ここでは、マクロの変更時には内容がすべて入れ換わってしまうが、例えばステップ送りやステップの挿入、ステップの削除などの機能を追加することによって既に登録されている内容を編集可能に構成することもできる。なお、登録する操作の中にマクロキーの操作を含めることを可能にしておくと、他のマクロを一部に利用した新たなマクロを容易に作成することができる。
【0023】
図4は、マクロの書き出し処理の一例を示すフローチャートである。上述のように、この例では登録されているマクロをスクリプト化してインタフェース部6から外部出力する機能を有している。ユーザが操作部1から所定のマクロ書き出し操作を行うことによって、図4に示す動作が開始される。
【0024】
S21において、外部出力すべきマクロが登録されているマクロキーが操作されたか否かを判定し、マクロキーの操作を待つ。マクロキーが操作されると、S22において、当該マクロキーに対応づけられている一連の操作や登録者、登録日時などの情報をマクロテーブル5から読み出す。そしてS23において、当該マクロのマクロ名や登録者名、登録日時などの情報を表示部2に表示させる。ユーザは、当該マクロが書き出すべきものであるか否かを、表示されているマクロ名や登録者名、登録日時などから判断すればよい。自分で過去に登録したものであれば内容は分かっているし、他人が登録したものであれば、登録者名が表示されるので、その登録者に内容などを確認すればよい。
【0025】
ユーザは、当該マクロを書き出すか否かを、操作部1から指示する。S24において指示を判断し、書き出さない旨の指示を受けた場合にはそのまま書き出し処理を終了する。書き出す旨の指示を受けた場合には、S25以降の処理において、登録されている一連の操作について、それぞれのコードについて順次、文字列に変換してゆく。ここでは、マクロは通常のキー操作と条件節(繰り返しなどの制御を含む)によって構成されているものとしている。
【0026】
まずS25において、キー操作のコードであるか否かを判定し、キー操作のコードであれば、S26において、当該キー操作に対応する文字列に変換する。この時の文字列は、それまでのキー操作によって異なることもあるし、以後のキー操作まで文字列への変換が保留されることもある。1ステップ分のキー操作についての文字列への変換が終了したら、S29においてマクロとして登録されている一連の操作が終了したか否かを判定し、未了であればS25へ戻る。
【0027】
S25でキー操作のコードではないと判定された場合には、S27において、条件節のコードであるか否かを判定する。条件節のコードであれば、S28において、当該条件節を示す文字列と、その条件を表す文字列に変換する。さらに繰り返しを示す制御などのコードであれば、対応する文字列に変換する。文字列への変換が終了したら、S29においてマクロとして登録されている一連の操作が終了したか否かを判定し、未了であればS25へ戻る。なお、キー操作や条件節でない場合には、そのままS29へ進む。
【0028】
このようにして、マクロとして登録されている各コードについて、順にS26またはS28で文字列に変換してゆく。すべてのコードについて文字列に変換し終えたら、S29からS30に進み、それまでに変換された文字列をインタフェース6を通じて外部装置に転送する。このようにして、登録されているマクロに対応する文字列を書き出す処理が終了する。
【0029】
ここでは1つのマクロキーに登録されているマクロについて外部出力する例を示したが、上述のS25〜S29を複数のマクロに対して実行することによって、複数のマクロに対応する文字列を外部出力することも可能である。この場合、それぞれのマクロに対応する文字列が識別できるようにしておくことが望ましい。
【0030】
このようにして外部装置に対して文字列として出力されたマクロは、外部装置において例えばエディタなどを用いて編集することができる。そして、編集後の文字列を再び装置へ戻し、マクロとして登録することができる。また、外部装置において新規に作成された文字列を装置へ入力し、マクロとして登録することもできる。以下、この時の処理の一例を示す。
【0031】
図5は、マクロの読み込み処理の一例を示すフローチャートである。上述のように、この例では、文字列として外部装置からインタフェース部6を通じて入力されたマクロの登録機能の一例について示している。ユーザが操作部1から所定のマクロ読み込み操作を行うことによって図5に示す動作が開始される。
【0032】
S41において、外部装置から送られてくる文字列を受信する。S42において、受信した文字列を順に解析してゆく。ここでは、マクロは通常のキー操作と条件節(繰り返しなどの制御を含む)によって構成されているものとしている。
【0033】
まずS43において、文字列がキー操作を示すものであるか否かを判定し、キー操作を示す文字列であれば、S44において、当該文字列をキー操作を示すコードに変換してマクロに追加する。この時変換するコードは、それまでの変換結果によって異なることもあるし、以後の文字列の解析が進むまで保留されることもある。ひとかたまりの文字列についての処理が終了したら、S47において、受信した文字列が終了したか否かを判定し、未了であればS42へ戻る。
【0034】
解析した文字列がキー操作を示すものではない場合には、S45に進み、条件節を示す文字列であるか否かを判定する。条件節を示す文字列であれば、S46において、条件節を示すコードに変換してマクロに追加する。この時、条件を表す文字列についてもコードへの変換を行う。もちろん、繰り返しなどの制御を行う文字列についても対応するコードへの変換を行う。ひとかたまりの文字列についての処理が終了したら、S47において、受信した文字列が終了したか否かを判定し、未了であればS42へ戻る。なお、例えばコメント文などのようにキー操作や条件節を示す文字列でない場合には、そのままS47へ進む。
【0035】
このようにして、外部装置から受信した文字列について、順次、S44またはS46でコードへの変換を行ってゆく。受信したすべての文字列について処理を終えたら、S47からS48に進み、操作部1からいずれのマクロキーに登録するか、及び、マクロ名や登録者名等の必要事項の入力を受け付ける。このとき、既にマクロが登録されているマクロキーに対応づけて登録を行おうとした場合には、登録者名や登録日時などを表示部2に表示し、ユーザに確認するように促すとよい。この場合も登録者名を表示することで、装置が共用されている場合でも容易に登録内容の確認を行うことができる。
【0036】
そして、S49において、S47までの処理で変換したコードからなるマクロを、S48で入力されたマクロ名や登録者名、現在日時(登録日時)などの情報とともにマクロテーブルへ登録する。登録が完了すると、S50において表示部12に例えば「登録変更しました」等といったメッセージを表示する。あるいは、図示しない記録部から登録されているマクロの一覧を記録出力してもよい。このようにして、外部装置から文字列を入力することによって、マクロの登録を行うことができる。
【0037】
上述のマクロの書き出し処理と読み込み処理を利用することによって、マクロの編集を外部装置上の使い慣れたエディタやワードプロセッサなどを使用して行うことができる。例えばある程度、操作部1からの操作によってマクロを生成しておき、条件節や繰り返しなどの制御部分については外部装置上で編集してマクロを完成させるなどといった操作が可能であり、マクロの編集を容易に行うことができる。また、新規に外部装置上でマクロを作成することもでき、マクロの生産性を向上させることができる。
【0038】
なお、ここでは外部装置から1つのマクロ毎に文字列を入力する例を示した。これに限らず、例えば上述のような処理を自動的に繰り返し、複数のマクロについて一括して登録できるように構成してもよい。また、例えば外部装置から入力される文字列中にマクロ名や登録者名などに関する記述を含めておくことによって、S48における入力を省略するように構成することも可能である。
【0039】
また、上述のようなマクロの読み込み処理を利用し、さらに外部装置から読み込ませたマクロの実行を即時実行できる機能を設けてもよい。この機能を利用し、一時的なマクロ登録及び実行を指示することによって、外部装置から装置をコントロールすることも可能である。
【0040】
【発明の効果】
以上の説明から明らかなように、本発明によれば、一連の操作をマクロとして登録することができるとともに、マクロとともにその登録者名などを登録するように構成し、登録者名の確認を可能とした。これによって、装置が共用されるような場合でも、誰が登録したかを確認しながら作業を行うことができ、例えば自分で登録したものか否かを確認して他人のマクロを誤って消去しないようにすることができる。また、内容が不明であれば登録者に尋ねるといったことも可能となるという効果がある。
【0041】
また、登録されているマクロを外部機器に文字列として出力し、また外部機器から受け取った文字列をマクロとして登録する機能を提供し、外部装置におけるマクロの編集や作成を容易に行うことができる。
【図面の簡単な説明】
【図1】本発明の情報処理装置の実施の一形態を示すブロック図である。
【図2】マクロテーブルの一例の説明図である。
【図3】マクロの登録処理の一例を示すフローチャートである。
【図4】マクロの書き出し処理の一例を示すフローチャートである。
【図5】マクロの読み込み処理の一例を示すフローチャートである。
【符号の説明】
1…操作部、2…表示部、3…処理部、4…記憶部、5…マクロテーブル、6…インタフェース部。
[0001]
TECHNICAL FIELD OF THE INVENTION
The present invention relates to an information processing apparatus capable of registering a series of operations performed by a user as a macro and executing processing with a small number of operations using the registered macro.
[0002]
[Prior art]
2. Description of the Related Art Conventionally, for example, a document editing apparatus has a function of storing a series of operations as a macro and assigning it to a predetermined key as needed. By executing the macro, a series of stored operations can be sequentially and automatically executed. In general, when macro information is stored, it is assumed that the information is only used inside the apparatus, and therefore, it is often stored using an internal code or the like.
[0003]
Also, as described in Patent Literature 1, in a machine tool or the like, it is considered that a series of operations are registered as a macro when an operation is programmed, and the macro is used as a subprogram. .
[0004]
Further, a macro is also used in a communication device or the like. For example, in the example of personal computer communication described in Patent Document 2, a macro is used to automate a communication procedure.
[0005]
As described above, the communication procedure is automated in Patent Literature 2. However, for example, a communication device such as a facsimile device is provided with a function of macro-registering an operation performed by the user on the device. Is coming. In recent years, the functions of these communication devices have become more sophisticated, and operations by users have become more complicated. Therefore, the macro registration function is useful for simplifying complicated operations.
[0006]
A communication device such as such a facsimile device is shared by a plurality of users. Therefore, even if a macro is registered, it may not be known who registered the macro and for what purpose. If you know at least who has registered, you can ask the registered user about the contents of the macro, but at the moment the registrant is not known. Also, for example, when trying to edit a macro, there is no means to confirm whether the macro to be edited was created by the user in the past, and the user had to refer to the contents of the macro. In particular, as described above, when a macro is represented by an internal code, there is a case where even if it is registered by itself, it cannot be distinguished from others without decoding the internal code.
[0007]
[Patent Document 1]
JP-A-5-113815 [Patent Document 2]
JP-A-6-103184
[Problems to be solved by the invention]
The present invention has been made in view of the above-described circumstances, and even when a device is shared, a registered person of a registered macro can be confirmed, and the use of a macro can be promoted. It is an object of the present invention to provide an information processing apparatus that can easily edit the information.
[0009]
[Means for Solving the Problems]
The present invention is an information processing apparatus capable of registering and using a macro, wherein an operation unit operated by a user, a series of operations performed on the operation unit are stored as a macro, and at least a macro registrant name is associated with the operation unit. It has storage means for storing, display means, and processing means for performing processing in accordance with an operation from the operation means, and displays a registrant name on the display means when editing a macro stored in the storage means. It is assumed that. As described above, the registrant name is displayed at the time of editing the macro. If the contents of the macro are unknown, the contents of the macro can be known by asking the displayed registrant. Also, by referring to the registrant name displayed at the time of editing the macro, for example, after confirming that the user is a macro registered in the past, the user can start editing the macro.
[0010]
When editing a macro, the macro stored in the storage means can be converted into a character string, and the character string can be edited. At this time, an interface for communicating with the external device may be provided, and the character string obtained by converting the macro may be transmitted from the interface to the external device so that the external device can perform editing work. it can. Conversely, a character string corresponding to a macro edited by an external device can be received through an interface, and the character string can be converted into a macro and registered in the storage unit together with a registrant name. Since the macro can be edited as a character string in this manner, the editing operation can be easily performed. Even when converting to a character string as described above, the registrant name can be confirmed, so that useless conversion processing can be reduced and the device can be used efficiently.
[0011]
BEST MODE FOR CARRYING OUT THE INVENTION
FIG. 1 is a block diagram showing an embodiment of the information processing apparatus of the present invention. In the figure, 1 is an operation unit, 2 is a display unit, 3 is a processing unit, 4 is a storage unit, 5 is a macro table, and 6 is an interface unit. The operation unit 1 is an interface for a user to give an operation instruction to the apparatus, and is provided with various keys, switches, a variable dial, and the like. The user can perform settings and instructions for the device by operating the operation unit 1. In addition, a series of operations can be registered as a macro, and execution of the registered macro can be instructed.
[0012]
The display unit 2 is used for presenting various information to the user from the device. Along with the information displayed on the display unit 2, the user can easily input from the operation unit 1. When a macro is changed or edited, the name of the registrant who registered the macro can be displayed.
[0013]
The processing unit 3 controls each unit in the device and provides various functions provided by the device. In particular, it provides a function of registering a series of operations as a macro, a function of executing a registered macro, a function of changing a registered macro, and the like. Further, this example also provides a function of converting a registered macro into a character string (script) and outputting the same externally from the interface unit 6 and a function of registering a macro externally input as a character string. The registrant name is registered at the time of new registration of the macro and registration by external input, and when the macro is changed, the registrant is displayed on the display unit 2 so that the registrant can be confirmed. . The registered macro is associated with a predetermined key (or some key operations) of the operation unit 1 and the like, and when the operation of the key is performed, a series of operations registered with the corresponding macro is performed. Perform similar functions sequentially.
[0014]
The storage unit 4 stores various information that needs to be stored in the device. Particularly, here, the registered macros are managed by the macro table 5. FIG. 2 is an explanatory diagram of an example of the macro table. In this example, each macro is associated with a macro name, a registrant, a registration date and time, and a registration content. Here, it is assumed that each macro number is associated with a key of the operation unit 1, but it may be associated with any key. Further, the registered contents may be separately stored and configured to be related by a pointer or the like. In the present invention, as in this example, the registrant is stored for each macro, so that it is possible to confirm who has registered the macro even when the device is shared. Note that the macro table shown in FIG. 2 is an example, and may be configured so that various other information can be registered.
[0015]
The interface unit 6 is for exchanging information with an external device. The specific configuration is arbitrary, and various known interfaces can be applied. Through this interface unit 6, a registered macro can be scripted and transferred to an external device, or a scripted macro can be received and registered through this interface unit 6.
[0016]
Next, an example of an operation related to a macro in the above-described embodiment of the information processing apparatus will be described. FIG. 3 is a flowchart illustrating an example of a macro registration process. When the user performs a predetermined macro registration operation from the operation unit 1, the operation shown in FIG. 3 is started. Here, one or a plurality of macro keys are provided in the operation unit 1, and a series of operations is registered as a macro in each macro key. The same applies to the following operation examples.
[0017]
In S11, it is determined whether or not the macro key for registering the macro has been operated, and the operation waits for the operation of the macro key. When a macro key is operated, it is determined in S12 whether a series of operations has already been registered for the macro key. If a series of operations has not been registered and a new operation is to be registered, the state is such that the series of operations is registered as it is.
[0018]
The registration of the macro stores a sequence of key operations performed by the user until the macro end key is operated from the operation unit 1. That is, in S13, it is determined whether or not an operation is performed on the operation unit 1, and the process waits until the operation is performed. When the operation is performed, it is determined in S14 whether the operation is an operation of the macro end key. If it is not an operation of the macro end key, in S15, the performed operation is additionally registered in the macro, and the process returns to S13. Each time an operation is performed in this way, the operation is additionally registered in the macro. When the macro end key is operated, in S16, a macro name, a registrant's name, etc. are input to the series of operations up to that time, and information such as the current date and time is added. The macro key is registered in the macro table 5 in association with the macro key. When the registration is completed, a message such as “registration completed” is displayed on the display unit 12 in S17. Alternatively, a list of registered macros may be recorded and output from a recording unit (not shown). Thus, the macro registration operation ends. Thereafter, the operation corresponding to the registered operation can be automatically executed by operating the corresponding macro key.
[0019]
If a series of operations has already been registered in the macro key operated in S11, the registered registrant name and registration date and time are displayed on the display unit 2 in S18 and updated to the user. Confirmation of. The user refers to the displayed registrant name. For example, if the user has registered in the past, the contents of the macro are known, and if the macro has been registered by another person, the displayed registrant is displayed. You can know the contents of the macro by asking. After confirming the registrant name of the macro, the user can determine whether or not the macro can be changed.
[0020]
Upon receiving an instruction from the operation unit 1 by the user, in S19, it is determined whether or not the instruction instructs to change a registered macro. If an instruction to change the macro has been given, the flow advances to S13 to receive a series of operations as described above to update the macro. The registered contents up to now are discarded.
[0021]
If the macro is not changed, the process ends. In this case, since the registered contents of the macro are held as they are, they can be used as a function for confirming the name of the registrant of the macro and the registration date and time.
[0022]
Here, when the macro is changed, all the contents are replaced. For example, by adding functions such as stepping, inserting a step, and deleting a step, it is also possible to configure the already registered contents to be editable. . If the operation of the macro key can be included in the operation to be registered, a new macro partially utilizing another macro can be easily created.
[0023]
FIG. 4 is a flowchart illustrating an example of a macro writing process. As described above, in this example, the registered macro has a function of being scripted and output from the interface unit 6 to the outside. When the user performs a predetermined macro writing operation from the operation unit 1, the operation shown in FIG. 4 is started.
[0024]
In S21, it is determined whether or not a macro key in which a macro to be externally output is registered has been operated, and the operation of the macro key is awaited. When the macro key is operated, in S22, a series of operations associated with the macro key and information such as a registrant and a registration date and time are read from the macro table 5. Then, in S23, information such as the macro name, registrant name, and registration date and time of the macro is displayed on the display unit 2. The user may determine whether or not the macro should be written based on the displayed macro name, registrant name, registration date and time, and the like. If the user has registered in the past, the contents are known, and if the information has been registered by another person, the registrant's name is displayed.
[0025]
The user instructs whether or not to write the macro from the operation unit 1. In S24, the instruction is determined, and if an instruction not to write is received, the writing process is terminated. When an instruction to start writing is received, in a process after S25, a series of registered operations are sequentially converted into character strings for each code. Here, it is assumed that the macro is configured by normal key operations and conditional clauses (including control such as repetition).
[0026]
First, in S25, it is determined whether or not the code is a key operation code. If the code is a key operation code, in S26, it is converted into a character string corresponding to the key operation. The character string at this time may be different depending on the key operation so far, or the conversion to the character string may be suspended until the subsequent key operation. When the conversion of the key operation for one step into a character string is completed, it is determined in S29 whether a series of operations registered as a macro has been completed, and if not completed, the process returns to S25.
[0027]
If it is determined in S25 that the code is not a key operation code, it is determined in S27 whether the code is a conditional clause code. If it is a conditional clause code, in S28, it is converted into a character string representing the conditional clause and a character string representing the condition. If it is a code such as a control indicating repetition, it is converted into a corresponding character string. When the conversion into the character string is completed, it is determined in S29 whether or not a series of operations registered as a macro has been completed, and if not completed, the process returns to S25. If it is not a key operation or a conditional clause, the process proceeds directly to S29.
[0028]
In this way, each code registered as a macro is sequentially converted into a character string in S26 or S28. When all the codes have been converted into character strings, the process proceeds from S29 to S30, and the character strings converted so far are transferred to the external device through the interface 6. Thus, the process of writing the character string corresponding to the registered macro ends.
[0029]
Here, an example has been described in which a macro registered in one macro key is externally output. However, by executing S25 to S29 described above for a plurality of macros, a character string corresponding to the plurality of macros is externally output. It is also possible. In this case, it is desirable that a character string corresponding to each macro can be identified.
[0030]
The macro output as a character string to the external device in this manner can be edited on the external device using, for example, an editor. Then, the edited character string can be returned to the device again and registered as a macro. Also, a character string newly created in the external device can be input to the device and registered as a macro. Hereinafter, an example of the process at this time will be described.
[0031]
FIG. 5 is a flowchart illustrating an example of a macro reading process. As described above, in this example, an example of a function of registering a macro input as a character string from an external device through the interface unit 6 is shown. The operation shown in FIG. 5 is started when the user performs a predetermined macro reading operation from the operation unit 1.
[0032]
In S41, a character string sent from an external device is received. In S42, the received character strings are sequentially analyzed. Here, it is assumed that the macro is configured by normal key operations and conditional clauses (including control such as repetition).
[0033]
First, in S43, it is determined whether or not the character string indicates a key operation. If the character string indicates a key operation, in S44, the character string is converted into a code indicating a key operation and added to a macro. I do. The code to be converted at this time may differ depending on the result of the conversion up to that point, or may be suspended until the analysis of the subsequent character string proceeds. When the processing for the group of character strings has been completed, it is determined in S47 whether or not the received character string has been completed. If the processing has not been completed, the flow returns to S42.
[0034]
If the analyzed character string does not indicate a key operation, the flow advances to S45 to determine whether or not the analyzed character string is a character string indicating a conditional clause. If it is a character string indicating a conditional clause, in S46, it is converted into a code indicating the conditional clause and added to the macro. At this time, a character string representing a condition is also converted into a code. Of course, a character string for performing control such as repetition is also converted to a corresponding code. When the processing for the group of character strings has been completed, it is determined in S47 whether or not the received character string has been completed. If the processing has not been completed, the flow returns to S42. If it is not a character string indicating a key operation or a conditional clause such as a comment statement, the process directly proceeds to S47.
[0035]
In this way, the character strings received from the external device are sequentially converted into codes in S44 or S46. When the process has been completed for all the received character strings, the process proceeds from S47 to S48, and the input of which macro key is to be registered with the operation unit 1 and the necessary items such as the macro name and the registrant name are accepted. At this time, if registration is attempted to be performed in association with a macro key in which a macro has already been registered, the registrant's name and registration date and time may be displayed on the display unit 2 to urge the user to confirm. Also in this case, by displaying the registrant name, the registered contents can be easily confirmed even when the device is shared.
[0036]
Then, in S49, the macro consisting of the code converted in the processing up to S47 is registered in the macro table together with the macro name, registrant name, current date and time (registration date and time) input in S48. When the registration is completed, a message such as “registration changed” is displayed on the display unit 12 in S50. Alternatively, a list of registered macros may be recorded and output from a recording unit (not shown). In this way, a macro can be registered by inputting a character string from an external device.
[0037]
By utilizing the above-described macro writing and reading processes, the macro can be edited using a familiar editor or word processor on an external device. For example, it is possible to generate a macro by an operation from the operation unit 1 to some extent, and to edit a control part such as a conditional clause and repetition on an external device to complete the macro. It can be done easily. Also, a macro can be newly created on an external device, and the productivity of the macro can be improved.
[0038]
Here, an example has been shown in which a character string is input from an external device for each macro. However, the present invention is not limited to this. For example, the above-described processing may be automatically repeated to register a plurality of macros collectively. Further, for example, by including a description about a macro name, a registrant name, and the like in a character string input from an external device, the input in S48 can be omitted.
[0039]
Further, a function may be provided that utilizes the above-described macro reading process and can immediately execute the macro read from the external device. By using this function and instructing temporary macro registration and execution, it is also possible to control the device from an external device.
[0040]
【The invention's effect】
As is apparent from the above description, according to the present invention, a series of operations can be registered as a macro, and the registrant name and the like can be registered together with the macro, so that the registrant name can be confirmed. And In this way, even when a device is shared, it is possible to perform work while confirming who has registered, for example, to confirm whether or not the device has been registered by yourself and to prevent accidental deletion of another person's macro. Can be In addition, if the contents are unknown, it is possible to ask the registrant.
[0041]
Also, a function of outputting a registered macro as a character string to an external device and registering a character string received from the external device as a macro is provided, so that editing and creation of a macro in the external device can be easily performed. .
[Brief description of the drawings]
FIG. 1 is a block diagram illustrating an embodiment of an information processing apparatus according to the present invention.
FIG. 2 is an explanatory diagram of an example of a macro table.
FIG. 3 is a flowchart illustrating an example of a macro registration process.
FIG. 4 is a flowchart illustrating an example of a macro writing process.
FIG. 5 is a flowchart illustrating an example of a macro reading process.
[Explanation of symbols]
DESCRIPTION OF SYMBOLS 1 ... operation part, 2 ... display part, 3 ... processing part, 4 ... storage part, 5 ... macro table, 6 ... interface part.

Claims (4)

ユーザが操作を行う操作手段と、前記操作手段に対する一連の操作をマクロとして記憶するとともに少なくとも前記マクロの登録者名を対応づけて記憶する記憶手段と、表示手段と、前記操作手段からの操作に応じた処理を行う処理手段を有し、前記記憶手段に記憶されている前記マクロの編集時に前記登録者名を前記表示手段に表示することを特徴とする情報処理装置。An operation unit operated by a user, a storage unit that stores a series of operations on the operation unit as a macro and stores at least a registrant name of the macro in association with a macro, a display unit, and an operation from the operation unit. An information processing apparatus, comprising: processing means for performing a corresponding process, wherein the registrant name is displayed on the display means when editing the macro stored in the storage means. 前記マクロの編集時には、前記記憶手段に記憶されている前記マクロを文字列に変換し、該文字列に対して編集可能としたことを特徴とする請求項1に記載の情報処理装置。2. The information processing apparatus according to claim 1, wherein at the time of editing the macro, the macro stored in the storage unit is converted into a character string, and the character string can be edited. さらに、外部装置との通信を行うインタフェースを有し、前記マクロの編集処理として、前記記憶手段に記憶されている前記マクロを文字列に変換し、該文字列を前記インタフェースから外部装置へ送出可能であることを特徴とする請求項1に記載の情報処理装置。Furthermore, an interface for communicating with an external device is provided. As the macro editing process, the macro stored in the storage unit is converted into a character string, and the character string can be transmitted from the interface to the external device. The information processing apparatus according to claim 1, wherein さらに、外部装置との通信を行うインタフェースを有し、前記マクロの編集処理として、外部装置から前記インタフェースを通じてマクロに対応する文字列を受信し、該文字列をマクロに変換して登録者名とともに前記記憶手段に登録可能であることを特徴とする請求項1に記載の情報処理装置。Furthermore, it has an interface for communicating with an external device, and as a process for editing the macro, receives a character string corresponding to the macro from the external device through the interface, converts the character string into a macro, and registers the macro with the registrant name. The information processing apparatus according to claim 1, wherein the information processing apparatus can be registered in the storage unit.
JP2002296717A 2002-10-09 2002-10-09 Information processing device Expired - Fee Related JP3765299B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2002296717A JP3765299B2 (en) 2002-10-09 2002-10-09 Information processing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2002296717A JP3765299B2 (en) 2002-10-09 2002-10-09 Information processing device

Publications (2)

Publication Number Publication Date
JP2004135003A true JP2004135003A (en) 2004-04-30
JP3765299B2 JP3765299B2 (en) 2006-04-12

Family

ID=32286619

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2002296717A Expired - Fee Related JP3765299B2 (en) 2002-10-09 2002-10-09 Information processing device

Country Status (1)

Country Link
JP (1) JP3765299B2 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009164972A (en) * 2008-01-08 2009-07-23 Canon Inc Information processing apparatus and control method thereof
JP2012095138A (en) * 2010-10-27 2012-05-17 Kyocera Mita Corp Operation device and operation method for electronic apparatus
JP2016062025A (en) * 2014-09-19 2016-04-25 京セラドキュメントソリューションズ株式会社 Image forming apparatus

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009164972A (en) * 2008-01-08 2009-07-23 Canon Inc Information processing apparatus and control method thereof
US8427674B2 (en) 2008-01-08 2013-04-23 Canon Kabushiki Kaisha Information processing apparatus with template control of process flow in a print device
JP2012095138A (en) * 2010-10-27 2012-05-17 Kyocera Mita Corp Operation device and operation method for electronic apparatus
JP2016062025A (en) * 2014-09-19 2016-04-25 京セラドキュメントソリューションズ株式会社 Image forming apparatus

Also Published As

Publication number Publication date
JP3765299B2 (en) 2006-04-12

Similar Documents

Publication Publication Date Title
JP2010092501A (en) Error notification method and error notification device
JP2006285914A (en) Data retrieval processor and program
JP2007058444A (en) Character input assistance method and information processor
JP2007048009A (en) Operation support system, its database server, preparation management device and program
KR101711772B1 (en) System-building assistance device
JP5023038B2 (en) Program generating program and program generating apparatus
JP3765299B2 (en) Information processing device
JP7105683B2 (en) Electronic computer, method and program
JP2006203636A (en) Method and system for setting schedule alarm in portable telephone
JPH11338519A (en) Programmable controller, and device and method for supporting program preparation
JP6837608B1 (en) Program creation support device, program creation support method and program creation support program
JP5619930B2 (en) Dialog script operation command execution device, dialog script operation command execution method, and program
JP2000315203A (en) Document management system and document managing method
JP2007048233A (en) Mobile terminal, its control program, and recording medium
JP2003036170A (en) Device, method and program for cross reference construction
JP2007178692A (en) Character input device and method
JP2022125274A (en) Electronic computer, method, and program
JPH08339208A (en) Program preparation device for programmable controller
JP2003084825A (en) Control system, and program and storage medium therefor
JP2002288012A (en) File connecting device and program
JP2000222401A (en) Data input device, data input method, and recording medium
JP2005025416A (en) Program generation device, program generation method, program, and recording medium
JPH1065759A (en) Operating procedure designing device
KR100711631B1 (en) Method and device for identifying patterns in a message and generating an action
JPH09114756A (en) Communication equipment

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20040507

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20051007

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20051012

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20051207

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20060104

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20060117

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090203

Year of fee payment: 3

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120203

Year of fee payment: 6

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130203

Year of fee payment: 7

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20140203

Year of fee payment: 8

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

LAPS Cancellation because of no payment of annual fees