Moon Script В примерах

Столкнулись с проблемой в использовании макросов? Здесь можно получить помощь.
Post Reply
User avatar
cmd.exe
Posts: 317
Joined: Fri 16 Apr, 2010 18:26
Location: Нижний Новгород
Has thanked: 168 times
Been thanked: 5 times
Contact:

Moon Script В примерах

Post by cmd.exe » Wed 23 Dec, 2015 15:55

Code: Select all

GUID = {
  cPluginID: "742910F1-02ED-4542-851F-DEE37C2E13B2"
}
Macro
  area:"Shell"
  key:"F1"
  action:->
    Plugin.Call GUID.cPluginID, 0

На Moon Script более лаконичный код получается.
А как быть с akey(1):sub(-1) в moon script?
I've been using Vim for about 2 years now, mostly because I can't figure out how to exit it. (c) I Am Devloper
I know nothing except the fact of my ignorance. (с) Socrates

User avatar
zg
zero-gravity
Posts: 5231
Joined: Tue 15 Mar, 2005 17:36
Location: riga
Been thanked: 42 times
Contact:

Moon Script В примерах

Post by zg » Wed 23 Dec, 2015 17:29

akey(1)\sub -1

Post Reply

Return to “Нужна помощь”

Who is online

Users browsing this forum: No registered users and 1 guest