Discuss anything about the Hollywood plugins for Cubic IDE and Codebench here
bitRocky
Posts: 120 Joined: Fri Nov 14, 2014 6:01 pm
Post
by bitRocky » Sun Jan 10, 2016 2:09 pm
ArtBlink wrote: @bitrocky:
I can build morphos version only if morphos have tools like openguide to open guide at node
If you know morphos tools, i can make morphos version
I don't know if there is an OpenGuide tool for MorphOS, but MultiView has an arexx command to do that.
I just wrote a little script which can open a guide at a specific node!
Here it is:
Code: Select all
.KEY "File/A,PN=PortName/K,AGNode,Line/N"
.BRA {
.KET }
.DEF PortName=OPENGUIDE
.DEF AGNode=MAIN
.DEF Line=1
; $VER: OpenGuide 1.0 (10.01.16) by Thomas Igracki
; Check if the port already exists
WaitForPort {PortName}.1 I=1 L=1
IF WARN ; it doesn't exists, open MultiView
Run SYS:Utilities/MultiView PORTNAME {PortName}
ENDIF
WaitForPort {PortName}.1
IF NOT WARN
RxCMD {PortName}.1 "OPEN NAME *"{File}*" AGNODE *"{AGNode}*" LINE {Line}"
ENDIF
ArtBlink
Posts: 484 Joined: Mon Nov 01, 2010 10:37 am
Location: Albert - France
Contact:
Post
by ArtBlink » Sun Jan 10, 2016 3:11 pm
ok,
Can you give me the line to open guide at node in shell please?
If it is possible, a morphos version can be possible
I think it is for exemple:
c:>multiview Ram:Guidetest ANODE Main
bitRocky
Posts: 120 Joined: Fri Nov 14, 2014 6:01 pm
Post
by bitRocky » Sun Jan 10, 2016 3:23 pm
ArtBlink wrote:
Can you give me the line to open guide at node in shell please?
This will open the node "Main" of the amigaguide "MyHelpGuide".
Don't forget to add the "s" protection flag to the script!
If it is possible, a morphos version can be possible
I think it is for exemple:
c:>multiview Ram:Guidetest ANODE Main
This script runs on MorphOS and AmigaOS, no special version is needed.
Multiview doesn't have a ANODE option, so I had to use the script, which opens Multiview and sends an arexx command to open the specific node!
ArtBlink
Posts: 484 Joined: Mon Nov 01, 2010 10:37 am
Location: Albert - France
Contact:
Post
by ArtBlink » Sun Jan 10, 2016 6:47 pm
Hello,
Your script don't work on my amiga os, i save your script at this name : Openguide
I execute your script with RX since newcli window, and i type in shell
Openguide MUIRoyale.guide Main
Error on waitforport (number not valide)
I think, we can open guide at node in morphos with tools, i search but i don't found
Strange
bitRocky
Posts: 120 Joined: Fri Nov 14, 2014 6:01 pm
Post
by bitRocky » Sun Jan 10, 2016 7:11 pm
It's not an arexx script, its a shell script, you have to execute it with "Execute".
Or just OpenGuide, if you set the "script" protection flag (protect OpenGuide +s).
ArtBlink
Posts: 484 Joined: Mon Nov 01, 2010 10:37 am
Location: Albert - France
Contact:
Post
by ArtBlink » Sun Jan 10, 2016 7:16 pm
same error on waitforport
bitRocky
Posts: 120 Joined: Fri Nov 14, 2014 6:01 pm
Post
by bitRocky » Sun Jan 10, 2016 7:30 pm
Could you type "WaitForPort ?" in a shell, and send me the result?
HelmutH
Posts: 198 Joined: Fri Feb 19, 2010 1:41 pm
Location: Oberhausen / Germany
Contact:
Post
by HelmutH » Sun Jan 10, 2016 8:03 pm
ArtBlink wrote: @helmuth:
To test colored, you must select command in implementation window, if you type displ the implementation window open, select command by enter or double click and normaly, the command is inserted in bold and blue color
On my Amiga os, it is work
I wait new muiroyale version to open guide at node and save texteditor contents without text format code
Yes, it works also by me.
Please, can you change this code for the german translation for MHE.xml file, in the old translation was a little fault and I have change in the new translation the ae, oe, and ue to ä, ö and ü. Is a little shorter text.
Code: Select all
<?xml version="1.0" encoding="iso-8859-1" ?>
<application id="app" base="MiniHollyEdit Next Generation" dropobject="register" >
<menustrip id="Principal1">
<menu id="MenuEditor" title="MiniHollyEdit_NG">
<item id="FApropos" notify="selected">über...</item>
<item id="Nouveau" shortcut="N" notify="selected">neu</item>
<item id="Ouvrir" shortcut="O" notify="selected">öffnen</item>
<item id="Sauvegarger" shortcut="S" notify="selected">speichern</item>
<item id="Executer" shortcut="E" notify="selected">ausführen</item>
<item id="Compiler" shortcut="C" notify="selected">kompilieren</item>
<item id="Calculatrice" notify="selected">Taschenrechner</item>
<item id="DAO" notify="selected">Grafik Software</item>
<item id="MAO" notify="selected">Musik Software</item>
<item id="Preference" shortcut="P" notify="selected">Einstellungen</item>
<item id="Quitter" shortcut="Q" notify="selected">verlassen</item>
</menu>
</menustrip>
<window title="MiniHollyEdit Next Generation" muiid="Main" id="Principal" notify="closerequest" appwindow="true" menustrip="Principal1">
<vgroup id="test">
<hgroup frame="button" background="groupback">
<hgroup frame="button" background="readlistback">
<toolbar id="BoutonPrincipal" horiz="True" freehoriz="false">
<button id="BP1" notify="pressed" image="1" shorthelp="Neue Registerkarte öffnen">neu</button>
<button id="BP2" notify="pressed" image="2" shorthelp="Neues Skript öffnen">öffnen</button>
<button id="BP3" notify="pressed" image="3" shorthelp="Skript speichern">speichern</button>
<button/>
<button id="BP4" notify="pressed" image="4" shorthelp="Skript ausführen">ausführen</button>
<button id="BP5" notify="pressed" image="5" shorthelp="Skript kompilieren für ein oder weitere Systeme">kompilieren</button>
<button/>
<button id="BP6" notify="pressed" image="12" shorthelp="Taschenrechner starten">Taschenrechner</button>
<button id="BP7" notify="pressed" image="13" shorthelp="Grafik Software starten">Grafik</button>
<button id="BP8" notify="pressed" image="14" shorthelp="Musik Software starten">Musik</button>
<button/>
<button id="BP9" notify="pressed" image="15" shorthelp="Öffnet MHE Konfigurationsfenster">Einstellungen</button>
</toolbar>
</hgroup>
</hgroup>
<hgroup frame="button" background="readlistback" >
<toolbar id="BoutonSecondaire1" horiz="true" freehoriz="false">
<button id="BS11" notify="pressed" image="6" shorthelp="Alle Zeilen auswählen">alle</button>
<button id="BS12" notify="pressed" image="7" shorthelp="Ausschneiden auswählen">ausschneiden</button>
<button id="BS13" notify="pressed" image="8" shorthelp="Kopieren auswählen">kopieren</button>
<button id="BS14" notify="pressed" image="9" shorthelp="Einfügen ab Cursorposition">einfügen</button>
<button/>
<button id="BS15" notify="pressed" image="10" shorthelp="letzte Aktion rückgängig machen">rückgängig</button>
<button id="BS16" notify="pressed" image="11" shorthelp="vorherige Aktion wiederherstellen">wiederherstellen</button>
<button/>
<button id="BS17" notify="pressed" image="22" shorthelp="Öffnet die Anleitung für die Befehle">Hilfe</button>
<button/>
</toolbar>
<image id="image2" source="brush:17"/>
<string id="Recherche" frame="text" fixwidthtxt="123456789123456" ></string>
<toolbar id="BoutonSecondaire2" horiz="False" vertspacing="0">
<button id="BS21" notify="pressed" image="18" shorthelp="Zurück suchen"></button>
<button id="BS22" notify="pressed" image="19" shorthelp="Weiter suchen"></button>
</toolbar>
</hgroup>
<hgroup sameheight="true" frame="button" background="readlistback">
<image id="image" source="brush:16"/>
<label doubleframe="true" >Spalte :</label>
<string id="Colonne" notify="Acknowledge" frame="text" fixwidthtxt="12345"></string>
<label doubleframe="true" >Zeile :</label>
<string id="Ligne" notify="Acknowledge" frame="text" fixwidthtxt="12345"></string>
<rectangle fixwidth="1" vbar="true"/>
<image id="image3" source="brush:23"/>
<texteditor id="AideRapide" scrollbar="False" frame="button" readonly="True" />
</hgroup>
<hgroup>
<vgroup vertspacing="0" frame="button" background="groupback">
<toolbar id="Refresh" BarPos="Center" horiz="True" free="false" labelPos="Top">
<button id="BRefresh" notify="pressed" image="21" shorthelp="Liste ihrer Funktionen">Liste ihrer Funktionen</button>
</toolbar>
<Listview id="listingdesfonctions" cyclechain="1" fixwidthtxt="12345678912345678912" notify="active; doubleclick">
<column>
</column>
</Listview>
</vgroup>
<Vgroup vertspacing="0">
<register id="register" closable="true" innerbottom="0" innertop="0" innerleft="0" innerright="0" notify="ActivePage; appmessage; closerequest">
%GROUP1
</register>
</Vgroup>
<vgroup>
<vgroup Id="AideCommande" frame="button" sameheight="False" background="groupback" fixwidthtxt="123456789123456789">
<hgroup frametitle="Anleitung">
<cycle id="CC" notify="Active">
<item>Hollywood</item>
<item>MuiRoyale</item>
<item>GLGalore</item>
</cycle>
<toolbar id="BoutonSecondaire3" horiz="true" vertspacing="0">
<button id="BS31" notify="pressed" image="23" shorthelp="Öffnet die Anleitung von"></button>
</toolbar>
</hgroup>
</vgroup>
</vgroup>
</hgroup>
<hgroup background="groupback" vertspacing="0">
<image id="image4" source="brush:20"/>
<text id="Information"></text>
</hgroup>
</vgroup>
</window>
</application>
greeting Helmut
ArtBlink
Posts: 484 Joined: Mon Nov 01, 2010 10:37 am
Location: Albert - France
Contact:
Post
by ArtBlink » Sun Jan 10, 2016 8:17 pm
The help info is displayed
I have :
PORT/A
TIMEOUT/N
@Helmuth : Ok for deutch file
bitRocky
Posts: 120 Joined: Fri Nov 14, 2014 6:01 pm
Post
by bitRocky » Sun Jan 10, 2016 9:13 pm
Could you try to replace the line:
WaitForPort {PortName}.1 I=1 L=1
with
WaitForPort {PortName}.1 TimeOut 1