Header name is uncertain, how to get specific data

Welcome Forums General PowerShell Q&A Header name is uncertain, how to get specific data

  • This topic has 2 replies, 2 voices, and was last updated 1 month ago by
    Participant
    .
Viewing 2 reply threads
  • Author
    Posts
    • #222555
      OK
      Participant
      Topics: 9
      Replies: 20
      Points: 122
      Rank: Participant

      An object member name changes frequently, how do I get specific data

      Time is in the second and third positions.  , The character to be obtained is always at the end.  I want to get the data of time and last non-blank column

      Format: Name, Fontname, Fontsize, PrimaryColour, SecondaryColour, OutlineColour, BackColour, Bold, Italic, Underline, StrikeOut, ScaleX, ScaleY, Spacing, Angle, BorderStyle, Outline, Shadow, Alignment, MarginL, MarginR, MarginV, Encoding

      Dialogue: 0,0:05:25.30,0:05:30.30,Default,,0,0,0,,”{\an5\fad(0,500)\p1\bord2\shad0\fscx150\fscy160\alpha&566\c&H000000&\3c&HECB000&\move(145,247,145,227,0,500)\clip(30,188,340,210)\t(0,500,\clip(30,168,340,190))}m 211 -8 b 217 -6 217 -4 217 -2 l 217 24 b 217 26 217 29 211 31 l 31 31 b 26 29 26 26 26 24 l 26 -2 b 26 -4 26 -6 31 -8{\p0}”

      Format: Layer, Start, End, Style, Name, MarginL, MarginR, MarginV, Effect, Text

      Comment: 0,0:00:00.00,0:00:00.00,Default,,0,0,0,code once,”左句子_垂直边距=80        右句子_垂直边距=0      左右边距=100        淡入=300 淡出=300     每句提前出现时间=2000″

      Dialogue: 0,0:00:00.00,0:00:00.00,Default,,0,0,0,No Effect,

      Comment: 0,0:00:00.00,0:00:00.00,Default,,0,0,0,code once,”xres,yres =_G.aegisub.video_size() if yres==nil  then ratio= 1 else ratio=yres/720 end if (xres and xres ~= meta.res_x) or (yres and yres ~= meta.res_y) then _G.aegisub.debug.out(2, “警告: 该字幕分辨率 %dx%d 与当前预览所用视频分辨 %dx%d 不一致,请重设字幕分辨率或视频分辨率”, meta.res_x, meta.res_y, xres, yres) end”

    • #222561
      OK
      Participant
      Topics: 9
      Replies: 20
      Points: 122
      Rank: Participant

    • #222570
      Participant
      Topics: 4
      Replies: 2247
      Points: 5,484
      Helping Hand
      Rank: Community MVP

      Please, when you post code or error messages or sample data or console output format it as code.
      In the “Text” view you can use the code tags “PRE“, in the “Visual” view you can use the format template “Preformatted“. You can go back edit your post and fix the formatting – you don’t have to create a new one.
      Thanks in advance.

      You should ask a clear question and explain the situation you are dealing with. Where do the data come from or how do you create these data? Please keep in mind – we cannot see your screen and we cannot read your mind.

Viewing 2 reply threads
  • You must be logged in to reply to this topic.