`Ajudar
`Amar que me ama***
`Gosto de liberdade
`Sou maluka por animais:::(n poxo velos principalmente CAES).
`Adoro a minha familia(n consigo viver sem ela)
`adoro artes...
`adoro divertir.me
`adoro o SLB if result == 0: # cancel script
return # give up
elif LayerCount != 1:
MsgText = 'Image %s has more than one layer.\n' \
'Press OK to merge the visible layers.\n' \
'Press CANCEL to leave this image out of the tube.\n' % Doc.Title
result = App.Do(Environment, 'MsgBox', {
'Buttons': App.Constants.MsgButtons.OKCancel,
'Icon': App.Constants.MsgIcons.Question,
'Text': MsgText
})
if result == 1: # OK button
App.Do( Environment, 'LayerMergeVisible', {}, Doc )
IncludeDoc = 1
elif result == 0: # Cancel button
result = App.Do(Environment, 'MsgBox', {
'Buttons': App.Constants.MsgButtons.YesNo,
'Icon': App.Constants.MsgIcons.Question,
'Text': 'Do you wish to cancel the entire script?'
})
if result == 1:
return # give up
clickhere www.red1585.skyblog.com
elif LayerType == App.Constants.LayerType.Vector:
MsgText = 'Image %s is vector.\n' \
'Press OK to to convert to a raster layer.\n' \
'Press CANCEL to leave this image out of the tube.\n' % Doc.Title
result = App.Do(Environment, 'MsgBox', {
'Buttons': App.Constants.MsgButtons.OKCancel,
'Icon': App.Constants.MsgIcons.Question,
'Text': MsgText








