External Editor . . . on and on

Björnke von Gierke bvg at mac.com
Tue Oct 22 08:35:43 EDT 2013


I think you forgot that everything in LC is scriptable. If you want an external editor you need to interfere before the IDe to edit the script:

on editScript targetObject
   put the script of targetObject into theData
   put theData into url ("file:temp.txt")
   launch "temp.txt" with "textedit.app"
end editScript

after saving in the other environment, you'll need to pass the script back to the IDE somehow. On macOS X that'd be via applescript or just copy paste.

On 22.10.2013, at 08:35, Richmond wrote:

> Digging around in "Metacard 4.5" I found the hopelessly
> outdated "Dialog Box Help" and under "Script Editor" this:
> 
> 'If you want to run that external editor directly, bypassing
> MetaCard's script editor, choose the menu item "Set External Editor"
> from the Tools menu in the MetaCard menu bar.'
> 
> And, naive as ever, I started getting all excited; but 'twas not to be, as,
> on going to the 'Tools' menu "Set External Editor" was not to be seen.
> 
> I asked a fairly direct question relating to this the other day, and as
> somebody else pointed out as well, have not had even a twitch of an answer.
> 
> When I get home (I'm at work right now) I'll check whether that menu item existed in
> MC 2.4 as the original download link for that now seems to have vanished.
> 
> Richmond.
> 
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


-- 

Use an alternative Dictionary viewer:
http://bjoernke.com/bvgdocu/

Chat with other RunRev developers:
http://bjoernke.com/chatrev/






More information about the use-livecode mailing list