web-dev-qa-db-ja.com

PhraseExpressスニペットをTextexpanderにインポートする

WindowsではPhraseExpressを使用して作成されたテキストスニペットをMacではTextExpanderにインポートする方法はありますか?

TextExpanderスニペットをPhraseExpressにインポートできることは知っていますが、その逆も可能です。

2
Ishan

PhraseExpress 9.1は、TextExpanderと両方向で同期できるようになりました。 http://www.phraseexpress.com/textexpander-windows.htm

1
PhraseExpress

同じ問題の解決策を探しているときに、自分でこれに気づきました。

  1. すべてのスニペットとフォルダーを強調表示しました。
  2. {ファイル>名前を付けて保存...}に移動しました。
  3. ファイルタイプのプルダウンで、{*。textexpander}を選択しました。

これですべてです。念のために言っておきますが、これが機能すること、特にマクロ変換が機能することはまだ確認していませんが、PEがTEからインポートできる場合は、おそらく同じ形式でファイルを書き込むことができると思います。

ゴッドスピード。

0
Jaymez

簡単な答え:いいえ、それはできません。 PhraseExpressは、それらのファイルのみをPhraseExpressにインポートできる独自のエクスポート方法を使用します。

長い答え:簡単な方法はありません。ただし、PhraseExpressスニペットをcsvファイル(ExcelやOpenOffice Writerなど)にコピーすると、そのファイルをTextExpanderに再インポートできます。マクロを保存することはできません。また、すべてのスニペットとその説明を1つずつコピーして貼り付けるか、それらのファイルからすべてをコピーして別の場所に書き込むスクリプトを作成する必要があります。 (私はしばらく前にAutoHotkeyでそのようなことをしました。)

編集:PhraseExpressウィンドウからExcelスプレッドシートにコピーするために作成したAutoHotkeyスクリプトを見つけました。これはドイツ語版のPhraseExpress用であり、使用するキーボードショートカットを調整する必要があります。 (または、後でそれを実行することになった場合は、それを実行する可能性があります。)

AutoHotkeyのコードは次のとおりです。

    ; Edit, Exit, Suspend
+!e::Edit
+!x::ExitApp
+!s::Suspend

; Reload section
#IfWinActive, ahk_class SciTEWindow
F9::
send ^s
Reload 
Return


#IfWinActive ahk_class TpexMWnd4

F5::
Clipboard = 
SendInput !b^a^c ; Beschreibung kopieren
ClipWait
Beschreibung := Clipboard

SendInput {tab} ; Textbausteininhalt kopieren
Clipboard = 
SendInput ^a^c 
ClipWait
Inhalt := Clipboard

; Autotext kopieren
clipboard = 
SendInput !a
SendInput ^a^c 
sleep 100
autotext := Clipboard

; zu Excel wechseln und in Zellen eintragen, danach in untere Reihe wechseln
WinActivate ahk_class XLMAIN
WinWaitActive ahk_class XLMAIN
Sleep 200
SendRaw %Beschreibung%
Sleep 100
SendInput {tab}
Sleep 100
SendRaw %inhalt%
Sleep 100
SendInput {tab}
Sleep 100
SendRaw %Autotext%

Sleep 100
SendInput {down}
Sleep 100
SendInput {home}
Sleep 100

; Zu pex wechseln
WinActivate ahk_class TpexMWnd4
Sleep 200
Send !u
Sleep 200
send {down}
Sleep 200
Return


F6::
Clipboard = 
SendInput !b ; zu Beschreibung gehen 
SendInput {tab} ; Textbausteininhalt kopieren
Clipboard = 
SendInput ^a^c 
ClipWait
Inhalt := Clipboard

; Autotext kopieren
clipboard = 
SendInput !a
SendInput ^a^c 
sleep 100
autotext := Clipboard

; zu Excel wechseln und in Zellen eintragen, danach in untere Reihe wechseln
WinActivate ahk_class Notepad
WinWaitActive ahk_class Notepad
Sleep 100
SendRaw %Autotext%
Sleep 100
SendInput {tab}
Sleep 100
SendRaw %inhalt%


Sleep 100
SendInput {enter}
Sleep 100


; Zu pex wechseln
WinActivate ahk_class TpexMWnd4
Sleep 200
Send !u
Sleep 200
send {down}
Sleep 200
Return

これが面倒な場合は、TextExpanderでスニペットを再作成する方が簡単な場合があります。

PhraseExpressサポートに連絡すれば助けになるかもしれませんが、そうでなければ、同期でもインポートでも、PhraseExpressスニペットをTextexpanderと共有する簡単な方法はありません。

0