Rapport Script Code

  • This topic is empty.
Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #226
    MrVirtual
    Member
    • Total Post: 19
    • Regular Joe
    • ★★

    Hi,

    I am running some updates with Rapport and using the Creating Rapport 4 Packages guide found on this site.

    I have noticed that a lot of existing scripts and samples have a “+” after calling an installer of executable, this is also sometimes followed by a value i.e. “+60”

    This does not seem to be documented anywhere can anyone please illuminate me on what this is doing please?

    #8919
    thinkthin
    Member
    • Total Post: 1649
    • Jacked into The Matrix
    • ★★★★★★

    Hi MV,

    If you are using the packages I created I hope they work 🙂

    The switch is documented in the Rapport Script CHM in the Rapport downloads section and not in the orriginal package guide (sorry). Basically the + means wait until the exe has finished before procceding to the next script command line. A +60 would mean to wait 60 seconds before procceding.

    Thanks for using the site,

    Cheers,
    -TT

    #8920
    MrVirtual
    Member
    • Total Post: 19
    • Regular Joe
    • ★★

    TT thanks heaps!

    Yes your scripts work great! And I am now going to add plenty of +’s to mine.
    😀

    I have downloaded the WA Daylight Savings update, this patch has some issues and if reinstalled will uninstall or cause some rather odd things to occur. MS has released an update to this and I have created a Script to deploy that is now working on my S90’s quite well.

    If I can upload it anywhere please let me know.

    Many thanks

    #8925
    thinkthin
    Member
    • Total Post: 1649
    • Jacked into The Matrix
    • ★★★★★★

    I sent you a PM but email me the updated package and I will post it.

    Wow, other people sending me stuff – I love it!

    Thanks for the support MV!

    #8965
    sreese19
    Member
    • Total Post: 4
    • Newbie

    What is the * for. I see in sample code
    LU*

    I cant figure that one out.

    Is there a way to use an If statement?

    Has anyone used KIXtart? I was thinking of creating a rapport script that would copy the KIX files over and run them. You can create more complicated scripts if needed that way.

    Not that you necasarily WOULD need to but if you wanted to.

    #8966
    thinkthin
    Member
    • Total Post: 1649
    • Jacked into The Matrix
    • ★★★★★★

    Thanks a good question, I have not found the * to do anything but it is in some scripts.

    Yes, I use a Rapport script to copy and launch a cmd, vbs or whatever script you would like all the time. In this way using Rapport as a wrapper for my script. You would have to check for the existance of the Kix files and install then if they dont exist,

    Cheers,
    -TT

    #8971
    karaziel
    Member
    • Total Post: 74
    • Back Stage Pass
    • ★★★★

    The * following a command tells the hagent to continue processing the script even if an error is returned.

    When used with LU command “LU*” tells the hagent to unlock the device “EL” if and error is returned in the script before the EL command.

    You might also see this used on delete file commands “DF*” where the file may not exist.

    Does this help?

    -k

    #8972
    thinkthin
    Member
    • Total Post: 1649
    • Jacked into The Matrix
    • ★★★★★★

    Cool – it helps me! 🙂

Viewing 8 posts - 1 through 8 (of 8 total)
  • You must be logged in to reply to this topic.