Indigo Rose Software

Professional Software Development Tools

 
Results 1 to 2 of 2
  1. #1
    Join Date
    Aug 2005
    Posts
    1

    Saving %SerialNumber% to a file (Newbie)

    I am trying to save the user's serial number (%SerialNumber%) to a file so that it can be accessed by my application for registration purposes. I have tried TextFile.WriteFromString and TextFile.WriteFromTable. Since lua does not require declaration of a variable type, it is unclear to me how I can convert it to a string in order to save it to a file.

    Any help would be appreciated.

    Bob

  2. #2
    Join Date
    May 2000
    Location
    Indigo Rose Software
    Posts
    2,150
    Serial = SessionVar.Expand("%SerialNumber%");
    TextFile.WriteFromString("C:\\file.txt", Serial, false);

    This should do the trick.

    Adam Kapilik

Similar Threads

  1. Audio Tracks Project
    By Michael in forum AutoPlay Media Studio 5.0
    Replies: 7
    Last Post: 03-18-2004, 10:58 PM
  2. HOWTO: Create a Project Template
    By Support in forum AutoPlay Media Studio 4.0 Examples
    Replies: 0
    Last Post: 10-28-2002, 01:49 PM
  3. HOWTO: "Hide" Externally Referenced Files
    By Support in forum AutoPlay Media Studio 4.0 Examples
    Replies: 0
    Last Post: 10-23-2002, 03:19 PM
  4. Can search allow manual browse even if file is found?
    By RichardShaw in forum Setup Factory 5.0
    Replies: 2
    Last Post: 08-28-2000, 06:08 PM
  5. Replies: 0
    Last Post: 08-17-2000, 02:29 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts