Macro Lasergrbl
Macro Lasergrbl
Else
answer = MsgBox("Nothing was selected, Export All?", vbYesNo + vbQuestion,
"Export All")
If answer = vbYes Then
' Export everything
Set expflt = ActiveDocument.ExportEx(out_file, cdrAI, cdrAllPages,
expopt)
With expflt
.Version = 10 ' FilterAILib.aiVersionCS6
.TextAsCurves = True
.PreserveTransparency = True
.ConvertSpotColors = False
.SimulateOutlines = False
.SimulateFills = False
.IncludePlacedImages = True
.IncludePreview = True
.EmbedColorProfile = True
.Finish
End With
Else
'do nothing
Exit Sub
End If
End If
' Edit this like if lightburn is in a diffrent location
Call Shell("C:\Program Files\LightBurn\LightBurn.exe " & out_file,
vbNormalFocus)
End Sub