Possible to restart AE within a script?

Is it possible to restart AE from a script rather than simply quit it?  I couldn't find any restart() method, so I thought something like this might work (at least for OSX):
APP_EXECUTABLE = new File(Folder.appPackage.parent);
app.quit();
APP_EXECUTABLE.execute();
Any pointers?
Thanks,
Laz

You can't restart After Effects from an After Effects script. But you can start it from a batch/shell script, as with any other executable.

Similar Messages

  • Securely deploying and using credentials within a script (not running the script under the credentials)

    Here is my scenario - I have SCOM 2007 R2 and on certain agents I want to execute a script. One of the actions of that script is to access a secured web page using a username and password via integrated authentication (IE pop-up for auth).
    The username and password that I need to use are unrelated to the Windows domain that the servers run in, meaning you can think of the website as if it were a public site (it isn't, but it has no security sharing with the domain where the agents run - no trust,
    no nothing).
    I can easily accomplish this by hard-coding the username and password within the script (powershell), however, I don't want to do this for security reasons. Here's a rough example of the relevant code:
    $targetURL = "https://somehost.somewhere.something/filename.zip"
    $path = "c:\downloads\filname.zip"
    $wclient = New-Object System.Net.WebClient
    $wclient.Credentials = New-Object System.Net.Networkcredential($uname, $pword)
    $wclient.DownloadFile( $url, $path )
    What I want is a way to pass the $uname and $pword variables to this script securely, with the script running on a schedule under SCOM. The SCOM agents run as localsystem and need to remain that way.
    I currently use Run-As accounts and profiles for other functions where the entire script runs under the run-as profile, but I can't figure out how to extract the username and passwords, and doubt it's even possible.
    To be clear, I cannot run the script under the given credentials as a Run-As account as those credentials are not known to the local server. I need to somehow pass the credentials to the script (other than hardcoding) or extract them from the run-as accounts.
    I've looked at the get-runasaccount cmdlet and can see some of the info there, but don't see a way to re-use, pass-through, or extract the password for use in my scenario.
    Any guidance? Can I get there from here?

    Hi, check this
    http://social.technet.microsoft.com/Forums/windowsserver/en-US/ebfc706d-93be-4ca0-83e0-33d9e072fb97/powershell-script-monitor-with-encrypted-password?forum=operationsmanagerauthoring
    But you should not specify runas account for your workflow, just reference Runas Username and Password from Profile and use simple authentication. (The same way as in article above)
    So in the end your script will be executed by default action account but you'll pass username and password securely to your script.

  • Is is possible to open indesign from a script?

    Is there any way to open indesign from within a script, or does the application already need to be running before a script can access it?
    Thanks in advance.
    Jude Fisher
    http://www.jcfx.eu

    In Applescript, when you compile the code, the app must be running. If it's not, then it will start.
    When you run the script, InD doesn't have to be started first. You could have some Finder actions happen, then InD starts at the needed time when it's actions occur. You can have an if/then statement that only requests InD to do an action only if other circumstances are met. You do not even need to tell application InD to launch, just the first tell app statement will do it.
    I do not know how things work in Javasc or VB.

  • Is it possible to restart a download from the amount downloaded previously?

    Is it possible to restart a download from the amount downloaded previously?
    When I download some lectures from iTunes U, sometimes the link breaks and the download gets interupted.Then when the download is resumed it starts from 0 KB and not from the KB amount that was downloaded when the download was interupted.Is there a way to resume the download from the point it was interrupted?

    Well I'm using 9.0.3.1.5 and I STILL have this same problem.
    Not sure if location is a factor, but I'm a US resident with a US iTunes account but I spend most of my time in Asia and I know a LOT of folks in India, UAE, etc with it. Everything else in iTunes works perfectly fine, except resuming non-purchased downloads.
    On Apple Support I could only find a solution related to Purchased downloads, but not individual unsubscribed podcasts you clicked GET on or free iTunesU content. These still go back to zero with no option to resume only restart.
    I mean, every quality download manager for your web browser gives you a consistent experience in resuming almost any download except very few servers on the Internet with specific policies to not allow resumes. If there is no solution just silence, either this is one of those mysterious come-and-go bugs that are hard to replicate or maybe iTunes is conserving bandwidth by discouraging resumes of free content it doesn't make money on. Especially 100MB+ files from folks in places with reliable but slower "3rd world" connections. So I would with a half bitten lip throw an answer your question as NO, it is not possible.
    I do hope someone who thinks they have a solution steps in to say Yes, it would make a lot of people very happy.

  • Is it Possible to define Levels within Levels in a Dimension

    Hi is it possible to define Levels within Levels in Dimension??

    Hi is it possible to define Levels within Levels in Dimension??

  • I recently upgraded to Mavericks from Snow Leopard. Does Snow Leopard still exist on my Mac? If so, is it possible to restart under Snow Leopard in order to run PowerPC apps? If not, is there an OS available in 64 bit that supports PowerPC apps? Mav ***.

    I recently upgraded to Mavericks from Snow Leopard. Does Snow Leopard still exist on my Mac? If so, is it possible to restart under Snow Leopard in order to run PowerPC apps? If not, is there an OS available in 64 bit that supports PowerPC apps? Mav ***.

    The only reason I upgraded to Mavericks was because my Snow Leopard OS was 32 bit, which I was told would support only 4GB of RAM.
    That wasn't quite right. You can put in as much RAM as your Mac's hardware supports. The division is in the apps themselves. A 32 bit app can't use more than 4 GB or RAM. A 64 bit app can use much more.
    For example, as a 32 bit only version, Photoshop CS3 can't use more 4GB of RAM, no matter how much you actually have installed. CS4 or later can use all the RAM you want to throw at it.

  • It is it possible to perform additions within a cell?

    Using the latest version of "numbers" and the latest Mac OS   It is it possible to perform additions within a single cell, for example, adding numbers  within a cell like 100+100 and have the sum within the same cell?

    Hi Leo,
    Formula =100+100
    Yes, I sometimes use that as a calculator.
    Regards,
    Ian.

  • Tell which Script (or Action) you are running from within that script

    Is there a way within a script to tell the name of the javascript file you are running?
    For example, if I'm running "My Actions/clipOut.jsx" can I set a variable to return "My Actions/clipOut.jsx"?
    (or if I'm running action "Clip Out" of Action Set "My Actions", is there a way to return that info in a script?)
    thanks!!

    dgoldberg
    I'm sorry I wasn't clear in my question:
    As I work on a javascript file I keep my test version on my local machine and push out a final version to a server when my updates are complete.  Then other people access the version on the server to run their actions.  The problem is that I'd like my action to behave differently depending on whether it's the test version or the server version.  If I could get the name/path of the script I'm running (while running the script), I could build out different behaviors whether the version of the script was local or on the server.
    For example, my actions work in unison with many other actions.  It would be nice if my local actions only access other local actions, and server actions only accessed other server actions.
    Does that make sense?

  • Is it possible to run SkinLF within NetBeans 4.0 environment?

    I have downloaded SkinLF and very eager to use it. I want to use it through NetBeans 4.0. For themes there are no problems (thanks to sabre150). But when I want to use NativeSkin or trying to run Batch File from SkinLF it says "If you are using JDK 1.4 (I am using jdk1.5) and it complains about jawt.dll use jdk.home\jre\bin\java instead of jdk.home\bin\java". I have tried to change NetBeans .config file but then NetBeans failure to run. May be I am doing something not in a right way or it is impossible to run SkinLF within NetBeans 4.0 environment at all?
    Please help.

    As I said, when I am trying to use SkinLF through NetBeans 4.0. it starts complaining about jawt.dll (as described above).
    I have tried to change NetBeans .config file but then NetBeans failure to run.
    If you are not using SkinLF probably it is hard to understand what's going on. But people who use it should know. I wonder whether it is possible to run SkinLF within NetBeans 4.0 or I have to refuse any attempts.
    You are good just because I consider those who try to help as good one.

  • Is it possible to "restart" my Creative Rhomba play

    Hello!
    I have a problem with my Creative Rhomba 256 mb mp3 player! So I wonder if it possible to "restart" my player, so it gets like it was when I bought it or something?

    Search for the Rhomba FAQ in the Knowledge Base.

  • SimpleText voice changes within the script, is this possible?

    I have just wet myself laughing at the "voice" reading my written text in SimpleText - Bruce and Fred etc. Now would like to have two different voices reading my text as if there were actors. Is it possible to change the voices with the text?
    example:
    [Fred voice] hello I'm the fred voice
    [Bruce] and I'm the sound fo bruce
    [Fred] yes and now back to me
    I'm running and old PPC 4400 and OS9
    I would imagine it is, either by using a particular app or by adding some script. Any suggestions?

    Thanks for the details.
    I debugged the process and can see this line is providing the text on the tab. However, the method is making a low-level call to get the details from some message class/table, but I can't identify what this message class/table is.
    But it looks like it's the sotr_edit transaction, as you mentioned, that controls this. I'm not that familiar with this OTR process though and the transaction is not that intuitive. I assume that I just need to somehow add new entry, with my own Z package.
    Many thanks for the advice though, I knew nothing about that transaction. I also have to create another Online factsheet as well, and it looks like I can control it this way as well.
    I had already modified table CRMV_PRN_CONTROL via sm30 and had changed the values for the Fom name and class/interface from CRM_ACC_ACCOUNT_OVERVIEW_PRN to ZCRM_ACC_ACCOUNT_OVERVIEW_PRN for the form name and from CL_UIU_PRN_ACCOUNT to ZCL_UIU_PRN_ACCOUNT for the class/interface against all the roles.
    However, I know want to add another form name and class/interface as I have TWO user PDF Factsheets to use, depending on which item the user chooses from the Tab.
    Any idea how I can control this?.
    Best regards
    Jason

  • [SOLVED] dwm-status.sh, possible to include scripts within the script?

    I have 'dwm-status.sh' printing some basic info (mpd, vol, date) into the status bar. Is it possible to make it include eg. gmail, weather, and battery scripts in a similar way that conky would? (execpi 60 python ~/.scripts/gmail.py)
    Also, off topic: How can I see which other special characters represent which icons in Ohsnap font? e.g. "Ñ" "Î" "¨" "¹" "ê" "í" "È represent cpu, memory, hdd, vol, clock.... how about the rest?
    dwm-status.sh:
    #!/bin/sh
    icons=("Ñ" "Î" "¨" "¹" "ê" "í" "È")
    getMusic() {
    msc="$(ncmpcpp --now-playing '{%a - %t}|{%f}')"
    if [ ! $msc ]; then
    echo -ne "\x0A${icons[4]}\x01 music off"
    else
    echo -ne "\x0A${icons[4]}\x01 ${msc}"
    fi
    getVolume() {
    vol="$(amixer get Master | egrep -o "[0-9]+%" | head -1 | egrep -o "[0-9]*")"
    echo -ne "\x0A${icons[5]}\x01 ${vol}"
    getDate() {
    dte="$(date '+%b %d %a')"
    echo -ne "\x0A${icons[1]}\x01 ${dte}"
    getTime() {
    tme="$(date '+ %H:%M')"
    echo -ne "\x0A${icons[6]}\x01 ${tme}"
    while true; do
    xsetroot -name "$(getMusic) $(getVolume) $(getDate) $(getTime)"
    sleep 1
    done
    Last edited by Winston-Wolfe (2013-06-26 13:10:11)

    Thanks guys, I've managed to get my notification scripts printing by simply not using execpi:
    getMail() {
    mai="$(~/.scripts/gmail.py)"
    echo -ne "\x0A${icons[3]}\x01 ${mai}"
    But like you said, I now have a calling frequency challenge.
    Trilby, that looks great. I've got it partially working, but I'm at a loss on how to go about printing the variables in the loop for those blocks that happen periodically.
    otherwise your email indicator (for example) will only pop up for one second every 5 minutes.
    ^ exactly what's currently happening.
    Is there something that just prints the variable without calling for an update like $(getMail) does that I could put into the loop?
    let loop=0
    while true; do
    # stuff that happens every second here
    xsetroot -name "$(getMusic) $(getVolume) $(getDate) $(getTime)"
    if [[ $loop%60 -eq 0 ]]; then
    #stuff that happens every minute here
    xsetroot -name "$(getMusic) $(getMail) $(getVolume) $(getDate) $(getTime)"
    fi
    if [[ $loop%300 -eq 0 ]]; then
    # stuff that happens every 5 minutes here
    xsetroot -name "$(getMusic) $(getMail) $(getWeather) $(getVolume) $(getDate) $(getTime)"
    let loop=0 #this prevents an eventual overflow
    fi
    let loop=$loop+1
    sleep 1
    done
    Last edited by Winston-Wolfe (2013-06-26 08:54:47)

  • Insert into 2 datasources within One Script

    Is it possible to insert into 2 different datasources within
    the same script?
    It seems as if Coldfusion will only process the first query.

    because the boob who created the table acutally named it
    (ROLE ADMIN) including the parenthesis. so for CF to communicate
    with that table, you need to surround it with square brackets.
    The issue has been resolved since the original post. it was a
    db error, suprise suprise.
    ~ i really hate cleaning up someone else's mess.

  • Is it possible to restart jobs defined using BMV0 with these errors?

    Hi All,
    I have got this direct input job defined in BMV0 and scheduled as an event related periodic job. The job gets restarted when the errors are 'system_cancelled' , 'Dataset cant open' etc., but when the job errors are 'Session cant be protected', 'error due system shutdown',the job is not getting restarted and its giving a message 'A job with the same name has not yet ended'.this message is getting displayed when the job gets cancelled....If I check in SM37 , its cancelled and the error in the job log is 'error due to system shutdown' or 'session cant be protected'.
    So Is it possible for this periodic job to get triggered even when the latter set of errors occur?
    When the event triggers agin, the job gets restarted if the error is 'system_cancelled' but if they are the above set of errors, the job gets cancelled again and the message in the job log of sm37 is a job with the same name has not yet ended.
    Message was edited by: Sushma Anuprava

    Hi i have same problem as u mentioned as below.
    I have got this direct input job defined in BMV0 and scheduled as an event related periodic job. The job gets restarted when the errors are 'system_cancelled' , 'Dataset cant open' etc., but when the job errors are 'Session cant be protected', 'error due system shutdown',the job is not getting restarted and its giving a message 'A job with the same name has not yet ended'.this message is getting displayed when the job gets cancelled....If I check in SM37 , its cancelled and the error in the job log is 'error due to system shutdown' or 'session cant be protected'.
    So Is it possible for this periodic job to get triggered even when the latter set of errors occur?
    When the event triggers agin, the job gets restarted if the error is 'system_cancelled' but if they are the above set of errors, the job gets cancelled again and the message in the job log of sm37 is a job with the same name has not yet ended.
    Did you get this resolved ? is so plz let me know.
    Thanks in advance !

  • Is it possible to restart firefox, say, to activate a download-scheduling add-on, without loosing all of the progress I've already made on my current downloads?

    I have two active downloads, about 3 and-a-bit gig total, about 50% complete. I want to finish downloading them off-peak, but since i try to avoid staying up 'till 2 am to start the download, I got a download scheduler add-on.
    Trouble is, I need to restart Firefox to have it accessible, but previous experience tells me this will waste all my downloads thus far. Given that Firefox can pause and resume downloads while running, I thought it might be possible to resume after restart. Is it?

    A quick look at the DM1 site shows that it works with Audiocopy.

Maybe you are looking for

  • HT204053 Apple ID on multiple devices

    I have made a big step up to a iMac, because i have 2 iPhones, 2iPads and a ipod for my daughter.  I am having issues with the iMac message portion seeing ecery text being sent from every device using my apple ID. What should I do or how do I allow a

  • Safari shuts down when trying to login to a site...same prob in itunes

    I think it happened after the last security update... Anytime I log into a secure site safari just shuts down...no error message or shut-down message or anything. itunes does the same thing if I try to login to my account or if I try to burn a CD. I

  • Name/Password radio clicked -- users still show

    We're tightening security on our macs and have been changing login options from showing a list of users to showing Name and password. On one particular machine, I logged into the admin account to make the switch and the panel in System Prefs-->Accoun

  • Avchd output to bluray

    Hi all  I read this on Adobe site "AVCHD output to Blu-ray NEW Publish content from AVCHD cameras to Blu-ray using the high-quality native camera format. By passing AVCHD content directly to disc without transcoding, Encore preserves the original fid

  • X1 Carbon Windows 8 Pro touch pad problem?

    So, one can swipe from the right to left on the carbon touch pad and bring up the windows 8 charm menu.  I can do this and everything works as expected.   However, ever so often, the windows 8 charm menu would just popup.  I thought I was triggering