Indigo Rose Software

Professional Software Development Tools

 
+ Reply to Thread
Results 1 to 5 of 5
  1. #1
    Join Date
    Aug 2007
    Posts
    26

    Having trouble using Script: System.GetDate

    Hello.
    I was having trouble using the "System.GetDate" action in the Script.
    I read the help file and I added that action to scrip.
    I saved it and built it as email/web executables.
    And I ran, but, it does't show me current system date?
    How do I use these fuctions/script/action?
    Please tell me detailed description.

  2. #2
    Join Date
    Apr 2005
    Location
    São Paulo, Brazil
    Posts
    2,539
    Quote Originally Posted by ajy0903 View Post
    Hello.
    I was having trouble using the "System.GetDate" action in the Script.
    I read the help file and I added that action to scrip.
    I saved it and built it as email/web executables.
    Hello.

    Did it work during the Preview?

    And I ran, but, it does't show me current system date?
    So what did you see instead? Wrong data, a syntax error message...?

    How do I use these fuctions/script/action?
    Please tell me detailed description.
    Please post your exported project or your code here and it will become much easier to help you.

    Ulrich

  3. #3
    Join Date
    Aug 2007
    Posts
    26
    Quote Originally Posted by upeters View Post
    Hello.

    Did it work during the Preview?



    So what did you see instead? Wrong data, a syntax error message...?



    Please post your exported project or your code here and it will become much easier to help you.

    Ulrich
    1. It didn't work in Preview.
    2. I saw nothing. It just Previewd fine and built as Web/Email executable
    fine. No wrong data or no syntax error message.
    3. Here is my exported project.
    Attached Files
    Last edited by ajy0903; 02-16-2009 at 05:06 PM.

  4. #4
    Join Date
    Apr 2004
    Location
    Vancouver, Canada
    Posts
    1,790
    You really need to read the help file. You assigned the current date to a variable named result and that is it. You never actually told the program where to display it. Where did you think it was going to display? Where do you want it to display? You need to create a label and set it's text to the current date.

    Code:
    result = System.GetDate(DATE_FMT_US);
    Label.SetText("Label1", result)
    Obviously change the label name to the name of your label.
    Dermot

    I am so out of here

  5. #5
    Join Date
    Aug 2007
    Posts
    26
    Quote Originally Posted by Dermot View Post
    You really need to read the help file. You assigned the current date to a variable named result and that is it. You never actually told the program where to display it. Where did you think it was going to display? Where do you want it to display? You need to create a label and set it's text to the current date.

    Code:
    result = System.GetDate(DATE_FMT_US);
    Label.SetText("Label1", result)
    Obviously change the label name to the name of your label.
    Oh.
    Thanks!!!!!!
    This was my 3rd day trying to using it.

Similar Threads

  1. Server script decryption error on Chinese Windows XP
    By SvenskLars in forum TrueUpdate 2.0
    Replies: 6
    Last Post: 10-11-2010, 02:47 AM
  2. Tree menu
    By Brave Heart in forum AutoPlay Media Studio 6.0
    Replies: 17
    Last Post: 05-20-2009, 10:23 AM
  3. Quick script tester
    By pww in forum Setup Factory 8.0 Examples
    Replies: 0
    Last Post: 01-20-2009, 04:54 PM
  4. Trouble with empting system folders script
    By Jon in forum AutoPlay Media Studio 6.0
    Replies: 7
    Last Post: 05-13-2006, 07:39 AM
  5. How can I know the FS Command name of a movie???
    By yoske in forum AutoPlay Media Studio 5.0
    Replies: 27
    Last Post: 01-01-2005, 10:39 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