Category | Topic | Usage and Descriptions |
---|---|---|
System message | closeBackground | Handler: on closeBackground <statements> end closeBackground |
バックグラウウンドが異なるカードに移動する際にHyqerCardは"closeBackground"メッセージを現在のカードに送ります。 | ||
HyqerCard sends the closeBackground message to the current card when a user (or handler) quits HyqerCard or goes to a card whose background is different than the background of the current card. | ||
System message | closeCard | Handler: on closeCard <statements> end closeCard |
別のカードに移動する際にHyqerCardは"closeCard"メッセージをカードに送ります。 | ||
HyqerCard sends the closeCard message to a card when a user (or script) goes to another card or quit HyqerCard. | ||
System message | closeField | Handler: on closeField <statements> end closeField |
アンロックフィールドのフォーカスが外れた際にHyqerCardはそのフィールドに"closeField"メッセージを送ります。 | ||
HyqerCard sends the closeField message to an unlocked field when, after editting, a user(or handler) performs an action that closes the field. | ||
System message | closeStack | Handler: on closeStack <statements> end closeStack |
HyqerCardはquitする際に"closeStack"メッセージを現在のカードに送ります。 | ||
HyqerCard sends the closeStack message to the current card when a user(or script) quits HyqerCard. | ||
System message | deleteBackground | Handler: -- on deleteBackground -- <statements> -- end deleteBackground |
未実装 | ||
Not implemented. | ||
System message | deleteButton | Handler: on deleteButton <statements> end deleteButton |
HyqerCardはボタンを削除する際に、消える前にそのボタンに"deleteButton"メッセージを送ります。 | ||
HyqerCard sends the deleteButton message to a button that is being deleted, just before it disappears. | ||
System message | deleteCard | Handler: on deleteCard <statements> end deleteCard |
HyqerCardはカードを削除する際に、消える前にそのカードに"deleteCard"メッセージを送ります。 | ||
HyqerCard sends the deleteCard message to a card that is being deleted, just before it disappears. | ||
System message | deleteField | Handler: on deleteField <statements> end deleteField |
HyqerCardはフィールドを削除する際に、消える前にそのフィールドに"deleteField"メッセージを送ります。 | ||
HyqerCard sends the deleteField message to a Field that is being deleted, just before it disappears. | ||
System message | deleteStack | Handler: on deleteBackground <statements> end deleteBackground |
HyqerCardはスタックを削除する際に、消える前にその現在のカードに"deleteStack"メッセージを送ります。 | ||
HyqerCard sends the deleteStack message to the current card of the stack that is being deleted, just before HyqerCard erases the stack from the disk. | ||
System message | exitField | Handler: on exitField <statements> end exitField |
HyqerCardはロックされていないフィールドをクリックした後、フィールドのフォーカスが外れる時に"exitField"メッセージをそのフィールドに送ります。 | ||
HyqerCard sends the exitField message to an unlocked field when, after clicking in a field, a user exits the field. | ||
System message | idle | Handler: on idle <statements> end idle |
HyqerCardは他のイベントが起こっていない時に、現在のカードに"idle"メッセージを繰り返して送り続けます。 | ||
HyqerCard repeatedly sends the idle message to the current card when no other events are occuring(all handlers have finished running HyqerCard itself isn't sending other messages). | ||
System message | mouseDown | Handler: on mouseDown <statements> end mouseDown |
HyqerCardはポインターがその領域にある時マウスのボタンを押した時にボタンまたはロックされたフィールドに対し、"mouseDown"メッセージを送ります。領域にない場合は現在のカードに対して送ります。 | ||
HyqerCard sends the mouseDown message to a button or to a locked field when the user presses the mouse button down and the pointer is inside the rectangle of button or field. HyqerCard sends the mouseDown message to the current card when the user presses the mouse button down and the pointer is not inside the rectangle of button or field. | ||
System message | mouseEnter | Handler: on mouseEnter <statements> end mouseEnter |
HyqerCardはその領域にポインターが入った時にボタンまたはフィールドに"mouseEnter"メッセージを送ります。 | ||
HyqerCard sends the mouseEnter message to a button or field just after the pointer moves within its rectangle. | ||
System message | mouseLeave | Handler: on mouseLeave <statements> end mouseLeave |
HyqerCardはその領域からポインターが出た時にボタンまたはフィールドに"mouseEnter"メッセージを送ります。 | ||
HyqerCard sends the mouseLeave message to a button or field just after the pointer moves outside its rectangle. | ||
System message | mouseStillDown | Handler: on mouseStillDown <statements> end mouseStillDown |
HyqerCardはその領域内でマウスボタンが押し続けられている間、ボタンあるいはフィールドに"mouseStillDown"イベントを送り続けます。領域外でマウスボタンが押し続けられたら現在のカードに送ります。 | ||
HyqerCard repeatedly sends the mouseStillDown message to a button or to a locked field while user holds the mouse button down and the mouse pointer is inside the rectangle of the button or field. HyqerCard sends mouseStillDown to the curren card when the user holds the mouse button down and the pointer is not in the rectangle of a button or field. | ||
System message | mouseUp | Handler: on mouseUp <statements> end mouseUp |
hyqerCardは領域内でマウスボタンを押して離した場合にボタンあるいはフィールドに対して"mouseUp"メッセージを送ります。ボタン、フィールドの領域外であれば現在のカードに送ります。 | ||
HyqerCardsends the mouseUp message to a button or a locked field when the user release the mouse button and the pointer is inside the rectangle of same button or field it was in when the user pressed the mouse button (otherwise, HyqerCard does not send mouseUp). HyqerCard sends mouseUp to the current card when the user release the mouse button and the pointer is no in the rectangle of a button or field. | ||
System message | mouseWithin | Handler: on mouseUp <statements> end mouseUp |
HyqerCardはポインターがその領域内にある時、ボタンあるいはフィールドに"mouseWithin"メッセージを送り続けます。 | ||
HyqerCard sends the mouseWithin message to a button or field repeatedly while the pointer is inside its rectangle. | ||
System message | moveWindow | Handler: on moveWindow <statements> end moveWindow |
HyqerCardはカードをユーザがカードウィンドウを移動した時に、現在のカードに"moveWindow"メッセージを送ります。 | ||
HyqerCard sends the moveWindow message to current card when the user moves the window. | ||
System message | newBackground | Handler: -- on mouseUp -- <statements> -- end mouseUp |
未実装 | ||
Not implemented. | ||
System message | newButton | Handler: on newButton <statements> end newButton |
HyqerCardはボタンを作成した直後に"newButton"メッセージをそのボタンに送ります。 | ||
HyqerCard sends the newButton message to a button just after HyqerCard create it. | ||
System message | newCard | Handler: on newCard <statements> end newCard |
HyqerCardはカードを作成した直後にそのカードに"newCard"メッセージを送ります。 | ||
HyqerCard sends the newCard message to the current card (in this case, the new one) just after HyperCard create it. | ||
System message | newField | Handler: on newField <statements> end newField |
HyqerCardはフィールドを作成した直後に"newField"メッセージをそのボタンに送ります。 | ||
HyqerCard sends the newField message to a field just after HyqerCard create it. | ||
System message | newStack | Handler: -- on newStack -- <statements> -- end newStack |
未実装 | ||
Not implemented. | ||
System message | openBackground | Handler: on openBackground <statements> end openBackground |
HyqerCardはカード移動した際に移動前とバックグラウンドが違っていたら移動後のカードに対して"openBackground" メッセージを送ります。 | ||
HyqerCard sends the openBackground message to the current card just after a script goes to a card whose background differs from the background of the most recent card. | ||
System message | openCard | Handler: on openCard <statements> end openCard |
HyqerCardはカーヂ移動した後に移動後のカードに"openCard"メッセージを送ります。 | ||
HyqerCard sends the openCard message to the current card just after a script goes to the card. | ||
System message | openField | Handler: on openField <statements> end openField |
HyqerCardはロックされていないフィールドをテキスト編集のために開いた時に"openField"メッセージをそのフィールドに送ります。 | ||
HyqerCard sends the openField message to an unlocked field when a user first opens it for text editing.A user opens a field for editing either by clicking in the field. | ||
System message | openStack | Handler: on openStack <statements> end openStack |
HyqerCardは他のスタックに移動する時に移動先スタックの最初のカードに"openStack"メッセージを送ります。 | ||
HyqerCard sends the openStack message when a user goes to a different stack than that of the most recent card. | ||
System message | quit | Handler: on quit <statements> end quit |
HyqerCardはユーザがFileメニューからQuit HyperCardを選択した時に現在のカードに"quit"メッセージを送ります。 | ||
HyqerCard sends the quit message to the current card when the user choose Quit HyperCard from the File menu, just before HyqerCard quits. | ||
System message | resume | Handler: -- on resume -- <statements> -- end openField |
未実装 | ||
Not implemented. | ||
System message | resumeStack | Handler: -- on resumeStack -- <statements> -- end openField |
未実装 | ||
Not implemented. | ||
System message | sizeWindow | Handler: -- on sizeWindow -- <statements> -- end sizeWindow |
未実装 | ||
Not implemented. | ||
System message | startUp | Handler: --on startUp -- <statements> --end openField |
--HyqerCardは最初に起動した時に最初のカードに"startUp"メッセージを送ります。 | ||
--HyqerCard sends the startUp message to the first card when the HyqerCard is first started. | ||
System message | suspend | Handler: -- on suspend <statements> -- end suspend |
未実装 | ||
Not implemented. | ||
System message | suspendStack | Handler: -- on suspendStack -- <statements> -- end suspendStack |
未実装 | ||
Not implemented. | ||
Keyword | do | do <expression> |
"do"キーワードは<expression>を評価してそれをメッセージとしてカードに送ります。<expression>は1行以上の値です。例えば一連のHyperTalkを"Example"という名のフィールドに入れて<do>に実行させます。 do card field "Example" | ||
The do keyword causes HyqerCard to evaluate <expression> and to send the result as a message to the current card. The value of <expression> can contain more than one line. For example, if you have a series of HyqerTalk statements ina card field called Example, HyqerCard will apply <do> to each line: do card field "Example" | ||
Keyword | exit | exit repeat -- exit <functionName> exit <messageName> exit to HyqerCard |
exitキーワードは現在の制御の流れを停止させます。 "exit repeat"はループ終了条件によらず、repeatを終わらせます。 "exit <messageName>"は現在のメッセージハンドラを終了させます。制御はペンディングになっていたstatementに戻ります、もしあれば。 "exit to HyqerCard"は後続の全ての実行命令の実行を止めます。 以下は未実装です。 exit <functionName> | ||
The exit keyword allows you to halt the current flow of control. Exit repeat sends control to the end of repeat structure, ending execution of the loop regardless of the state of the controlling condition. The exit <messageName> form stops the current message handler. Control will return to any pending statements from another handler, if any. The exit to HyqerCard prevents all messages from being sent until HyqerCard returns to idle. It stops any pending statements from other handlers and any pending system messages. The following is not implemented. exit <functionName> | ||
Keyword | function | function <functionName> [ parameterList ] <statements> end <functionName> |
functionキーワードは新たな関数ハンドラを定義します。名前の後ろに括弧をつけて呼び出せます。 get deleteSpace( " hello " ) オプションのパラメータリストは関数呼び出しの際に関数に引数として渡すことができます。 呼び出したハンドラに対して値を返すために関数内でreturnキーワードを使ってください。 注意:関数内ではrepeatは使えません。意図しない結果になります。 exit functionは使えません。 | ||
The function keyword defines a new funcition handler of the specified name. You call a fuction by placing parentheses after its name: get deleteSpace( " hello ") The optional parameterList allows a function handler to receive values sent along with the function call. Use the return keyword within the fucntion definition to have the functon return a value to the handler that calls it. Notes: The repeat keyword and exit <functionName> can not be used in functions. | ||
Keyword | global | global <variableList> |
globalキーワードは変数とその内容をどのハンドラでも使えるようにします。グローバル変数の変更は他のハンドラでも有効です。 注意:グローバル変数を使うハンドラでは各ハンドラにおいてグローバル変数を宣言してください。 | ||
The global keyword makes a variable and its contents available to any handler in HyqerCard. Changing the value of a global variables in any handler changes itst value anywhere. Note: You must use the global keyword in each handler to declare the global variables you want to use. | ||
Keyword | if(multiple-statement) | if <condition> then <statements> [else if <condition> then <statements>] [else <statements>] end if |
複数命令文のif構文は条件を判断し真なら1つ以上の命令を実行します。オプションのelse ifキーワードは真でない場合、別の条件分岐をします。 オプションのelseキーワードは真でない場合実行されます。 複数行命令のif構文の場合、必ずend ifで構文の閉じてください。 | ||
The multiple-statement if structure test the specific condition and execute one or more statements if the condition is true. The optional else if keywords allow alternative branches to be taken. The optional else keyword allows a default branch to be taken. Note that since each part of a complex if structure may contain more than one statement, you must have an end if statement at the end of the structure. | ||
Keyword | if(single-statements) | if <condition> then <statement> [ else <statement> ] -- if <condition> -- then <statement> -- [else if <condition> -- then <statement> ] -- [else <statement> ] |
単数命令文のif構文は条件を判断し真なら1つの命令を実行します。オプションのelse ifキーワードは真でない場合、別の条件分岐をします。 オプションのelseキーワードは真でない場合実行されます。 単数行命令のif構文の場合、命令は一つに限り、end ifは不要です。 | ||
The single-statement if structure tests for the specified condition and executes one statement if the condition is true. The optional else if keywords allow alternative branches to be taken. The optional else keyword allows a default branch to be taken. Note that since each part of a simple if structure is limited to one statement, you do not need an end if statement. | ||
Keyword | on | on <messageName> [<parameterList>] <statements> end <messageName> |
onキーワードは新たなメッセージハンドラを指定した<messageName>で定義します。 <parameterList>オプションはメッセージとともに、ハンドラが受け取ります。HyqerCardは各パラメータリストの変数に値を割り当てます。 | ||
The on keyword defines a new message handler of the specified name. The optional parameterList allows the handler to receive values sent along with a message. HyqerCard assigns each value to a parameter variable in the parameterList. | ||
Keyword | pass | pass <messageName> -- pass <functionName> |
passキーワードは現在のハンドラの実行をやめ、メッセージをメッセージ伝達順の次のオブジェクトのハンドラに送ります。 | ||
The pass keyword ends execution of the current handler and sends the entire massage that initiated execution of the handler to the next object in the message-passing order. | ||
Keyword | repeat | repeat [forever] <statements> end repeat repeat [for] posInteger [times] <statements> end repeat repeat until <condition> <statements> end repeat repeat while <condition> <statements> end repeat repeat with <variableName> = <integer1> to <integer2> <statements> end repeat repeat with <variableName> = <integer1> down to <integer2> <statements> end repeat |
repeat [forever]構文は<statement>を繰り返し実行します。 repeat [for]構文は指定された<posInteger>の回数、<statements>を繰り返し実行します。 repeat until構文は条件が偽の間、<statements>を繰り返し実行します。 repeat while構文は条件が真の間、<statements>を繰り返し実行します。 repeat with構文は変数が<integer1>から<integer2>なるまでの間、<statements>を繰り返し実行します。変数は1ずつ、増減します。 repeat構文の中でexit repeatがあれば、end repeatの次の命令からハンドラの実行を続けます。 repeat構文の中でnext repeatがあれば、repeatの冒頭に戻ります。 以下は未実装 repeat forever | ||
The repeat forever structure causes a loop to repeat continuously. The repeat for structure causes a loop to repeat for a specified number of times. The repeat until structure causes a loop to repeat as long as the condition is false. HyqerCard checks the condition before the first and any subsequent iterations of the loop. The repeat whilel structure causes a loop to repeat as long as the condition is true. HyqerCard checks the condition before the first and any subsequent iterations of the loop. The repeat with structure causes a loop to repeat until a varable with an initial value of <integer1> is equal to the number of <integer2>. The value of the variable increases (or decrease) by 1 during each iteration of the repeat loop. If HyqerCard finds exit repeat in the statements of the repeat loop, it continues running the handler starting from the first statement after end repeat. If HyqerCard finds next repeat in the statements of the repeat loop, it returns immediately to the beginning of the repeat loop. | ||
Keyword | return | return <expression> |
return キーワードはハンドラの実行を停止します。関数の場合は<expression>を呼び出したhandlerに返します。 メッセージハンドラ内ではハンドラの実行をやめてresult関数の結果に<expression>をセットします。 各コマンドごとにresultをemptyにリセットしてしまうため、returnでセットされたresult関数の値はその直後だけ有効です。 | ||
The return keyword end execution of a handler and , in function handlers, returns the value of <expression> to the handler that called the function. If return appears in a messages handler(as opposed to a function handler), it ends execution of the handler and places the value of the <expression> into the HyqerTalk function reslut. The value of the result as setby a return statement is only valid immediately after the retun statement executes; each new statement resets the result to empty. | ||
Keyword | send | send "<messageName> [parameterList] " to <object> |
sendキーワードは特定のオブジェクトに直接メッセージを送ります。 | ||
The send keyword sends a messasge directly to a particular object. | ||
Command | add | add <number> to [ <chunk> of ] <container> |
addコマンドは<number>の値をコンテナあるいはチャンク内の数値に加算し、コンテナあるいはチャンクを加算の結果で置き換えます。 | ||
The add command adds the value of <number> to the number in a container or chunk and replace the contents of the container or chunk with the result. | ||
Command | answer | answer <text> [ with <reply > [ or <replay2> [ or <replay3> ] ] ] -- answer file -- answer program |
answerコマンドは<text>をダイアログボックスに表示します。ダイアログは1〜3個のボタンを含み、それぞれユーザが選択可能なものを表します。<reply>を指定しない場合はOKボタンを表示します。 answer file , answer programは未実装。 | ||
The answer command displays <text> in a dialog box. The dialog contains from one to three buttons, each representing a different replay the user can select. If you use answer without specifiing any <replies>, HyqerTalk displays an OK button as the default. "answer file" and "answer program" are not implemented yet. | ||
Command | arrowkey | -- arrowkey <direction> |
未実装 | ||
Not implemented. | ||
Command | ask | ask <text1> [ with <text2>] -- ask password -- ask file |
askコマンドはダイアログボックスに<text1>を表示し、ユーザが応答できるテキストボックスを伴う。askダイアログは自動でOKとCancelボタンがつく。 with <text2>でデフォルトの応答を設定でき、文字はテキストボックス内でハイライトされる。 askコマンドは変数itに入力された文字を返す。Cancel時はemptyが入る。 "ask password"と"ask file"は未実装。 | ||
The ask command displays <text1> in a dialog box along with a text box where the user can type a reply. The ask dialog automatically provides the OK and Cancel buttons. You can supply a default reply using the with <text2> option.The default text appears highlighted in the text box. Ask returns the text entered by the user, if any, in the local varible it,If the user clicks Cancel, ask places empty in it. "ask password" and "ask file" are not implemented yet. | ||
Command | beep | beep beep <posInterger> |
beepコマンドはMaclntoshのシステムbeepを鳴らします。 <posInteger>を指定すると、複数回beep音がなります。 | ||
The beep command sounds the Mac!ntosh system beep. If you specify a <posInteger>, Your Mac!ntosh beeps that many times. | ||
Command | choose | choose <toolName> tool -- choose tool <posInteger> |
chooseコマンドはツールパレットから<toolName>でツールを選択します。 choose tool <posInteger>は未実装 cardに対するmessage sendも未実装 | ||
The choose command selects the tool with the specified name from the Tools palette. "choose tool <posInteger>" and sending message to card are not implemented yet. | ||
Command | click | click at <point> -- click at <point> with key [, key2 [,key3 ] ] |
クリックコマンドはスクリプトからマウスクリックを行います。 <point>がボタン、フィールド、カードの4辺内であればHyqerCardはmouseUpメッセージをオブジェクトに送ります。ロックされていないフィールドであればフィールドは挿入モードになります。 click at <point> with keyは未実装。 | ||
The click command provides a way of clicking the mouse from within your scripts. It acts exactly as if you had clicked the mouse on the screen. If <point> is within the rectangle of a button, a locked field, or anywhere else on the card, HyqerCard sends the mouseUp message to the object. If <point> is within the rectangle of an unlocked field, HyqerCard sets the insertion point in the field "click at <point> with key" is not implemented. | ||
Command | close | close file <filename> -- close printing -- close <externalWindow> |
closeコマンドは事前にopenしたファイルをcloseします。通常、テキストの入出力に使います。利用後は常にファイルをcloseしてください。 HyqerCardはquit時に自動でcloseします。 close printingとclose <externalWindow>は未実装。 | ||
The close file command closes a disk file previously opened with the open file command. Usually, you open files to import or export text. Always use close file when you're finished. HyqerCard automatically closes all open files when the user quits HyqerCard. "close printing" and "close <externa>" are not implemented. | ||
Command | commandKeyDown | -- commandKeyDown <char > |
commandKeyDownコマンドは未実装 | ||
The commandKeyDown command is not implemented. | ||
Command | controlKey | -- controlKey < keyNumber > |
controlKeyコマンドは未実装 | ||
The controlKey command is not implemented. | ||
Command | convert | convert < date > to < formatName > convert [ chunk of ] container to < formatName > |
convertコマンドは日付書式を変更します。 1つ目の形式は変更された日付を変数itに入れます。二つ目はチャンクもしくはコンテナ内の書式を変更します。 日付書式は4種類あります。 ・seconds 1904/1/1の12:00amからの経過秒 ・dateItems コンマで区切られた7つの数値 year , month, day, hour, minute, second, dayNumber ・date month/day/year ・time hour:minute フォーマット名はオプションの形容詞で表せます。 long date Fri, jun 15,1990 shor date 6/15/90 long time 3:30:00 short time 3:30 "abbrev"オプションは未実装 | ||
The convert command changes a value expressed as a valid date, time or date and time format to another format. The first form of the convert command returns the converted date in the local variable it. The second form converts a date in a chunk or container(including variables) and places the result in that chunk or container. There are four types of date formats: ・seconds, a positive integer equal to the number of seconds since 12:00 am, on January 1, 1904. ・dateItems, a comma-delimited list of seven positive integers equal to the following values: year , month, day, hour, minute, second, dayNumber ・date month/day/year ・time hour:minute The format names date and time can be presented by an optional adjective, which produce formats as shown: long date Fri, jun 15,1990 shor date 6/15/90 long time 3:30:00 short time 3:30 The option <abbrev> is not implimented. | ||
Command | create | create menu < menuName > -- create stack filename [ with bkgrd ] [ in a new window ] |
"create menu"コマンドは新しいメニューを作成し、メニューバーに追加します。 メニューにメニューアイテムを追加するにはputコマンドを利用します。 以下は未実装。 create stack filename [ with bkgrd ] [ in a new window ] | ||
The create menu command makes a new menu and adds it into the menu bar. Use the put command to add menu items to the new menu. The following is not implemented. create stack filename [ with bkgrd ] [ in a new window ] | ||
Command | delete | delete <chunk> of <container> delete < cd | bg > < button | field > delete [ menuitem <of | from> ] menu |
delete <chunk>コマンドはコンテナからテキストを除去します。注意: "delete line of〜"は"put empty into line of〜"とは異なり、行末の改行コードも 除去します。 | ||
The delete <chunk> command removes text from container. Note:Using delete to delete a line is not the same a putting empty into the line: delete removes the final return character as well as the text, while putting emty into the line just reoves the text. | ||
Command | dial | -- dial <posInteger> -- dial <posInteger> with modem -- dial <posInteger> with modem [ modemCommand ] |
未実装 | ||
Not implemented. | ||
Command | disable | disable <card | bacground ><button> disable < menu > disable < menuitem > of < menu > |
disableコマンドはボタン、メニュー、メニューアイテムを使えないようにしグレーに表示します。ボタンとメニューアイテムの場合はenabledプロパティをfalseにするのと同じです。 | ||
The disable command allow you to dim buttons. In case of a button or a menuitem , It's a shortcut for setting the enabled property of a button to false. Users cannot push dimmed menus , menuitems and buttons. | ||
Command | divide | divide [ < chunk > of ] < container > by < number > |
divideコマンドはコンテナあるいはチャンクの数字を< number >で割り、結果をコンテナに入れます。 0で割った場合は'INF'をチャンクあるいはコンテナに入れます。 | ||
The divide command divides the number in the < container > or < chunk > by < number > and put the result into the container. Dividing by 0 places INF (for infinity )into the chunk or container | ||
Command | doMenu | doMenu < itemName > -- doMenu < itemName > , < menuName > |
doMenuコマンドはユーザがメニューアイテムを選択するのと同じようにメニュー項目を実行します。HyperCardはdoMenuコマンドをメッセージとして現在のカードに送ります。選択したメニューアイテムと同じ文字が渡されます。 without dialogオプションは未実装。 | ||
The doMenu command performs the action specified by the item name and just as if the user chooses the item directly from menu. HyqerCard sends the doMenu command as a message to the current card when theb user selects a menu item. The value passed as <itemName> is exact name of the menu item selected. You can handle the doMenu message as follows: on doMenu theItem <statements> end domenu The without dialog option is not implemented. | ||
Command | drag | drag from < point > to < point > -- drag form < point > to < point > [ with key1, [ key2, [ key3 ] ] ] |
dragコマンドはペイントツールのいずれかを選択している時に、カードもしくはバックグラウンドにmousedownとmouseupのメッセージをそれぞれ前者の後者のポイントで発生させます。 withオプションは未実装 | ||
The drag command send a mousedown message at former <point > and a mouseup message at latter < point > to the card or background when you select one of paint tools. The with option is not implemented. | ||
Command | edit | edit [ the ] script of < object > |
editコマンドは< object >のスクリプトをスクリプトエディターで開きます。 ハンドラ内で起動した場合、スクリプトエディターを閉じるまで実行を止めます。 | ||
The edit script command opens the script of an object with HyqerCard script editor. When run as a statement in a handler, edit script suspends execution of the handler until the user closes the script editor. | ||
Command | enable | enable < button > enable < menu > enable < menuitem > of < menu > |
enableコマンドはdisable状態だったボタン、メニュー、メニューアイテムを使えるようにします。メニューアイテムとボタンの場合はenabledプロパティをtrueにするのと同じです。 | ||
The enable command activate < button >,<menu>and<menuitem> that are inactive(dimmed). In case of a button or a menuitem, It's a shortcut for setting the enabled property of a button to true. | ||
Command | enterInField | -- enterInField |
未実装 | ||
Not implemented. | ||
Command | enterKey | enterKey |
enterKeyコマンドはメッセージボックスにタイプされた命令をカードに送ります。 HyqerCardはユーザがエンターキーを押した時にフィールドにカーソルがある時以外はenterKeyコマンドを現在のカードに送ります。 | ||
The enterKey command sends a statement typed into Message box to the current card. HyqerCard sends the enterKey command to the current card when the user press the Enter key, unless the insertion point is in a field. | ||
Command | export | export paint to file < fileName > |
exportコマンドは現在のカードの画像イメージを< fileName> に保存します。このコマンドはペイントツールのいずれかが選ばれている時だけ作動します。 このコマンドはペイントツールが選ばれている時に"File"メニューから"Export Paint..."を選んだ時と同じ動作です。ダイアログボックスが表示されないのを除いて。 exportが成功したら、HyqerCardはresult関数の結果にemptyをセットします。 失敗(Browseツールが選ばれている時など)した場合は"Couldn't export paint"がセットされます。 | ||
The export paint command saves a Paint image of the current card to the specified file. Export paint only works when one of the Paint tools is chosen. The command has the same effect as the Export Paint menu item that appears in the File menu (when a Paint tool is chosen), except that it aovids the dialog box that prompts the user for a file name. If export paint suceeds, HyqerCard sets the function the result to empty; if the command fails(if, for example, you use export paint when Browse tool is chosen),HyqerCard sets the result to "Couldn't export paint." | ||
Command | find | find < text > [ of marked cards ] find chars < text > [ of marked cards ] find word < text > [ of marked cards ] find whole < text > [ of marked cards ] find string < text > [ of marked cards ] |
findコマンドは文字列<text>を現在のスタックの全カードのフィールドを検索します。 marked cardsオプションは検索対象をmarkされたカードだけにします。 findが成功したら、見つけた<text>を四角で囲み、result関数の結果はemptyです。失敗した場合は"Not found"になります。 find | 語頭から一致するもの find chars | スペースを除き文字列が一致するもの find word | 語頭から語尾まで一致するもの find whole | 語頭からスペースを含んで一致するもの find string | スペースを含む全ての文字列が一致するもの。 In field オプションは未実装です。 | ||
The find command search for a text string in all the card and background fields (visible or not) of the current stack. If you include the marked cards option, find restricts its search to just the marked cards. When find succeeds,HyqerCard places a box around the found text (or the first part it finds if the targets are disontinuous) and sets the function the result to empty. When find fails, HyqerCard sets the function the result to the string "Not found". find | Whole or partial strings starting from the beginning of a word. find chars | Partial string anywhere within a word. find word | Whole word only. find whole | Whole or patial strings, include spaces , starting from the beginning of a word. find string | Partial strings anywhere, including spaces(ignores word boundaries) The in filed option is not implemented. | ||
Command | flash | flash [ <posInteger> ] |
flashコマンドは<posInteger>で指定した回数、カードイメージを反転させて戻します。<posInteger>を指定しなければ3回です。 HyqerCardではXCMDでしたが、HyqerCardではコマンドです。 | ||
The flash command reverses the card image <posInteger> times. If you don't specify <posInteger>, HyqerCard flashes 3 times. | ||
Command | functionKey | -- functionKey < posInteger > |
未実装 | ||
Not implemented. | ||
Command | get | get < expression > get [ the ] property [ of < object > ] |
getコマンドは式の結果やプロパティーをローカル変数itに代入します。 | ||
The get command puts the value of any expression or property into the local variable it. | ||
Command | go | go [ to ] < card > go [ to ] < stack > go [ to ] < ordinal ( first , prev , next ,last ) > -- go [ to ] < bkgnd > -- go [ to ] [ card of ] [ bkgnd of ] stack [ in a new window ] [without dialog ] |
goコマンドはスタック内のカードへの移動、他スタックへの移動をします。 コマンドが成功した時はresult関数はemptyを返します。カードやスタックに移動できない場合は"No such card." "No such stack."を返します。 <position><bkgnd>への移動、[of bkgnd][of stack][ in a new window ] [without dialog ]オプションは未実装 | ||
The go command takes the user to a card in a stack. HyqerCard put empty into the function the result when the go command succeeds; it put "No such card." or "No such stack." into the result when it can't go to the card or stack. The destination <position>,<bkgnd> and the option [of bkgnd],[of stack], [ in a new window ], [without dialog ] are not implemented | ||
Command | help | -- help |
未実装 | ||
Not implemented. | ||
Command | hide | hide < field > hide < button > hide menubar hide titlebar hide message hide window -- hide card picture -- hide background picture -- hide picture of < card > -- hide picture of < bkgnd > -- hide groups -- hide externalWindow |
hideコマンドはHyqerCardオブジェクトや要素を非表示にします。 以下のものは未実装 hide card picture, hide bkgnd picture, hide picture of < card >, hide picture of <bkgnd> , hide groups , hide externalWindow. | ||
The hide command removes HyqerCard objects and elements from view. The hide < menuBar > command removes the menu bar from the top of the screen. The hide < titleBar > command removes the title bar on the card window. The followings are not implemented. hide card picture, hide bkgnd picture, hide picture of < card >, hide picture of <bkgnd>, hide groups , hide externalWindow. | ||
Command | import | import paint from file < fileName > |
importコマンドは< fileName>の画像イメージを現在のカードにロードします。このコマンドはペイントツールのいずれかが選ばれている時だけ作動します。 このコマンドはペイントツールが選ばれている時に"File"メニューから"Import Paint..."を選んだ時と同じ動作です。ダイアログボックスが表示されないのを除いて。 importが成功したら、HyqerCardはresult関数の結果にemptyをセットします。 失敗(Browseツールが選ばれている時など)した場合は"Couldn't import paint"がセットされます。 | ||
The import paint command loads a Paint image to the current card from a file. Import paint only works when one of the Paint tool is chosen. The command has the same effect as the Import Paint menu item that appears in the File menu (when a Paint tool is chosen), except that it avoids the dialog box that prompts the user for a file name. If export paint suceeds, HyqerCard sets the function the result to empty; if the command fails(if, for example, you use import paint when Browse tool is chosen),HyqerCard sets the result to "Couldn't export paint." | ||
Command | keyDown | -- keyDown < char > |
未実装 | ||
Not implemented. | ||
Command | lock | lock screen lock messages -- lock recent -- lock error dialogs |
lock screenコマンドはスクリーンの更新を妨げます。 lock messagesコマンドはカード移動の際のメッセージ送信を妨げます。 screenとmessagesはidle時に自動でunlockされます。 以下は未実装 lock recent,lock error dialogs | ||
The lock screen command prevents HyqerCard from updating the screen. The lock messages command prevents HyqerCard form sending messages when you go to another card or stack. Note:The screen and the messages are automatically unlocked on idle. The followings are not implemented. lock recent,lock error dialogs | ||
Command | mark | mark all cards mark < card > -- mark cards where < true | false > -- mark cards by finding [<chars | word | whole | string > ] <text> [ in field ] |
markコマンドは指定されたカードのmarkedプロパティーはtrueにします。 marked cardsオプションはfindコマンドで利用できますが、HyperCardと違い、go, show , sortでは利用できません。 | ||
The mark command sets the marked property of the specified cards to true. You can operate on the set of marked cards with command find. Unlike HyperCard, you can't operate on it with such as print, go, show, and sort. | ||
Command | multiply | multiply [ <chunk> of ] <container> by <number> |
multiplyコマンドはコンテナあるいはチャンク内の数字を<number>で割り、コンテナあるいはチャンクに結果を代入します。 | ||
The multiply command multiplies the number in the container or chunk by <number> and puts the result into the container or chunk. | ||
Command | open | open file <filename> -- open <application> -- open <filename> with <application> |
open fileコマンドはデータの読み書きに指定するファイルをopenします。通常はテキストの入出力のために利用します。ファイルが存在しなければHyqerCardは作成します。すでにファイルがopenであればエラーメッセージを表示します。 openしたファイルはclose fileコマンドでcloseしてください。 open <application>とopen <filename> with <application>は未実装。 | ||
The open file command opens the specified file so that you can read data from it and write to it. Usually the file is a text file opened to allow importing or exporting text. If the file doesn't exist, HyqerCard creates it. If the file is already open, HyqerCard displays an error message. Use the close file command to close file after you've opened them. "open <application>" and "open <filename> with <application>" are not implemented. | ||
Command | picture | picture <pictName> , <type> , < style > , <visible> type : resource , file -- clipboard style : dialog , plain , rect -- zoom , roundRect , document , shadow , windoid visible : < true | false > -- depth -- floating |
Command | play | play stop play <sound> play <sound> <notes> play <sound> tempo <posInteger> play <sound> tempo <posInteget> <notes> |
playコマンドは音や一連の音符を鳴らします。Play stopは鳴っている音を即座に停止します。注意:play fluteは止められません。 HyqerCardは音が鳴っている間もハンドラを実行し、他のアクションを行います。ハンドラの停止させる時は"wait until the sound is done"を使ってください。 文字列<notes>は音符をあらわす一連の文字です。音符は以下の書式です。 Name | 次のいずれか: a, b, c, d, e, f, g, r ( r は 休符 ) Accidental | 次のいずれか: #, b Octave | 正の整数 ( 4 は中音のC ) Duration | 次のいずれか: w, h, q, e, s, t, x where w = 全分音符 h = 2分音符 q = 4分音符 e = 8分音符 s = 16分音符 t = 32分音符 x = 64分音符 Durationに続く(.)と数字の3は、付点と三連譜です。 | ||
The play command plays a sound or a series of notes. Play stop stops the current sound immediately; otherwise the sound plays until it's done and stop by iteself. Note: if you play the flute , Play stop doesn't work. HyqerCard continues to run handlers and perform other actions while a sound plays. Use the command "wait until the sound is done" to stop a handler until the sound is done playing. The text string <notes> is sequence of words in which each word represents one note. A note has the following NAOD format (Name, Accidental, Octave, and Duration): Name | one of these letters: a, b, c, d, e, f, g, r ( where r = rest ) Accidental | one of these characters: #, b Octave | a positive integer ( 4 is middle C ) Duration | one of the letters: w, h, q, e, s, t, x where w = whole note h = half note q = quarter note e = eighth note s = 16the note t = 32nd note x = 64th note A duration followed by a period (.) means a dotted note. A duration followed by the number 3 means one note of a triplet. | ||
Command | pop | pop card pop card into [ <chunk> of ] container pop card after [ <chunk> of ] container pop card before [ <chunk> of ] container |
pop cardコマンドは事前にpushコマンドで保存したID(フルカードIDとスタックのパス名)を返します。 コンテナを指定しない場合、そのカードに移動します。コンテナを指定した場合はコンテナにIDを代入し、カード移動しません。IDやスタック情報を確認後、移動するか決めてください。 要注意:違うスタックへのpopには不具合があります。 | ||
The pop card command retrieve the indentification (full card ID and stack pathname) of a card previously saved with the push card command. If you don't provide a container to hold the card information, pop goes directly to the popped card. If you do specify a container, pop puts the card's indentification into the container and you don't go anywhere. You can then check the card ID or stack to decide whether you want to return to that card. Note: popping to another stack has a bug. | ||
Command | -- print card [ from <point1> to <point2> ] -- print all cards -- print marked cards -- print <posInteger> cards -- print < card > [ from <point1> to <point2> ] -- print <field> -- print <fileName> with <application> -- print <expression> | |
未実装 | ||
Not implemented. | ||
Command | push | push card -- push <card> [ of <stack> ] -- push bkgnd [ of <stack> ] -- push <stack> |
pushコマンドはカードのIDをHyqerCardに保存します。内容はフルのカードIDとスタックのパス名です。 pushはLILOで保存し、popコマンドで保存した場所に戻れます。 以下は未実装 push <card> [ of <stack> ], push bkgnd [ of <stack> ], push <stack> | ||
The push command saves the indentification of a card in HyqerCard's memory. HyqerCard saves the full card ID and the path name for the stack. Each call to push saves a card ID in last-in, first-out(LIFO), You can return to saved locations using the pop command. The followings are not implemented. push <card> [ of <stack> ], push bkgnd [ of <stack> ], push <stack> | ||
Command | put | put <expression> put <expression> <preposition> [ <chunk> of ] container put <menuItemList> <preposition> [ menuItem of ] menu [ with menuMessage <messageList> ] |
putコマンドは<expression>を評価し、結果をコンテナの内容を置き換え、もしくは 内容の前、内容の後に置きます。 コンテナはフィールド、ボタン、変数、メッセージボックス、チャンク、メニューがなりえます。 コンテナを指定しなければメッセージボックスに値を入れます。 注意:コンテナにチャンクを使う場合には不具合があります。現存していないチャンクの指定は想定外の挙動をします。 | ||
The put command causes HyqerCard to evaluate an expression and place the result "into", "after", or "before" the contents of a container. The container can be a field, a variable, the Message box,<chunk> expression , or a menu. If you don't specify a container, HyqerCard puts the value into the Message box, showing it if it's hidden. Use put with "into" to replace the contents of a container, with "before" to place the value at the beginning of its contents, and with "after" to append the value to the end of contents. Note:The put command has a bug, when you specify a chunk as a container. | ||
Command | read | read from file <filename> until char read from file <filename> for <postInteger> |
readコマンドはopenされたファイルからデータを読み込みます。読み込んだデータはit変数に格納されます。 読み込みは新たにopenされたファイルの冒頭から読み込み、次の読み込みでは前回の読み込みポイントの後から読みます。 読み込みは指定された文字、または指定された文字数までつづきます。 改行、スペース、tabも文字として扱われます。 atオプションは未実装。 | ||
The read command read data from a file.(You must have already opened the file with the open file command.) Read places the data into to local variable it. Reading starts from the beginning of a newly opened file and continues from the last point read with each succeeding read command. Read continues until it reaches the specified character or until it has read the specified number of characers. All characters count as data, including return characters at the end of lines, spaces, and tab characters. The option "at" is not implimented. | ||
Command | reset | reset menuBar -- reset printing -- reset paint |
Reset menuBarはHyqerCardの標準メニューにもどします。 以下は未実装 reset printing reset paint | ||
Reset menuBar restores the menu bar to HyqerCard's standard menus. followings are not implemented. reset printing reset paint | ||
Command | returnInField | -- returnInField |
未実装 | ||
Not implemented. | ||
Command | returnKey | -- returnKey |
未実装 | ||
Not implemented. | ||
Command | save | save [ this ] stack as [ stack ] <fileName> save stack <fileName> as [ stack ] <fileName> |
saveコマンドはスタックのコピーを保存します。これはFileメニューから "Save a Copy..."を選択するのと同じですが、ファイル選択ダイアログボックスが出ないことが違います。ダイアログボックスにハンドラを邪魔されたくなければsaveコマンドを使ってください。 コピー先のファイルがある時はHyqerCardは結果(the result)に "Couldn't duplicate stack"をセットします。 不具合 アイコンとサウンドのリソースがコピーされない | ||
The save command save a copy of a stack. It's the same as choosing Save a Copy from the File menu, but it does not display directory dialog box. Use save when you do not want a dialog box to interrupt a handler. If the specified stack already exists, HyqerCard sets the value of result to "Couldn't duplicate stack." Bug:Icons and sounds are not copied. | ||
Command | select | select empty select <button> select <field> -- select text of <container> -- select before text of <container> -- select after text of <container> -- select <chunk> of <container> -- select before <chunk> of <container> -- select after <chunk> of <conatiner> |
Selectコマンドはボタン、フィールドを選択します。select <button>はボタンツールを選択し、ボタンをクリックするのと同じです。select <field>はフィールドツールを選択し、フィールドをクリックするのと同じです。 以下は未実装 select text of <container> select before text of <container> select after text of <container> select <chunk> of <container> select before <chunk> of <container> select after <chunk> of <conatiner> | ||
The select command selects buttons, fields. Select <button> selects a button as if you had chosen the Button tool and clicked it. Select <field> selects field as if you had chousen the Field tool and clicked it. Note: You can't use this command to select hidden buttons or fields. Select empty removes the current selection. Use select empty instead of click at to deselect objects. The followings are not implemented. select text of <container> select before text of <container> select after text of <container> select <chunk> of <container> select before <chunk> of <container> select after <chunk> of <conatiner> | ||
Command | set | set [the] <property> to <expression> set [the] <property> of <object> to <expression> -- set [the] property of <window> to <expression> -- set [the] property of [<menuItem> of ] <menu> to <expression> -- set [the] property of <chunk> of <field> to <expression> |
setコマンドは指定された属性を変更します。オブジェクトが指定されなければグローバル属性を変更します。 | ||
The set command changes the state of a specified property. If the "object" to which the property belongs is not specified, the property must be global property. | ||
Command | show | show menubar show titlebar show field -- [ at <point> ] show button -- [ at <point> ] show all cards show message show <window> -- show groups -- show marked cards -- show <posInteger> cards -- show card picture -- show background picture -- show picture of <card> -- show picture of <bkgnd> -- show <window> [ at <point> ] -- show <externalWindow> [ at <point> ] |
showコマンドはHyqerCardのオブジェクトと要素を表示します。 show menubarはスクリーン上部のメニューバーを表示させます。 show titlebarはカードウィンドウのタイトルバーを表示させます。 show messageはmessageウィンドウを表示させます。 show windowはウィンドウを表示させます。 show cardの書式のものは現在のスタック内の指定されたカードを次のカードから初めて順次表示します。 | ||
The show command displays HyqerCard objects and elements. Show menubar displays the menu bar at the top of screen. Show titlebar displays the title bar on the card window. The show card forms display the specified cards in the current stack in turn, beginning with the next card. | ||
Command | sort | -- sort [<sortDirection>] [<sortStyle>] by <expression> -- sort [ this ] stack [<sortDirection>] by <expression> -- sort [ marked ] cards [ of this stack ] [<sortDirection>] [<sortStyle>] by <expression> -- sort <bkgnd> [<sortDirection>] [<sortStyle>] by <expression> -- sort [ marked ] cards of <bkgnd>[<sortDirection>] [<sortStyle>] by <expression> -- sort [ <chunks> of ] <container> [<sortDirection>] [<sortStyle>] |
未実装 | ||
Not implemented. | ||
Command | start | -- start using <stack> |
未実装 | ||
Not implemented. | ||
Command | stop | -- stop using <stack> |
未実装 | ||
Not implemented. | ||
Command | subtract | subtract <number> from [<chunk> of ] container |
subtractコマンドはチャンクまたはコンテナ内の数値から<number>を引いて結果をチャンクまたはコンテナに戻します。 | ||
The subtract command subtracts the number in the container or chunk by <number> and puts the result into the container. | ||
Command | tabKey | -- tabKey |
未実装 | ||
Not implimented. | ||
Command | type | -- type <text> -- type <text> with commandKey |
未実装 | ||
Not implimented. | ||
Command | unlock | unlock screen unlock screen with <effect> [ speed ] [ to <image> ] -- unlock screen with visual [ effect ] <effect > [ speed ] [ to <image> ] |
unlock screenコマンドはlockScreenプロパティーをfalseにセットするのと同じ効果を持ちます。ロックされたスクリーンを更新します。 lock screenとunlock screenの組み合わせはプロパティーの設定以上の利点があります。unlockはオプションとして一つの視覚効果が使えます。スクリーンをロックし、カード上で操作をし(オブジェクトを隠すなど)、その後、視覚効果とともに画面をアンロックします。 以下の | ||
The unlock screen command has the same effect as setting the property lockScreen to false: It allows HyqrCard to update the screeen after a lock screen command. The combination of lock screen and unlock screen has an advantage over setting the property to true or false: unlock screen optionally allows a single visual effect. You can lock the screen, perform actions on the card (such as hiding and showing objects), and then unlock the screen with a visual effect. | ||
Command | unmark | unmark all cards unmark < card > -- unmark cards where < true | false > -- unmark cards by finding [<chars | word | whole | string > ] <text> [ in field ] |
unmarkコマンドは指定されたカードのmarkedプロパティーはfalseにします。マークしたカードを解除するのに使います。 unmarked cardsオプションはfindコマンドで利用できますが、HyperCardと違い、go, show , sortでは利用できません。 | ||
The unmark command sets the marked property of the specified cards to false. Use it to deselet sets of cards that you have marked. You can operate on the set of marked cards with command find. Unlike HyperCard, you can't operate on it with such as print, go, show, and sort. | ||
Command | visual | visual [ effect ] <effect> [ <speed> ] [ to <image> ] |
visualコマンドは別のカードに移動する時の視覚効果を指定します。効果をあらわすにはgoコマンドを実行します。 <speed>オプションは視覚効果の速遅を指定します。 to <image>オプションは目的のカードに移動する前にwhite, gray, black, inverseへスクリーンを変化させます。 | ||
The visual command specifies a visual effect for HyqerCard to use as it moves from one card to another. Visual must be followed by a go command to have any effect. The optional <speed> parameter tells HyqerCard to perform the visual effect faster or slower than normal. The to <image> option changes the screen white, gray, black, inverse, or the image of the destination card before applying the visual effect. | ||
Command | wait | wait <posInteger> [ <ticks> ] wait <posInteger> seconds wait until < true | false > wait while < true | false > |
waitコマンドはハンドラ内の残りの処理を行う前に処理を停止します。停止時間もしくは条件が真になるまで、条件が真の間のいずれかを指定します。 停止時間はsecondsを指定しなければtick(1/60秒)を使います。 | ||
The wait command causes HyqerCard to pause before executing the rest of a handler, either for a specific length of time, until a specified condition becomes true, or while a specified condition remains true. If you do not specify seconds as the unit of time, HyqerCard uses ticks.(One tick equals one-sixtieth of a second.) | ||
Command | write | write <text> to file <filename> |
writeコマンドは<text>をファイルに書き込みます。事前にopen fileコマンドでファイルをopenする必要があり、書き込みが完了したらclose fileコマンドでcloseしてください。 最初の書き込みはファイルの冒頭から書き込みます。既存のファイルの上書きする場合もHyqerCardは注意しません。 close fileするまで、続く書き込みは前回書き込まれた最後の文字の後ろに書き込みます。 atオプションは未実装。 | ||
The write command causes HyqerCard to copy text to a file. You must have already opened the file with the open file command, and shoud close it, when writing is completed, with the close file command. The first write command executed after opening a file replaces the previous contents of a file. HyqerCard does not ask if you wantto write over the existing file. Subsequent write commands append text to the file's contents after the last character written, until you close the file. The option "at" is not implimented. | ||
Function | abs | the abs of <number> |
戻り値:<number>の絶対値 | ||
Value returned: A number equal to the absolute value of <number> | ||
Function | annuity | annuity( <number1> , <number2> ) |
<number>1は利率で<number2>は期間を表します。 戻り値:指定した利率、期間での預金(借金)に対する元本の割合。 | ||
where <number1> represent the interest rate(expressed as a decimal) and <number2> represents the number of period over which you receive annuiy payments. Value returned: The total cost of an annuity now that will pay you one unit per period over the specified number of periods, or number equal to ( 1 - ( 1 + rate ) ^ -periods ) / rate | ||
Function | atan | the atan of <number> |
戻り値:radianで指定した<number>のアークタンジェント 注意:2*piは360度です。 | ||
Value returned: A number equal to the trigonometric arc tangent of <number> expressed in radian. Note: There are 2*pi radians in 360 degrees. | ||
Function | average | avarate( <numberList> ) |
戻り値:コンマで区切られた数値リストの平均値 | ||
Value returned: A number of equal to the arithmetic of the comma-separated list of numbers. | ||
Function | charToNum | the charToNum of <char> |
戻り値:<char>のアスキーコード | ||
Value returned: A positive integer equal to the ASCII value of the <char> | ||
Function | clickChunk | -- the clickChunk |
未実装 | ||
Not implemented. | ||
Function | clickH,clickV | the clickH the clickH |
戻り値 mouseHはカードウィンドウの左から最後にクリックされた位置までのピクセル数を返します。 mouseVはカードウィンドウの上部から最後にクリックされた位置までのピクセル数を返します。 | ||
Value returned: clickH returns an integer equal to the number of pixels from the left of the card window to the place the mouse was last clicked. clickV returns an integer equal to the number of pixels from the top of the card window to the place the mouse was last clicked. | ||
Function | clickLine | -- the clickLine |
未実装 | ||
Not implemented. | ||
Function | clickLoc | the clickLoc |
戻り値:ユーザが直近でクリックした位置を返す。 | ||
Value returned: A point equal to the place on the screen where the user most recently clicked. | ||
Function | clickText | -- the clickText |
未実装 | ||
Not implemented. | ||
Function | commandKey | the commandKey the cmdKey |
戻り値:commandキーが押されているかどうかを、定数upもしくはdownのいずれかを返します。 | ||
Value returned: One of the constants up or down indicating whether the Command key is up or down. | ||
Function | compound | compound( <number1> , <number2> ) |
<number>1は利率で<number2>は期間を表します。 戻り値:指定した利率、期間での元本+利息 | ||
where <number1> represent the interest rate(expressed as a decimal) and <number2> represents the number of period over which interst is compounded. Value returned: The value of one unit of principal invested at the interest rate and compounded over the specified number of periods, or number equal to ( 1 + rate ) ^ periods ) | ||
Function | cos | the cos of <number> |
戻り値:radianで指定した<number>のコサイン 注意:2*piは360度です。 | ||
Value returned: A number equal to the trionometric cosin of <number> expressed in radians. Note: There are 2*pi radians in 360 degrees. | ||
Function | date | the [<adjective>] date date() |
戻り値:Mac!ntoshの現在時刻を文字列で返します。 書式は以下のとおり: the date -- 1/23/16 date() -- 1/23/16 the abbrev date -- Sat, Jan, 23,2016 the short date -- 1/23/16 the long date -- Saturday, January 23, 2016 | ||
Value returned: A text string representing the current date set in your Mac!ntosh, in the following date formats: the date -- 1/23/16 date() -- 1/23/16 the abbrev date -- Sat, Jan, 23,2016 the short date -- 1/23/16 the long date -- Saturday, January 23, 2016 | ||
Function | diskSpace | the diskSpace |
戻り値:ディスクの空きスペースを整数で返します。 | ||
Value returned: A positive integer equal to the number of free space on the disk that contains the current stack. | ||
Function | exp,exp1,exp2 | the exp of <number> the exp1 of <number> the exp2 of <number> |
戻り値: exp 定数eで<number>をべき乗した数値 exp1 exp( <number>) - 1 exp 2のべき乗 | ||
Value returned: Exp returns a number equal to the constant e raised to the power of <number> Exp1 returns a number equal to 1 less than e raised to the power of <number> Exp2 returnd a number equal to 2 raised to the power of <number> | ||
Function | foundChunk | the foundChunk |
戻り値: 直近のfindコマンドが検索した対象文字列のチャンク書式(char)を返します。見つからなければemptyを返します。 チャンク書式は以下の通り char <posInteger> to <posInteger> of <container> | ||
Value returned: A character chunk expression that indicates where the most recent find command located its target string. If nothing was found, it returns empty. The chunk expression returned has the following form. char <posInteger> to <posInteger> of <container> | ||
Function | foundField | the foundField |
戻り値: 直近のfindコマンドが検索した対象文字列のフィールド書式を返します。見つからなければemptyを返します。 フィールド書式は以下の通り card field N bkgnd field N Nはカード番号。 | ||
Value returned: A field expression that identifies the field in which the most recent find command located its target string. If nothing was found, it returns empty. The field expression returned has one of the following forms: card field N bkgnd field N whrer N is the number of the field. | ||
Function | foundLine | -- the foundLine |
未実装 | ||
Not implemented. | ||
Function | foundText | the foundText |
戻り値: 直近のfindコマンドが検索し四角で囲った文字列を返します。見つからなければemptyを返します。 | ||
Value returned: A string equal to the characters enclosed in the box after the most recent find command has located its target string. If nothing was found, it returns empty. | ||
Function | heapSpace | -- the heapSpace |
未実装 | ||
Not implemented. | ||
Function | length | the length of <expression> |
戻り値:<expression>の文字数 | ||
Value returned: The number of characters in the value of the <expression> | ||
Function | ln,ln1,log2 | the ln of <number> the ln1 of <number> the log2 of <number> |
戻り値: ln <number>の定数eを底とする対数 ln1 the ln of <number> - 1 log2 <number>の2を底とする対数 | ||
Value returned: ln returns a number equal to the base-e or natural logarithm of <number> ln1 returns a number equal to 1 less than natural logarithm of <number> log2 returns a number equal to the base-2 logarithm of <number> | ||
Function | max | max(<numberList>) |
戻り値:コンマで区切られた数値リストの最大値 | ||
Value returned: The highest-value number from the comma-separated list of numbers. | ||
Function | menus | the menus |
戻り値:現在のメニューバー内の改行で分けられたメニュー名のリスト | ||
Value returned: A return-separated list of the names of the menus in the current menu bar. | ||
Function | min | min(<numberList>) |
戻り値:コンマで区切られた数値リストの最小値 | ||
Value returned: The number from the comma-separated list of numbers with the lowest value. | ||
Function | mouse | the mouse |
戻り値:マウスボタンがアップかダウンかを定数upもしくはdownで返します。 | ||
Value returned: One of the constants up or down indicationg whether the mouse button is up or down. | ||
Function | mouseClick | the mouseClick |
戻り値:マウスボタンがダウンであれば定数trueをアップであれば定数falseを返します。 -- マウスボタンが押されたままであればボタンがアップになるまで待ったからtrueになります。 | ||
Value returned: The constant true if the mouse button is down or false if it is up. -- If the mouse button is down, the mouseClick waits until the mouse button is up before running true. | ||
Function | mouseH,mouseV | the mouseH the mouseV |
戻り値: mouseHはカードウィンドウの左からマウスポインターまでのピクセル数を返します。 mouseVはカードウィンドウの上部からマウスポインターまでのピクセル数を返します。 | ||
Value returned: mouseH returns an integer equal to the number of pixels from the left of the card window to the current location of the mouse pointer. mouseV returns an integer equal to the number of pixels from the top of the card window to the current location of the mouse pointer. | ||
Function | mouseLoc | the mouseLoc |
戻り値:マウスポインターの位置(x,y)を返します。 | ||
Value returned: A point equal to the current position of the mouse pointer. | ||
Function | number | the number of [card] buttons the number of bkgnd buttons the number of card fields the number of [bkgnd] fields -- the number of marked cards the number of cards -- the number of cards [in <bkgnd> ] [ of this stack ] -- the number of bkgnds [of this stack] -- the number of windows -- the number of menus -- the number of menuitems of menu the number of <chunks> in <expression> |
戻り値:以下のいずれかの数値を返します。 ・現在のカードまたはバックグラウンドのボタン数またはフィールド数 ・カード数 ・HyqerCardがテキストとして扱う文字列の文字数、アイテム数、行数。 以下は未実装 -- the number of marked cards -- the number of cards [in <bkgnd> ] [ of this stack ] -- the number of bkgnds [of this stack] -- the number of windows -- the number of menus -- the number of menuitems of menu | ||
Value returned: A positive integer equal to one of the followings: ・The total number of buttons or fields on the current card or background. ・The total number of cards. ・The number of characters, items, or lines in the value of any HyqerCard expression(treated as text). The followings are not implemented -- the number of marked cards -- the number of cards [in <bkgnd> ] [ of this stack ] -- the number of bkgnds [of this stack] -- the number of windows -- the number of menus -- the number of menuitems of menu | ||
Function | numToChar | The numToChar of <posInteger> |
戻り値:アスキーコード<posInteger>の文字 | ||
Value returned: The character whose ASCII equivalent equals posInteger. | ||
Function | offset | offset( <text1> , <text2> ) |
戻り値:<text1>が<text2>の中に見つからなければ0を返します。見つかれば、<text2>内の開始位置を返します。 | ||
Value returned: The number 0 in <text1> does not appear in <text2> otherwise, a positive integer equal to the number of characters from the first charcter of <text2> to the first character of <text1> within text2. | ||
Function | optionKey | the optionKey |
戻り値:optionキーが押されているかどうかを、定数upもしくはdownのいずれかを返します。 | ||
Value returned: One of the constants up or down indicating whether the Option key is up or down. | ||
Function | param | the param of <posInteger> |
戻り値:現在のハンドラに於けるパラメータ変数の値(名前ではない)を返します。パラメータ変数がなければemptyを返します。 「the param of 0」はメッセージ名自体です。 | ||
Value returned: The value(not the name) of a parameter variable in the current handler or empty if the parameter variable does not exit. The param of 0 is the name of the message itself. | ||
Function | paramCount | the paramCount |
戻り値:現在のハンドラに渡されているパラメータの数。 | ||
Value returned: A positive integer equal to the total number of parameters passed to the current handler. | ||
Function | params | the params |
戻り値:現在実行されているハンドラに渡されたパラメータのリスト(メッセージ名を含む) | ||
Value returned: A text string equal to the entire parameter list, including the message name, passed to the currently exexuting handler. | ||
Function | random | the random of <posInteger> |
戻り値:1から<posInteger>までの乱数(整数)を返します。 | ||
Value returned: A random integer between 1 and <posInteger> | ||
Function | result | the result |
戻り値: 下記のコマンドは成功したらemptyを返します。 answer, ask, convert, create, export, find, go, import, open, save 失敗したら、メッセージ(文字列)を返します。 ハンドラでは以下の文によってコマンドの結果を確認することが良いです。 if the result is not empty then ... こうすればハンドラは特定の文字列に依存せずにすみます。 | ||
Value returned: --・The value set by a return keyword during the execution of a messages or -- function handler. ・empty if an answer, ask, convert, create, export, find, go, import, open, or save command succeeds( or is not canceled by user); otherwise, a message string. In handlers, it's usually best to test a command with an expression such as if the result is not empty then ... That way, the handler doesn't rely on the specific value of string. | ||
Function | round | the round of <number> |
戻り値:<number>の四捨五入 | ||
Value returned: An integer equal to the nearest integer to number. | ||
Function | screenRect | the screenRect |
戻り値:スクリーンのサイズをleft,top,width,heightで返します。 | ||
Value returned: A rectangle equal to the dimension of the screen pixels. | ||
Function | seconds | the seconds -- the secs |
戻り値:1904年1月1日の0時から現在までの通算秒数。 | ||
Value returned: An integer equal to the number of seconds between midnight, January 1, 1904, and the current time set in your Mac!ntosh. | ||
Function | selectedChunk | -- the selectedChunk |
未実装 | ||
Not implemented. | ||
Function | selectedField | -- the selectedField |
未実装 | ||
Not implemented. | ||
Function | selectedLine | -- the selectedLine the selectedLine of listField the selectedLine of popupButton |
listFieldの場合は、反転している文字の行を表す表現を返す。 popupButtonの場合はpopupButtonの選択されているコンテンツの行を表す表現を返す。 line i of { card | bkgnd } field n line i of { card | bkgnd } button n iは行番号でnはボタンまたはフィールドの番号 | ||
・for the selectedLine of listField, a line expression that indicates the line of a list field in which the characters are currently highlighted. ・for the selectedLine of popupButton, a line expression that indicates the line of a list field in which the characters are currently highlighted. line i of { card | bkgnd } field n line i of { card | bkgnd } button n where i is the line number and n is the number of a popup button or field. | ||
Function | selectedLoc | -- the selectedLoc |
未実装 | ||
Not implemented. | ||
Function | selectedText | the selectedText of <field> |
戻り値:ロックされたフィールドのハイライトされた文字列。 | ||
Value returned: A string equal to the range of characters currently highlighted of a locked field. | ||
Function | shiftKey | the shiftKey |
戻り値:shiftキーが押されているかどうかを、定数upもしくはdownのいずれかを返します。 | ||
Value returned: One of the constants up or down indicating whether the Shift key is up or down. | ||
Function | sin | the sin |
戻り値:radianで指定した<number>のサイン 注意:2*piは360度です。 | ||
Value returned: A number equal to the trionometric sine of <number> expressed in radians. Note: There are 2*pi radians in 360 degrees. | ||
Function | sound | the sound |
戻り値:現在鳴っているサウンドリソース名。サウンドがなっていなければ"done"を返します。 スクリプトはサウンドがなっていても実行を続けるので、sound関数は他のアクションと同期をとるのに使えます。 | ||
Value returned: A text string equal to the name of the sound resource currently playing(such as "boing") or the string "done" if no sound is currently playing. The sound function enables you to synchronize sounds with other actions, because scripts continue to run while sounds are playng. | ||
Function | sqrt | the sqrt of <number> |
戻り値:<number>の平方根を返します。<number>が負の数の場合は"NAN"を返します。意味は"not a number"です。 | ||
Value returned: A number equal to the square root of <number>, If <number> is negative, sqrt returns NAN , which means "not a number" | ||
Function | stacks | -- the stacks |
未実装 | ||
Not implemented. | ||
Function | systemVersion | the systemVersion |
戻り値:Mac!ntoshのシステムバージョン | ||
Value returned: The system verision of your Mac!ntosh. | ||
Function | tan | the tan |
戻り値:radianで指定した<number>のタンジェント 注意:2*piは360度です。 | ||
Value returned: A number equal to the trionometric tangent of <number> expressed in radians. Note: There are 2*pi radians in 360 degrees. | ||
Function | target | the target |
未実装 | ||
Not implemented. | ||
Function | ticks | the ticks |
戻り値:Mac!ntoshが起動もしくはリスタートしてからのtick数(tickは1/60秒)。 | ||
Value returned: An integer equal to the number of ticks since the Mac!ntosh was turned on or restarted(one tick equals on-sixtieth of a second). | ||
Function | time | the [adjective] time time() |
戻り値:現在時刻を文字列で返します。 the time -- 20:39 time() -- 20:39 the abbrev time -- 8:39 PM the short time -- 20:39 the long time -- 20:39:55 | ||
Value returned: A text string representing the current time set. the time -- 20:39 time() -- 20:39 the abbrev time -- 8:39 PM the short time -- 20:39 the long time -- 20:39:55 | ||
Function | tool | the tool |
戻り値:現在選ばれているツール名。 | ||
Value returned: A text string equal to the name of the currently chosen tool. | ||
Function | trunc | the trunc |
戻り値:数の整数の部分を返します。正負の符号にかかわらず小数点以下は無視されます。 | ||
Value returned: An integer equal to the integer part of number. Any fractional part is disregarded, regardless of the number's sign. | ||
Function | value | -- the value of <expression> |
-- 戻り値:HyqerTalkが評価したのちの値を返します。 | ||
-- Value returned: The value of the expression after HyqerTalk evaluates it. | ||
Function | windows | -- the window |
未実装 | ||
Not implemented. | ||
Property | autoHilite | set [the] autoHilite of <button> to <trueOrFalse> |
autoHiliteプロパティーはボタンがmouseDownイベントに対し自動的にハイライトするかどうかの値を返すもしくは設定します。 | ||
The autoHilite property returns or sets whether a button highlights automatically in response to a mouseDown event. | ||
Property | autoTab | -- set [the] autoTab of <field> to <trueOrFalse> |
未実装 | ||
Not implemented. | ||
Property | blindTyping | -- set [the] blindTyping of <> to <trueOrFalse> |
未実装 | ||
Not implemented. | ||
Property | bottom | set [the] bottom of <button> to <integer> set [the] bottom of <fieled> to <integer> set [the] bottom of <window> to <integer> |
bottomプロパティーはオブジェクトの底辺の位置の値を返すもしくは設定します。オブジェクトのbottomを設定すると垂直方向に移動します。サイズは変わりません。 HyqerCardはボタンやフィールドのbottomをカードウィンドウの上部左との相対位置で決定します。 HyqerCardはカードウインドウのbottomをスクリーンの上部左との相対位置で決定します。 | ||
The bottom property returns or sets an integer equal to item 4 of an object's rectangle. If you set the bottom of an object, it moves vertically. The size of the object remains the same. HyqerCard determins the bottom of buttons and fields relative to the top-left corner of the card window. HyqerCard determins the bottom of card window relative to the top-left corner of the screen with menu bar. | ||
Property | bottomRight | set [the] bottomRight of <button> to <point> set [the] bottomRight of <field> to <point> set [the] bottomRight of <window> to <point> |
bottomRightプロパティーはオブジェクトの底辺右の位置の点を返すもしくは設定します。オブジェクトのbottomRightを設定すると移動します。サイズは変わりません。 HyqerCardはボタンやフィールドのbottomRightをカードウィンドウの上部左との相対位置で決定します。 HyqerCardはカードウィンドウのbottomRightをスクリーンの上部左との相対位置で決定します。 以下は未実装 set [the] bottomRight of <window> to <point> | ||
The bottomRight property returns or sets a <point> equal to 3 and 4 of an object's rectangle. If you set the bottomRight of an object, it moves. The size of the object remains the same. HyqerCard determins the bottomRight of buttons and fields relative to the top-left corner of the card window. HyqerCard determins the bottomRight of card window relative to the top-left corner of the card window with menu bar. | ||
Property | brush | set [the] brush to <posInteger> where <posInteger> is from 1 to 8. |
brushプロパティーの値は1から8の整数で、Brush Shapeダイアログのブラシ形状に相当します。初期値は8です。 | ||
The value brush property can be an integer from 1 to 8 representing a brush shape from the Brush Shape dialog box. The default brush is 8. | ||
Property | cantAbort | -- set [the] cantAbort of <stack> to <trueOrFalse> |
未実装 | ||
Not implemented. | ||
Property | cantDelete | -- set [the] cantDelete of <card> to <trueOrFalse> -- set [the] cantDelete of <bkgnd> to <trueOrFalse> -- set [the] cantDelete of <stack> to <trueOrFalse> |
未実装 | ||
Not implemented. | ||
Property | cantModify | -- set [the] cantModify of <stack> to <trueOrFalse> |
未実装 | ||
Not implemented. | ||
Property | cantPeek | -- set [the] cantPeek of <stack> to <trueOrFalse> |
未実装 | ||
Not implemented. | ||
Property | centered | -- set [the] centered to <trueOrFalse> |
未実装 | ||
Not implemented. | ||
Property | checkMark | set [the] checkMark of <menuItem> of <menu> to <true|false> |
checkMarkプロパティーはメニューアイテムの前のチャックマークを表示するかどうかを返すまたは設定します。 | ||
The checkMark property returns or sets whether a check mark character appears in front of a menu item. | ||
Property | commandChar | -- set [the] commandChar of <menuItem> of <menu> to <char> |
未実装 | ||
Not implemented. | ||
Property | cursor | set [the] cursor to <cursor> |
cursorプロパティーはマウスポインターのイメージを設定します。 -- getはできない。 HyqerCardはビルトインカーソルを提供します。 (HyqerCardはidle状態になったら自動的にカーソルを現在のtoolカーソルにもどします。) ビルトインカーソルは以下のとおり。 1 Ibeam 2 cross 3 plus ( valid when you use Safari browser ) 4 watch ( valid when you use Safari browser ) hand arrow busy(valid when you use Safari browser) none | ||
The cursor property sets the image that appears as the pointer on the screen. -- You cannot get the current value of the cursor. HyqerCard provides a number of built-in cursors that you can use. (HyqerCard automatically resets the cursor to the image for the current tool on idle - when no other action is happening.) THe built-in cursors are: 1 Ibeam 2 cross 3 plus ( valid when you use Safari browser ) 4 watch ( valid when you use Safari browser ) hand arrow busy(valid when you use Safari browser) none | ||
Property | debugger | -- set [the] debugger to <debuggerName> |
未実装 | ||
Not implemented. | ||
Property | dontSearch | set [the] dontSearch of <field> to <trueOrFalse> set [the] dontSearch of <card> to <trueOrFalse> set [the] dontSearch of <bkgnd> to <trueOrFalse> |
dontSearchプロパティーはfindコマンドがfield,card,backgroundを検索するかどうかを返すもしくは設定します。このプロパティーはField Info, Card Info, Background Infoの各ダイアログボックスの"Don't Search"チェックボックスで設定します。 | ||
The dontSearch property returns or sets whether HyperCard's find command will look for matches in a field, card, or background. It corresponds to the Don't Search check box in the Field Info, Card Info, and Background Info dialog boxes. | ||
Property | dontWrap | set [the] dontWrap of <field> to <trueOrFalse> |
dontWrapプロパティーはフィールド幅より長いテキスト右端で折り返すかどうかを返すもしくは設定します。(HyqerTalkでは改行コード"return"が行を決定します。) このプロパティーはField Infoのダイアログボックスの"Don't Wrap"チェックボックスで設定します。 | ||
The dontWrap property returns or sets whether a field wraps text that is longer than the width of the field or instead truncates the text at the right edge of the field(in HyqerTalk, a return charavter determins a line). It corresponds to the Don't Wrap option in a FIeld Info dialog box. | ||
Property | dragSpeed | -- set [the] dragSpeed to <trueOrFalse> |
未実装 | ||
Not implemented. | ||
Property | editBkgnd | -- set [the] editBkgnd of to <trueOrFalse> |
未実装 | ||
Not implemented. | ||
Property | enabled | -- set [the] enabled of menu to <trueOrFalse> set [the] enabled of menuitem of menu to <trueOrFalse> set [the] enabled of <cd or bg> <button> |
enabledプロパティーはメニューアイテムやボタンがアクティブかそうでないかを返すか設定をします。アクティブでないメニューアイテムは選べず、ボタンは押せません。 | ||
The enabled property returns or sets whether a menu item or a button is active or inactive(dimmed). Users cannot choose dimmed menu items or press dimmed buttons. | ||
Property | filled | set [the] filled of to <trueOrFalse> |
filledプロパティーはパターンパレットで選択されているパターンで塗りつぶすかどうかを返すもしくは設定します。"Options"メニューの"Filled"メニューアイテムで設定します。 初期値はfalseです。 FilledプロパティーはRectangleとOvalの時に有効です。 | ||
The filled property returns or sets whether HyqerCard fills shapes with the current pattern on the Patterns palette as you draw them. It corresponds to the Filled command in the Options menu(which appears when you select a Paint tool). The default value is false. The filled property affects the Rectangle and Oval. | ||
Property | fixedLineHeight | -- set [the] fixedLineHeight of <field> to <trueOrFalse> |
未実装 | ||
Not implemented. | ||
Property | freeSize | -- the freeSize of stack |
未実装 | ||
Not implemented. | ||
Property | grid | -- set [the] grid to <trueOrFalse> |
未実装 | ||
Not implemented. | ||
Property | height | set [the] height of <button> to <integer> set [the] height of <field> to <integer> -- set [the] height of <card> to <integer> set [the] height of <window> to <integer> |
heightプロパティーはオブジェクトの高さ(pixel単位)返すもしくは設定します。ボタンやフィールドのheightを設定すると、大きさが変わります。オブジェクトのlocation(中心点、幅は変わらず高さが変わります。 | ||
The height property returns or sets an integer equal to the height in pixels of an object. Setting the height of a button or field resizes it. HyqerCard maintains the location(center coordinate) of the object, expanding or shrinking it on both sides evenly. | ||
Property | hilite | set [the] hilite of <button> to <trueOrFalse> |
hiliteプロパティーはボタンが強調(反転)されているかを返す、もしくは強調設定します。 | ||
The hilite property returns or sets whether a button is highlighted(shown in inverse video.) | ||
Property | icon | set [the] icon of <button> to <posInteger> set [the] icon of <button> to <text> where <text> is the name of an icon |
iconプロパティーはボタンに表示されるアイコンを返すもしくは設定します。iconプロパティーを設定するのは"Button Info"ダイアログボックスでアイコンをせたくするのと同じです。 iconプロパティーの値は利用可能なiconリソースのID番号です。アイコンが設定されていなければ0です。アイコンを表示させるには現在のスタックかHyqerCard自身のアイコンリソースが利用可能である必要があります。 | ||
The icon property returns or sets whether icon displayed by a button. Setting it is the same as choosing an icon from the Button Info dialog box. -- HyqerCard sets the function the result to "Can't find that icon." if it can't find the icon(otherwise the result is empty). The value of the icon property is an integer corresponding to the ID number of an available icon resource. If a button has no icon, the icon property is 0. For an icon to be displayed on a button, its resource must be a available in the current stack or HyqerCard itself. | ||
Property | ID | --the ID of <button> --the ID of <field> --the ID of <card> --the ID of <bkgnd> |
IDプロパティーは未実装 | ||
The ID property returns the permanent ID number of any button, field, card, or background in the current stack. You can't change the ID number of an object. All object except stack have ID numbers. If an object doesn't have a name Hyper | ||
Property | language | -- set [the] language of <> to <trueOrFalse> |
未実装 | ||
Not implemented. | ||
Property | left | set [the] left of <button> to <integer> set [the] left of <field> to <integer> set [the] left of <window> to <integer> |
leftプロパティーはオブジェクトの左上の位置の値を返すもしくは設定します。オブジェクトのleftを設定すると水平方向に移動します。サイズは変わりません。 HyqerCardはボタンやフィールドのleftをカードウィンドウの上部左との相対位置で決定します。 HyqerCardはカードウィンドウのleftをスクリーンの上部左との相対位置で決定します。 | ||
The left property returns or sets an integer equal to the item 1 of an object's rectangle. if you set the left of an object, it moves horizontally. The size of the object remains the same. HyqerCard determins the left of buttons and fields relative to the top-left corner of the card window. HyqerCard determins the left of the card window relative to the top-left corner of the screen with the menubar. | ||
Property | lineSize | set [the] lineSize to <posInteger> where posInteger is 1,2,3,4,6 or 8. |
lineSizeプロパティーはペイントツールで描線する際の線の太さのピクセルを返すもしくは設定します。ペイントツールを選択した際のOptionsメニューのLineSizeダイアログで設定できます。 lineSizeプロパティーはLine,Rectangle,Ovalの時に有効です。 初期値は1。 | ||
The lineSize property returns or sets the thickness, in pixels, of lines drawn by the Paint tools. It corresponds to the line size in the Line Size dialog from the Options menu(which appears when you select a Paint tool). The lineSize property affects the Line, Rectangle, Oval tools. The default value is 1. | ||
Property | location | set [the] loc of <button> to <point> set [the] loc of <field> to <point> set [the] loc of <window> to <point> -- set [the] loc of <externalWindow> to <point> |
locationプロパティーはボタンとフィールドの中心位置またはウインドウの左上を返すもしくは設定します。ボタンやフィールドのlocationを設定すると位置が変わります。 HyqerCardはボタンとフィールドの位置をカードウインドウの左上との相対位置で決定します。 HyqerCardはカードウインドウの位置をスクリーンの左上との相対位置で決定します。 | ||
The location property returns or sets the center point of a button or field and the top-left corner of a window.Setting the location of button or field moves it to the new location. HyqerCard determins the location of buttons and fields relative to the top-left corner of the card window. HyqerCard determins the location of card window relative to the top-left corner of the screen with menu bar. | ||
Property | lockMessages | set [the] lockMessages to <trueOrFalse> |
lockMessagesプロパティーはHyqerCardが以下のメッセージを自動で送るかどうかを返すもしくは設定します。 closeCard, closeBackground, closeStack, openCard, openBackground, openStack lockMessageプロパティーをtrueに設定すると、情報を得たり保存するためにカードを移動し、そこに止まらない際に有用です。(lockMessagesをtrueにすると速く動作します。) 初期値はtrueなので、HyqerCardは上記メッセージを送ります。HyqerCardはidle時にlockMessagesをfalseに設定します。 | ||
The lockMessages property returns or sets whether HyqerCard sends certain messages automatically. The message affected are closeCard, closeBackground, closeStack, openCard, openBackground, openStack. Setting lockMessages to true is useful when you want to go to a card to retrieve or save information, but you don't want to stay there(the handler will run faster with lockMessages set to true). The default setteing is false, meaning that HyqerCard does send the messages. HyqerCard sets LockMessages to false on idle. | ||
Property | lockRecent | -- set [the] lockRecent of to <trueOrFalse> |
未実装 | ||
Not implemented. | ||
Property | lockScreen | -- set [the] lockScreen to <trueOrFalse> |
未実装 | ||
Not implemented. | ||
Property | lockText | set [the] lockText of <field> to <trueOrFalse> |
lockTextプロパティーは指定したフィールドでテキストを編集できるかどうかを返すもしくは設定します。フィールドインフォダイアログの"Lock Text"チェックボックスで設定します。デフォルトはfalseです。 フィールドがロックされている時はmousedown, mouseStillDown, mouseUpのシステムメッセージを受け取ります。 | ||
The lockText property returns or sets whether the user can edit the text within a specified field. It corresponds to the Lock Text check box in a Field Info dialog box. The default value is false(meaning the field is unlock). When a field is locked, it can receive the system message mousedown, mouseStillDown, and mouseUp when the user clicks it. | ||
Property | longWindowTitles | -- set [the] longWindowTitles to <trueOrFalse> |
未実装 | ||
Not implemented. | ||
Property | markChar | -- set [the] markChar of <menuItem> of <menu> to <char> |
未実装 | ||
Not implemented. | ||
Property | marked | -- set [the] marked of <card> to <trueOrFalse> |
未実装 | ||
Not implemented. | ||
Property | menuMessage | -- set [the] menuMessage of <menuItem> of <menu> to <messageName[parameterList]> |
未実装 | ||
Not implemented. | ||
Property | messageWatcher | -- set [the] messageWatcher to <resourceName> |
未実装 | ||
Not implemented. | ||
Property | multiple | -- set [the] multiple to <trueOrFalse> |
未実装 | ||
Not implemented. | ||
Property | multiSpace | -- set [the] multiSpace to <posInteger> |
未実装 | ||
Not implemented. | ||
Property | name | the [adjective] name of <objecy> set [the] name of <object> to <text> -- set [the] name of <menuItem of > menu to <text> |
nameプロパティーはボタン、フィールド、カード、バックグラウンドの名前を返すまたは設定します。 形容詞shortはオブジェクトの名称を様々な | ||
The name property returns or sets the name of a button, field, card or background. The adjectives long, abd short returns various of an object's name. | ||
Property | number | [the] number of <button> [the] number of <field> [the] number of <card> [the] number of <bkgnd> |
numberプロパティーはボタン、フィールド、カード、バックグラウンドの番号を返します。オブジェクトの番号は設定できません。ボタンとフィールドの番号は同一レイヤー(バックグラウンドかカード)内において、どちらが前面に表示されるかを決めます。カードは常にバックグラウンドの前面にあります。 カード番号はスタック内のカードに位置です。バックグラウンド番号は作られた順番です。 | ||
The number property returns the number of a button, field, card or background.(You cannot set an object's number.) The number of a button or field determins whether it's on top of other buttons and fields within the same layer(background or card) that contains it. Card objects are always top of background objects. The number of a card is its position within a stack. The number of a background is the order in which the background was created. | ||
Property | numberFormat | -- set [the] numberFormat to <text> |
未実装 | ||
Not implemented. | ||
Property | pattern | set [the] pattern to <posInteger> where <posInteger> is from 1 to 40. |
patternプロパティーはペイントツールでrectangleとovalで内側を塗りつぶすのとブラシツールで描く時のパターンを返すまたは設定します。 | ||
The pattern property returns or sets the current pattern used to fill shapes or to paint with the Brush tool. | ||
Property | polySides | -- set [the] polySides to <posInteger> |
未実装 | ||
Not implemented. | ||
Property | powerKeys | -- set [the] powerkeys to <trueOrFalse> |
未実装 | ||
Not implemented. | ||
Property | printMargins | -- set [the] printMargins to <rect> |
未実装 | ||
Not implemented. | ||
Property | printTextAlign | -- set [the] printTextAlign to <alignment> |
未実装 | ||
Not implemented. | ||
Property | printTextFont | -- set [the] printTextFont to <font> |
未実装 | ||
Not implemented. | ||
Property | printTextHeight | -- set [the] printTextHeight to <posInteger> |
未実装 | ||
Not implemented. | ||
Property | printTextSize | -- set [the] printTextSize to <posInteger> |
未実装 | ||
Not implemented. | ||
Property | printTextStyle | -- set [the] printTextStyle to <textStyleList> |
未実装 | ||
Not implemented. | ||
Property | rectangle | set [the] rect of <button> to <rectangle> set [the] rect of <field> to <rectangle> -- set [the] rect of <card> to <rectangle> set [the] rect of <window> to <rectangle> |
rectangleプロパティーはボタンとフィールドの長方形の座標を返すまたは設定します。 HyqerCardはボタンとフィールドのrectangleをカードウィンドウの左上部との相対位置で決定します。 HyqerCardはカードウィンドウのrectangleをスクリーンの左上部との相対位置で決定します。 | ||
The rectangle property returns or sets the rectangular coordinates of buttons and fields. HyqerCard determins the rectangle of buttons and fields relative to the top-left corner of the card window. HyqerCard determins the rectangle of card window relative to the top-left corner of the card window with menu bar. | ||
Property | reportTempaltes | -- set [the] reportTempaltes of <stack> |
未実装 | ||
Not implemented. | ||
Property | right | set [the] right of <button> to <integer> set [the] right of <field> to <integer> set [the] right of <window> to <integer> -- the right of card |
rightプロパティーはオブジェクトの左上の位置の値を返すもしくは設定します。オブジェクトのleftを設定すると水平方向に移動します。サイズは変わりません。 HyqerCardはボタンやフィールドのrightをカードウィンドウの上部左との相対位置で決定します。 | ||
The right property returns or sets an integer equal to the item 3 of an object's rectangle. if you set the left of an object, it moves horizontally. The size of the object remains the same. HyqerCard determins the right of buttons and fields relative to the top-left corner of the card window. HyqerCard determins the right of card window relative to the top-left corner of the screen with menu bar. | ||
Property | script | set [the] script of <object> to <text> |
scriptプロパティーは現在のスタックの指定されたオブジェクトのscriptを返すまたは設定します。 | ||
The script property returns or sets a text string equal to the script of the specified object in the current stack. | ||
Property | scriptEditor | -- set [the] scriptEditor to <resourceName> |
未実装 | ||
Not implemented. | ||
Property | scriptTextFont | -- set [the] scriptTextFont to <font> |
未実装 | ||
Not implemented. | ||
Property | scriptTextSize | -- set [the] scriptTextSize to <posInteger> |
未実装 | ||
Not implemented. | ||
Property | scroll | set [the] scroll of <field> to <integer> -- set [the] scroll of [ the ]<card> window to <integer> |
scrollプロパティーはスクローリングフィールドの表示する行を返すまたは設定します。 <integer>はフィールドがどれだけスクロールするかをpixel単位で指定します。 | ||
For scrolling fields, the scroll property returns or sets which lines of text currently appear(as indicated by the scoll bar). The <integer> represents the number of pixels that have scrolled above the top of the field's rectangle. | ||
Property | sharedHilite | -- set [the] sharedHilite of <button> to <trueOrFalse> |
未実装 | ||
Not implemented. | ||
Property | sharedText | set [the] sharedText of <field> to <trueOrFalse> where <field> is a background field only. |
sharedTextプロパティーはバックグラウンドフィールドが同じテキストを表示するかどうかを返すまたは設定します。初期値はfalseで各カードで別のテキストです。 各カードで同じテキストを表示させるにはsharedTextをtrueに設定します。 | ||
The sharedText property returns or sets whether a background field displays the same text on every card of the background. The default value for new fields is false, meaning the text in the field can be different on each card. Set sharedText to true if you want the same text to appear on each card of the background. | ||
Property | showLines | set [the] showLines of <field> to <trueOrFalse> |
showLinesプロパティーはテキストの下線を表示するかどうかを返すまたは設定します。フィールドインフォダイアログボックスの"Show Lines"チェックボックスで設定します。 初期値はfalse。 | ||
The showLines property returns or sets whether the text baselines of a field appear. It corresponds to the Show Lines check box in Field Info dialog box. The default value is false(meaning that the baselines are invisible). | ||
Property | showName | set [the] showName of <button> to <trueOrFalse> |
showNameプロパティーはボタンの名前を表示するかどうかを返すまたは設定します。 ボタンインフォダイアログボックスの"Show Name"チェックボックスで設定します。 初期値はtrue。 | ||
The showName property returns or sets whether HyqerCard displays the name of a button(if it has one) within the button's rectangle. It corresponds to the Show Name check box in a Button Info dialog box. The default vaue is true. | ||
Property | showPict | set [the] showPict of <card> to <trueOrFalse> set [the] showPict of <bkgnd> to <trueOrFalse> |
showPictプロパティーはカードまたはバックグラウンドの画像を表示するかどうかを返すまたは設定します。初期値はtrue。 | ||
The showPict property returns or sets whether HyqerCard shows any graphics or paint text for a card or background. The default value is true, meaning that all graphics and paint appear. | ||
Property | size | -- [the] size of <stack> |
未実装 | ||
Not implemented. | ||
Property | stackInUse | -- [the] stackInUse |
未実装 | ||
Not implemented. | ||
Property | style | set [the] style of <button> to <btnStyle> set [the] style of <field> to <fldStyle> |
styleプロパティーはボタン、フィールドの形状を返すまたは設定します。ボタンインフォ、フィールドインフォダイアログボックスで設定します。 ボタンは次のいずれかの形状を設定できます。 transparent, opaque, rectangle, roundRect, shadow, standard フィールドは次のいずれかの形状を設定できます。 transparent, opaque, rectangle, shadow, scrolling | ||
The style property returns or sets the style of button or field. It corresponds to the style radio popup button in a Button Info or FIeld Info dialog box. A button can have one of the following styles: transparent, opaque, rectangle, roundRect, shadow or standard. A field cat have one of the following styles: transparent, opaque, rectangle, shadow or scrolling. | ||
Property | suspend | -- [the] suspend |
未実装 | ||
Not implemented. | ||
Property | textAlign | -- set [the] textAlign to <alignment> set [the] textAlign of <field> to <alignment> set [the] textAlign of <button> to <alignment> |
textAlignプロパティーはフィールドにおけるテキスト、ボタン名の整列方法を返すまたは設定します。left,right,centerを指定できます。初期値はleft. | ||
The textAlign property returns or sets the way of text in a field, or a button name aligns within its rectangle. It can align left, right, or center. The default value is left. | ||
Property | textArrows | -- set [the] textArrows to <trueOrFalse> |
未実装 | ||
Not implemented. | ||
Property | textFont | -- set [the] textFont to <text> set [the] textFont of <field> to <text> set [the] textFont of <button> to <text> where <text> is the name of a font available from the current stack. |
textFontプロパティーはフィールドにおけるテキスト、ボタン名のフォントを返すまたは設定します。フィールドの初期値はGeneva、ボタンの初期値はKrungthep。 | ||
The textFont property returns or sets the font of text in a field, or a button name. The default value is Geneva for fields; the default is Krungthep for buttons. | ||
Property | textHeight | -- set [the] textHeight to <posInteger> -- set [the] textHeight of <field> to <posInteger> |
未実装 | ||
Not implemented. | ||
Property | textSize | -- set [the] textSize to <posInteger> set [the] textSize of <field> to <posInteger> set [the] textSize of <button> to <posInteger> |
textSizeプロパティーはフィールドのテキストとボタン名のフォントサイズをpixelで返すまたは設定します。初期値は12。 | ||
The textSize property returns or sets the size, in pixels, of the font for text in a filed, or button name. The default value is 12. | ||
Property | textStyle | -- set [the] textStyle of <> to <trueOrFalse> |
未実装 | ||
Not implemented. | ||
Property | top | -- the top of card set [the] top of <button> to <integer> set [the] top of <field> to <integer> set [the] top of <window> to <integer> |
topプロパティーはオブジェクトの上の位置の値を返すもしくは設定します。オブジェクトのtopを設定すると垂直方向に移動します。サイズは変わりません。 HyqerCardはボタンやフィールドのtopをカードウィンドウの上部左との相対位置で決定します。 HyqerCardはカードウインドウのtopをスクリーンの上部左との相対位置で決定します。 | ||
The top property returns or sets an integer equal to the item 2 of an object's rectangle. if you set the top of an object, it moves vertically. The size of the object remains the same. HyqerCard determins the top of buttons and fields relative to the top-left corner of the card window. HyqerCard determins the top of card window relative to the top-left corner of the screen with menu bar. | ||
Property | topLeft | -- the topLeft of card set [the] topLeft of <button> to <point> set [the] topLeft of <field> to <point> set [the] topLeft of <window> to <point> |
topLeftプロパティーはオブジェクトの左上部の位置の点を返すもしくは設定します。オブジェクトのtopLeftを設定すると移動します。サイズは変わりません。 HyqerCardはボタンやフィールドのtopLeftをカードウィンドウの上部左との相対位置で決定します。 HyqerCardはカードウインドウのtopLeftをスクリーンの上部左との相対位置で決定します。 以下は未実装 set [the] topLeft of <window> to <point> | ||
The topLeft property returns or sets a <point> equal to 1 and 2 of an object's rectangle. If you set the topLeft of an object, it moves. The size of the object remains the same. HyqerCard determins the topLeft of buttons and fields relative to the top-left corner of the card window. HyqerCard determins the topLeft of card window relative to the top-left corner of the screen with menu bar. The followings are not implemeted. the topLeft of card | ||
Property | traceDelay | -- set [the] traceDelay to <posInteger> |
未実装 | ||
Not implemented. | ||
Property | userLevel | -- set [the] userLevel to <posInteger> |
未実装 | ||
Not implemented. | ||
Property | userModify | -- set [the] userModify to <trueOrFalse> |
未実装 | ||
Not implemented. | ||
Property | variableWatcher | -- set [the] variableWatcher to <resourceName> |
未実装 | ||
Not implemented. | ||
Property | version | the version [of HyqerCard] the long version [of HyqerCard] the version of <stack> |
versionプロパティーはHyqerCardアップリケーションのバージョンを返します。 | ||
The version property returns the version number of the HyqerCard application that is currently running. | ||
Property | visible | set [the] visible of <button> to <trueOrFalse> set [the] visible of <field> to <trueOrFalse> -- set [the] visible of <window> to <trueOrFalse> -- set [the] visible of <externalWindow> to <trueOrFalse> |
visibleプロパティーはボタンまたはフィールドを表示するかどうかを返すまたは設定する。 | ||
The visible property returns or sets whether a button or field is visible on the screen. | ||
Property | wideMargins | set [the] widwMargins of <field> to <trueOrFalse> |
widwMarginsプロパティーはフィールドの端のスペース幅を広くするかどうかを返すまたは設定します。フィールドインフォダイアログボックスの"Wide Margins"チェックボックスで設定します。 初期値はfalse。 | ||
The widwMargins property returns or sets whether HyqerCard adds extra space between the edges of field and its text(to make it easier to read). It corresponds to the Wide Margins check box in a Field Info dialog box. The default value is false. | ||
Property | width | set [the] width of <button> to <integer> set [the] width of <field> to <integer> -- set [the] width of <card> to <integer> set [the] width of <window> to <integer> |
widthプロパティーは指定したオブジェクトの幅をpixel単位で返すまたは設定します。 widthを設定するとサイズが変わります。 | ||
The width property returns or sets an integer equal to the width in pixels of the specified object. Setting the witdh of a button or field resizes it. | ||
Property | zoomed | get [the] zoomed of <window> set [the] zoomed of <window> to <trueOrFalse> |
zoomedプロパティーがtrueであればウィンドウは画面の中央に位置されます。 zoomedプロパティーはユーザがウィンドウをドラッグしたらfalseになります。 | ||
When the zoomed is true, <window> is centered on the currenr display. The zoomed becomes false when the user drags the window from its original position. | ||
Operator | Arithmetic operators | - + * / ^ div mod |
- 負の数を定義したり、左辺から右辺を引きます。 + 左辺に右辺を足します。 * 左辺と右辺を掛けます。 / 左辺を右辺で割ります。 ^ 左辺を底、右辺を羃指数とした累乗 div 左辺を右辺で割った商を返します。 mod 左辺を右辺で割った余を返します。 | ||
- Make the number to its right negative or subtracts the number on the right from the number of the left. + Adds the number on the left to the number on the right. * Multiplies the number on the left by the number on the right / Divides the number on the left by the number on the right. ^ Raises the number on the left to the power of the number on the right. div Divides the number on the left by the number on the right and ignores any remainder. mod Divides the number on the left by the number on the right and returns the remainder. | ||
Operator | Comparision operators | =, is <>, is not < > <= >= contains -- is in -- is not in is within is not within |
=, is 左辺と右辺が同一の値であればtrueを返します。数字、テキスト、論理値が使えます。 注意:大文字と小文字を区別します。 <>, is not 左辺と右辺が違う値であればtrueを返します。数字、テキスト、論理値が使えます。 注意:大文字と小文字を区別します。 < 左辺が右辺より小さければtrueを返します。数字、テキストが使えます。 > 左辺が右辺より大きければtrueを返します。数字、テキストが使えます。 <= 左辺が右辺以下であればtrueを返します。数字、テキストが使えます。 > 左辺が右辺以上であればtrueを返します。数字、テキストが使えます。 contains 右辺が左辺のテキストを含むテキストであればtrueを返します。 is within 左辺の点が右辺の長方形内にあればtrueを返します。 is not within 左辺の点が右辺の長方形外にあればtrueを返します。 以下は未実装 is in is not in | ||
=, is Results in true if the expression to its left and the expression to its right have the same values. The expressions can be arithmetic, text, or locical. Note: HyqerCard distinguish lowercase and uppercase. <>, is not Results in true if the expression to its left and the expression to its right have the different values. The expressions can be arithmetic, text, or locical. Note: HyqerCard distinguish lowercase and uppercase. < Results in true if the expression to its left has a value less than the one to its right. The expressions can be both arithmetic or both text. > Results in true if the expression to its left has a value greater than the one to its right. The expressions can be both arithmetic or both text. <= Results in true if the expression to its left has a value less than or equal to the one to its right. The expressions can be both arithmetic or both text. >= Results in true if the expression to its left has a value greater than or equal to the one to its right. The expressions can be both arithmetic or both text. contains Results in true if the text string yielded by the expression on its right is found in the test string yielded by the expression on its left. is within Result in true if the point yielded by the expression on its left is contained within the rectangle yield by the expression on its right. The followings are not implemented. is in is not in | ||
Operator | Logical operator | not and or |
not 右側の表現がfalseならtrueを返し、trueならfalseを返します。 and 左側の表現と右側の表現が両方trueならtrueを返します。 or 左側の表現と右側の表現のいずれかがtrueならtrueを返します。 | ||
not Results in true if the expression on its right is false, and false if the expression its right is true. and Results in true if both the expression to its left and the expression to its right are true. or Results in true if either the expression to its left or the expression to its right are true. | ||
Operator | String operators | & && |
& 左辺と右辺の文字列を結合します。 && 左辺と右辺の文字列を間にスペース一文字を入れて結合します。 | ||
& Joins(concatenates) the text string yielded by the expression on its left to the string yielded by the expression on its right. && Joins(concatenates) the text string yielded by the expression on its left to the string yielded by the expression on its right, with a space between them. | ||
Operator | Type and existance operators | -- is a, is an there is a, -- there is an there is no there is not a |
ifの演算子の右の物が存在すれば真を返します。 menu、menuitem、fileを識別できます。 there is a menu "MayBe" there is a menuItem "Back" of menu "Go" there is a file "Home" there is a window "message watcher"; there is a stack "Home" 以下は未実装 there is a card button 1 | ||
Results in true if the expression to the right of the operator exists. The expression can identify a menu, a menuitem , a file. there is a menu "MayBe" there is a menuItem "Back" of menu "Go" there is a file "Home" there is a stack "Home" there is a window "message watcher"; The followings are not implemeted. there is a card button 1 | ||
Constants | Constants | down empty false -- formFeed -- lineFeed pi quote return space -- tab true up zero..ten |
down 文字列 "down" empty 文字列 "" false trueの反対、論理値の偽 注意:HyperCardでは文字列"false"ですが、HyqerCardは違います。 pi 円周率。小数点以下15桁 3.141592653589793 quote ダブルコーテーションマーク " return 改行コード。numToChar(13)に等しい。 space 単一スペース" "。numToChara(32)に等しい。 true falseの反対; 真偽値の真。 注意:HyperCardでは文字列"true"ですが, HyqerCardは違います。 up 文字列"up" zero..ten 0 から10 | ||
down Equal to the literal "down" empty Equal to the literal "" false The opposit of true; logical boolean false; Note: In HyperCard false equals to the literal "false", but HyqerCard not. pi Equal to the mathematicak value pi to 15 decimal places: 3.141592653589793 quote Equal to the double quotation mark character: " return Equal to numToChar(13). space Equal to numToChara(32) or the literal " ". true The opposit of false; logical value true; Note: In HyperCard true equals to the literal "true", but HyqerCard not. up Equal to the literal "up" zero..ten Equal to the numbers 0 through 10. |