Put the commands you want to run in the preopen handler of your plug-in
stack.
Save the stack
Close LC
Put the stack into you're "My LiveCode/Plugins" folder. The location of this
folder can be found in LC preferences in the "Files and Memory" section.
Reopen LC
Go to the Development==>Plugins and select(at the bottom) "Plugin Settings"
Select your Plugin from the dropdown list
In the "Open Plugin when:" section select "LiveCode starts up"
In the "Open as" section select "Invisible"

Restart LC and you should be good to go.

Ralph DiMola
IT Director
Evergreen Information Services
rdim...@evergreeninfo.net

-----Original Message-----
From: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] On Behalf
Of John McKenzie via use-livecode
Sent: Thursday, October 15, 2020 12:53 PM
To: use-livecode@lists.runrev.com
Cc: John McKenzie
Subject: Re: Interface Resolution


 I felt up to trying one of the suggested workarounds for my interface
scaling issue, specifically making a script to run as a plug-in.

 The plugin in does not appear on the plugins menu and I do not know what I
did wrong. The link to creating plugins was helpful, but lacked specifics.

 Do I need to do something special to make it a plug-in? Such as having a
shebang statement or a special command at the top declaring it a plug-in? Do
it have to have a specific naming format? Should it begin or end with "rev"
for example? I called it "intefaceScaling.livecode".
Perhaps that was wrong to do.

 Looking at existing ones as examples I did not get the impression that was
so.


 When I ran the command "put the stacks" it outputted the following.

/opt/livecode/livecodecommunity-9.6.0.x86_64/Toolset/palettes/tools/revtools
.livecodescript
/opt/livecode/livecodecommunity-9.6.0.x86_64/Toolset/palettes/message
box/revmessagebox.8.rev
/opt/livecode/livecodecommunity-9.6.0.x86_64/Toolset/palettes/menubar/revmen
ubar.livecodescript


 Do I need absolute filenames in my script? Do I need anything else in the
script that makes up my plugin? Currently all I know to type is the
following.

set the scalefactor of stack "revtools" to 2 set the scalefactor of stack
"revmessagebox.8" to 2 set the scalefactor of stack "revmenubar" to 2

 Surely I need more than that.


 Sorry for my ignorance of what should be easy.



_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to