Metasequoia BBS

| New message | Normal | Tree |
Status
Tag
Keyword
[9674] FILE> EDIT> attribute> selected> object Delete Lines / Delete LINES
Not necessary [Request,help! ] Response
import MQSystem

doc = MQSystem.getDocument()
objnum = doc.numObject
for oi in range(0, objnum):
    obj = doc.object[oi]
    if obj is None:
        continue


        
    if obj.name == "obj":
        obj.select = 1
        break



hmm i cant find to delete Lines in there :/  so script editor deletes lines for me ! doing script but cant find that one :S
2023-02-13 13:38

Show the middle 2 messages.

[9681] Re: FILE> EDIT> attribute> selected> object Delete Lines / Administrator
Don't you understand what 'pseudo code' means?
It doesn't work as is, so you need to make your own improvements to incorporate it.
See more standard samples included in the Script folder.
2023-02-14 14:04
Title
Name
Mail address for renponse notification A mail will be sent when the response is written. This address will be not shown after you post.
Tag Please select from a preset or input arbitrary comma-delimited tags.
Message

Now file attachment is not available temporarily.