CodeEdit icon indicating copy to clipboard operation
CodeEdit copied to clipboard

✨ AppleScript Keys + Definition File

Open blockarchitech opened this issue 1 year ago • 19 comments

Is your feature request related to a problem? Please describe.

No response

Describe the solution you'd like

Allowing the CodeEdit app to be "scriptable", by adding AppleScript keys, and a definition file so Script Editor can see them.

Describe alternatives you've considered

Creating an external app that interfaces with CodeEdit via CodeEditKit

Additional context

Screenshot 2023-01-13 at 8 09 33 PM Screenshot 2023-01-13 at 8 09 41 PM

blockarchitech avatar Jan 14 '23 01:01 blockarchitech

ima give this a try

libewa avatar Mar 23 '23 16:03 libewa

Totally forgot about this! I made a definition file that I never finished.

blockarchitech avatar Mar 23 '23 16:03 blockarchitech

@libewa Before you start, please elaborate how you're planning to do this since there hasn't been a discussion about that yet, so you don't unnecessarily waste your time if your proposed solution doesn't fit within our project goals.

lukepistrol avatar Mar 23 '23 16:03 lukepistrol

now i gotta resolve these dependencies

libewa avatar Mar 23 '23 16:03 libewa

now i gotta resolve these dependencies

Xcode in a nutshell 🤣

blockarchitech avatar Mar 23 '23 17:03 blockarchitech

@libewa Before you start, please elaborate how you're planning to do this since there hasn't been a discussion about that yet, so you don't unnecessarily waste your time if your proposed solution doesn't fit within our project goals.

  1. Activate scripting
  2. Learn AppleScript
  3. Implement additional functions (open, close etc. are in CocoaDefaults)

libewa avatar Mar 23 '23 19:03 libewa

kay indexing package files now

libewa avatar Mar 24 '23 07:03 libewa

@blockarchitech could i have your side please?

libewa avatar Mar 24 '23 07:03 libewa

why can't i create a draft pr?

libewa avatar Mar 24 '23 07:03 libewa

@libewa You can always do that.

lukepistrol avatar Mar 24 '23 14:03 lukepistrol

@blockarchitech could i have your side please?

@libewa What do you mean?

blockarchitech avatar Mar 24 '23 14:03 blockarchitech

You said you made one

libewa avatar Mar 24 '23 16:03 libewa

Oh the script definition? I didn't add any keys yet. I just added basic app info and a basic dictionary

I've added definitions to scriptable apps before, so I can give my hand at this. I have some free time (that's nowadays extremely rare haha)

blockarchitech avatar Mar 24 '23 16:03 blockarchitech

yeah i have the basic boilerplate, but the documentation just says "start over + git gud"

libewa avatar Mar 31 '23 17:03 libewa

I am helping @libewa

Nils-nonline avatar Mar 31 '23 17:03 Nils-nonline

i think i give up

libewa avatar Apr 23 '23 18:04 libewa

What problems are you encountering? @libewa

luah5 avatar Apr 23 '23 19:04 luah5

What problems are you encountering? @libewa

There's practically no documentation and the few pages on OS X Tiger(!) say "start over + git gud"

libewa avatar Apr 24 '23 05:04 libewa

What docs are you using?

blockarchitech avatar Apr 24 '23 16:04 blockarchitech