Announcement

Collapse
No announcement yet.

Whats the word on Edit Field?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Whats the word on Edit Field?

    Whats the script to get Edit field to load a file at run time? It doesnt give you any options to do so, that I can see. I tried
    %SrcDir%\folder1\folder2\file.txt ... but no joy there!

  • #2
    Re: Whats the word on Edit Field?

    Hey Derek,

    Try this:

    // Read in the Text File
    %TextFile% = TextFile.Read (%SrcDir%\MyText.txt)
    // Set the text in the Edit Field
    EditFieldObject[EditField1].SetText (%TextFile%)

    mark.
    MSI Factory The Next Generation Intelligent Setup Builder

    Comment

    Working...
    X
    😀
    🥰
    🤢
    😎
    😡
    👍
    👎