REM ***** BASIC ***** REM macro fyrir LibreOffice sub conv_latin2greek_gk REM v. 120513 REM Hakon Gudbjartsson & Gudbjartur Kristofersson REM args1(16).Value = 1024 gerir greinarmun a litlum og storum staf REM args1(16).Value = 1280 gerir ekki greinarmun a litlum og storum staf REM Mac flytilykill Shift Cmd H rem ---------------------------------------------------------------------- rem define variables dim document as object dim dispatcher as object rem ---------------------------------------------------------------------- rem get access to the document document = ThisComponent.CurrentController.Frame dispatcher = createUnoService("com.sun.star.frame.DispatchHelper") rem ---------------------------------------------------------------------- dim args1(18) as new com.sun.star.beans.PropertyValue REM REM naestu 2 linur tharf ad stilla eftir fjoelda dim finna(1 To 294) As String dim breyta(1 To 294) As String Rem ALFA