Skip to content

miyako/4d-plugin-text-input-service

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

40 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

4d-plugin-text-input-service

Commands to control the front-end text editor.

version platform license downloads deprecated

screenshot

Syntax

source:=INPUT SOURCE Get for language (language)
Parameter Type Description
language TEXT
source TEXT
INPUT SOURCE LIST (sources)
Parameter Type Description
sources ARRAY TEXT
source:=INPUT SOURCE Get
INPUT SOURCE SET (source)
Parameter Type Description
source TEXT
category:=INPUT SOURCE Get category (source)
Parameter Type Description
source TEXT
category TEXT
source:=INPUT SOURCE Get ASCII
Parameter Type Description
source TEXT
icon:=INPUT SOURCE Get icon (source)
Parameter Type Description
source TEXT
icon PICTURE
name:=INPUT SOURCE Get name (source)
Parameter Type Description
source TEXT
name TEXT
type:=INPUT SOURCE Get type (source)
Parameter Type Description
source TEXT
type TEXT
INPUT SOURCE DISABLE (source)
INPUT SOURCE ENABLE (source)
Parameter Type Description
source TEXT
layout:=KEYBOARD LAYOUT Get
layout:=KEYBOARD LAYOUT Get ASCII
layout:=KEYBOARD LAYOUT Get override
KEYBOARD LAYOUT SET OVERRIDE (layout)
Parameter Type Description
layout TEXT

Examples

$ascii:=INPUT SOURCE Get ASCII   //英数キーを押したときに選択されるもの
  //例: 
  //com.apple.inputmethod.Kotoeri.Roman
  //com.apple.keylayout.US

$current:=INPUT SOURCE Get   //現在のもの

$kana:=INPUT SOURCE Get for language ("ja")  //かなキーを押したときに選択されるもの
  //例:
  //com.apple.inputmethod.Kotoeri.Japanese
  //jp.co.ergo.egbridge_universal_2.component.Japanese
  //com.justsystems.inputmethod.atok22.Japanese
  //com.google.inputmethod.Japanese.base

If (Shift down)
  //ことえり英数をアンインストールする
INPUT SOURCE DISABLE ("com.apple.inputmethod.Kotoeri.Roman")
  //U.S.をインストールする
INPUT SOURCE ENABLE ("com.apple.keylayout.US")

  //U.S.を使用する
INPUT SOURCE SET ("com.apple.keylayout.US")
End if 

About

Commands to control the front-end text editor on Mac

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages