Das Code-Editor-Fenster hängt links oben in der Ecke so fest, dass die Fensterleiste nicht erreichbar ist. Resultat: ich kann das Fenster nicht mehr verschieben...
Dummerweise merkt sich LC die Position, so dass auch der Start einer anderen LC-Version nichts ändert.
Kennt jemand eine Lösung?
Meine Vermutung wie es dazu gekommen ist: ich habe den Code-Editor beim letzten Mal auf Vollbild gesetzt und dann LC beendet. Wahrscheinlich hat er sich da irgendwas falsch gemerkt.
Lösung: Die Message Box in Livecode! Z.B.
...
set the rect of stack "xyz" to 100,100,800,800
...
## Oder falls der Name eines Fensters/Stacks gerade nicht bekannt ist:
## Maus über gewünschtes Fenster positionieren und ENTER drücken
set the loc of the mousestack to the screenloc
...
Warum in die Ferne schweifen, wenn das Gute etc... :-)
der Tip mit mousestack klappt prima. Jetzt habe ich mal versucht, es über den Namen zu machen, aber ich komme nicht weiter.
Mein Ansatz:
put the stacks into field "StackList" -- alle offenen Stacks in der LC-IDE werden angezeigt:
/Applications/LiveCode Community 9.0.0 (dp 10).app/Contents/Tools/Toolset/palettes/tools/revtools.livecodescript
/Applications/LiveCode Community 9.0.0 (dp 10).app/Contents/Tools/Toolset/palettes/script editor/revscripteditor.8.rev
/Applications/LiveCode Community 9.0.0 (dp 10).app/Contents/Tools/Toolset/palettes/inspector/revinspector.livecodescript
/Applications/LiveCode Community 9.0.0 (dp 10).app/Contents/Tools/Toolset/palettes/message box/revmessagebox.8.rev
/Applications/LiveCode Community 9.0.0 (dp 10).app/Contents/Tools/Toolset/palettes/menubar/revmenubar.livecodescript
/Applications/LiveCode Community 9.0.0 (dp 10).app/Contents/Tools/Toolset/palettes/dictionary/revdictionary.livecode
/Applications/LiveCode Community 9.0.0 (dp 10).app/Contents/Tools/Toolset/palettes/project browser/revideprojectbrowser.livecode
Im Field "StackList" wird eine Zeile angeklickt:
on mouseUp pButtonNumber
put the text of the clickline into tStack
set the itemdelimiter to "/"
put the last item of tStack into tStack -- Ergebnis z.B: revinspector.livecodescript
set the itemdelimiter to "."
put the first item of tStack into tStack -- Ergebnis z.B: revinspector
set the loc of tStack to the screenloc -- erzeugt einen Fehler, sowohl mit/ohne Pfad und mit/ohne Endung
end mouseUp
Wo ist der Fehler bzw. wie finde ich den richtigen Stacknamen heraus?
Ausserdem heisst der Stack, soweit ich weiß, -> revPropertyInspector X
X ist die fortlaufende Nummer, da auch dieser Stack bei Bedarf für das
ausgewählte Object immer ge-CLONE-t wird.