Indigo Rose Software

Professional Software Development Tools

 
+ Reply to Thread
Results 1 to 7 of 7

Thread: %SRC Folder%

  1. #1
    Join Date
    Aug 2007
    Posts
    7

    %SRC Folder%

    I am evaluating AutoPlay Media Studio. I currently have an old version 2.0 I believe. The old version you can set a program to run and do not have to actually select a file or have the file added to your project, it just leaves it to you to make sure it is on the CD.

    You add it with something like %src drive%setup.exe. Is that possible with the newest version? It looks as if it wants to copy the files into the project before you can have the ran by a button click. I don't want something to be a complete project folder organizer for me, I will put the project together with my CD burning software. I just want to tell it the name of the file to run and trust me to make sure it is there.

    I also need the functionality "%WinDir%\hh.exe" without having to include windows system files in my project. Is this possible?
    Last edited by wakerunner; 12-19-2008 at 05:01 PM.

  2. #2
    Join Date
    Apr 2007
    Location
    Raalte, OV, Netherlands
    Posts
    3,287
    AMS 7.5 has _SourceDrive (as var, don't use %) eg: _SourceDrive.."\\filename.exe"

    also in there:
    _SourceFolder
    _SourceFilename
    _SystemFolder (windrive:\Windows\system32)
    you can fetch the windows folder by adding this to your script (global functions)
    _WinDir = String.Left(_SystemFolder, 2).."\\Windows";

    remember, version 7.5
    Bas Groothedde
    Imagine Programming :: Blog :: Familiar people here

    My AMS Plugins:

  3. #3
    Join Date
    Apr 2005
    Location
    São Paulo, Brazil
    Posts
    2,539
    Quote Originally Posted by C B programming and webdesign View Post
    _WinDir = String.Left(_SystemFolder, 2).."\\Windows";
    Why not use simply _WindowsFolder?

  4. #4
    Join Date
    Apr 2007
    Location
    Raalte, OV, Netherlands
    Posts
    3,287
    Quote Originally Posted by upeters View Post
    Why not use simply _WindowsFolder?
    yes sorry it's bloody night over here:P
    Bas Groothedde
    Imagine Programming :: Blog :: Familiar people here

    My AMS Plugins:

  5. #5
    Join Date
    Aug 2007
    Posts
    7
    I'm glad the variables are still there for the different locations. The problem I have having though is... in the "Quick action" properties box under "File to run" you cannot type there, you can only browse. I want to put "_Sourcefolder setup.exe" but I cannot type it in the textbox. When you browse for the file you want to run AMS copies the file into your project folder. I do not want the files copied to my project folder. I simply want to fill in "_??path ??filename.exe" and not have AMS add it to the project.

    Also if you cannot type anything in the "File to run" box how can you set the property to "_WinDir HH.exe"? I haven't seen a way you can unless I am missing something. I have version 7.5, the trial.

  6. #6
    Join Date
    Apr 2007
    Location
    Raalte, OV, Netherlands
    Posts
    3,287
    Then you could use File.Run, File.Open or File.RunAs (the functions)

    http://www.indigorose.com/webhelp/ams/
    Bas Groothedde
    Imagine Programming :: Blog :: Familiar people here

    My AMS Plugins:

  7. #7
    Join Date
    Aug 2007
    Posts
    7
    Thanks for the help... I must have put in too many hours today, I didn't even think to look under the script tab.

Posting Permissions

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