Skip to content

Hover info error when using a password protected plugin #6

@madpink

Description

@madpink

I am using the plugin lcTaskList, when I move over it I get an error on line 11 of button_BtnFSHoverInfo_13660 because the stack is password protected.

I added if not (the mouseStack begins with "lc") then

I don't know if there is a way to detect if the stack is password protected...

on mouseEnter
  if the mouseStack contains "rev" is false then
    if not (the mouseStack begins with "lc") then
      if the mouseStack is not gStackName then
        if the mouseStack is not "CodePeek" then
          put the number of lines of the script of the target into tSL
          
          if the cpCodePeek of stack gStackName is "true" then
            if the openStacks contains "CodePeek" is false then
              open stack "CodePeek"
              put the script of the target into fld "CodeList" of stack "CodePeek"
            end if
            put the script of the target into fld "CodeList" of stack "CodePeek"
          end if
          
          put the long name of the target & "  id "& the id of the target &"  z="& the Layer of the target & "   x="& the left of the target &"   y="& the top of the target &"   w="& the width of the target & "   h="& the height of the target& "  sc="&tSL  into fld "FldStatus" of card "CrdMain" of stack gStackName
        end if
      end if
    end if
  end if
  
  if the mouseStack is empty then
    put empty into fld "FldStatus" of card "CrdMain" of stack gStackName
  end if
  
end mouseEnter

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions