Then my mac run a script every 15 minutes?

I have osx 10.7 and indesign CS5, and I use a script I run several times a day.  Would it be possible to have my mac run this script automatically - perhaps every 15 minutes?

Hello

Kevin shows the syntax to use AppleScript, sth. like:

--open in Scripteditor, save as Programm with option stay open!

on idle
    tell application "Adobe InDesign CS5"
        --usage: do script pathToyourScript scriptinglanguage
        do script "Mac Red-Grafik 3:Users:claessen:Desktop:FunnyScript.jsx" language javascript --applescript language
    end tell
    return 900
end idle

Shareware for scheduled tasks: hazel

OSX BuiltIn LaunchD

Hope it will help

Hans-Gerd Classen

Tags: InDesign

Similar Questions

  • Running a script every day

    How can I create a script that will generate a SSH connection both regular every day and run a script on the computer remote linux?  The script already exists on the remote computer, I just need to connect and run it with vCO.  Thank you!

    Right - click on the "run command SSH" workflow in the vCO Client

    Select "schedule Workflow.

    Enter your calendar information

    Provide details of your host, run command, authentication, etc. and submit

    Run the workflow once or twice manually first to confirm that you have the correct values for all entries

  • Dbms_job, how to run a script every day at 06:00

    Hello

    I want to run a task every day at 06:00. To do this, I ran this script yesterday 26.

    DECLARE
    X NUMBER;
    BEGIN
    SYS. DBMS_JOB. Send
    (work = > X)
    , this = > ' start
    Tools.followup (1); Tools.purge (20);
    end; »
    , next_date = > to_date (May 27, 2009 06:00 ',' dd/mm/yyyy hh24:mi:ss')
    , interval = > TRUNC (SYSDATE + 1) + 6/24
    , no_parse = > FALSE
    );
    SYS. DBMS_OUTPUT. Put_line (' job number is: ' | to_char (x));
    COMMIT;
    END;
    /


    The problem is that, after the first execution next_date was 27 06:02!

    Is this a bug?

    Thanks in advance
    A.G.

    Are you sure of the definition of work? The DBMS_JOB. Call to SUBMIT, you have validated, for example, is incorrect, because the INTERVAL parameter takes a string, not a date.

    If your script is

      ,interval => 'TRUNC(sysdate+1)+6/24'
    

    who would ever resolve at 06:00. I would tend to believe that the actual definition of the specified simply task

      ,interval => 'sysdate+1'
    

    If it took 2 minutes to run, that would solve at 06:02.

    Justin

  • Set time interval for sub query runs automatically to every 5 minutes

    Hello

    Pls refer the below query, that query set a time interval to process or run this query automatically in every 5 minutes.

    Help me...!!!

    Declare

    l_recid varchar2 (100);

    Cursor c1 is

    Select a.recid a,f_ac_event@abnprod f_ac_event b where a.RecId = b.recid;

    Begin

    Open c1;

    loop

    Fetch c1 in l_recid;

    Remove from f_ac_event
    where recid = l_recid;

    When exit c1% notfound;

    End loop;

    Close c1;

    End;

    /

    ------------------------------------------------------------------------------(or)-----------------------------------------------------------------------------------------------------

    remove from f_ac_event
    where recid in (select x.recid in the f_ac_event@abnprod x);

    -----------------------------------------------------------------------------------------------------------------------------------------------------------------

    Kind regards

    Villa

    Hi all

    Thanks for all your ideas, I do appreciate you all, finally, I implemented the Planner below to build a procedure:

    Start

    DBMS_SCHEDULER. () CREATE_JOB

    job_name-online "Task1.

    job_type-online "PLSQL_BLOCK."

    JOB_ACTION => ' BEGIN p1; END;',

    start_date => SYSDATE,

    repeat_interval => 'FREQ=MINUTELY; ',

    End_date => NULL,

    -Online TRUE, enabled

    comments => ' * any * comments ');

    end;

    /

    Villa,

  • Run a script every two seconds

    Hi all

    I'm trying to find a way to exectute the script below, without the use of a timeout object. Any ideas?

    on getDataForNoface1 me

    If repeatinfo = TRUE AND (noface = "user_face") AND (ycoord = 'far away') then
    -Use far this option once at the beginning of presentation and 1-2 times (depending on the length of the presentation)
    -during the presentation
    Sprite (5). Hypertext = "\q [I am about to begin my presentation, you want to get closer?].
    RepeatInfo = FALSE
    on the other
    If repeatinfo = FALSE AND (noface = "user_face") AND (ycoord ycoord of GOLD = 'normal' = 'close') then
    -suspend the script above, when the user sees the character
    Sprite (5). Hypertext = "\stop []".
    RepeatInfo = TRUE
    on the other
    If repeatinfo = TRUE AND (noface = "no_user_face") AND (ycoord ycoord of GOLD = 'normal' = 'close' GOLD ycoord = 'far away') AND (xcoord = 'right') or xcoord = "left" then
    -If the character cannot see the user, same scenario as far!
    Sprite (5). Hypertext = "\q [master I can't see you more can get closer?].
    RepeatInfo = FALSE

    -write the code audio length
    end if
    end if
    end if
    end

    Quote:
    Posted by: wgb14
    Can you provide a code example? Its impossible to understand what you say otherwise

    Impossible?

  • HOW TO SCHEDULE A TASK TO RUN EVERY 30 MINUTES WITHOUT USING SCHEDULAR?

    Hello

    I have a requirement where I need to schedule the job to run every 30 minutes for 10:00 to 22:00. I came across problems using schedular odi. Let me tell you what I did...

    I chose the active mode between 10:00-22:00

    selected on startup/simple.

    and on the tab of repetitions selected several times with duration of 30 minutes.

    the problem is-

    (a) he kept at 22:00 but continues after 22:00

    (b) to randomly pick up longer than the length of 1/2 hour.

    you are looking for-

    a solution that works my script every 30 minutes from 10:00 to 22:00 without using the schedular system... which I can't trust.

    Concerning
    Vincent

    Vincent,

    We often use this methodology. You just need to run this package once. Since looping sound, it will continue to operate and run the task every 30 minutes and then refresh the variable. The variable will take care of the idle behavior of 22:00 to 10:00.

  • Run the script in local path calc

    @Hi all,

    We have a requirement in which an a certain application calc script is run to clear data. The data to be erased (months) are mentioned in a file that we receive the ETL.

    The mechanism is so that, from workday1 up to Workday4, we have a clear current and previous months and workday5 until the rest days, delete us the data of the current month.

    We were doing this manually so far and we need to automate the process. We used VBScript to read the contents of the file that is sent by ETL and change the script to calc.

    But the problem is the calc script which is getting changed is present in the local system and not on the application server.

    Please suggest some options where I can call the calc updated the script locally and executed him from maxl.

    Appreciate any help on this!

    Hello Sadhana,

    When you create a calc script VB logic on the local computer, then you can probably develop it a little and write a MaxL script with the calculation inside. Then you can run this script on your local computer where MaxL has been installed.

    Kind regards

    Philip Hulsebosch

  • I've recently updated to El Capitan 10.11.5. Since then, my Mac is running very slowly. Help!

    I've recently updated to El Capitan 10.11.5. Since then, my Mac is running very slowly. Help!

    Hello

    Much easier to troubleshoot why your Mac is slow so after upgrading of the El Capitan if you download and run EtreCheck

    Then copy and paste the results in your response.

    NO personal data is shared in the report.

    This should give us an idea of what is causing the problem.

  • Create jobs that runs a powercli script every day at 20:00

    Hi all

    I'm looking for a way to add a powercli script to cron or schduler so that it runs every day at 20:00 say... I found average windows wrt link below

    http://social.msdn.Microsoft.com/forums/SharePoint/en-us/e63d0776-b4aa-4ab6-885c-a41fd0c83a7c/create-job-that-runs-a-PowerShell-script-every-day?Forum=sharepointgeneralprevious

    Is there better way that this can be done for powercli as well?

    Thank you

    AFAIK, except if you have a few programming specifialised run SW, Windows Scheduler did a good job.

    BTW, Alan has also made a post on this, see running a scheduled task PowerCLI

  • I still can't install creative cloud desktop app on my mac running Yosemite it will download the dmg but will stop the installation process at halfway through the status bar displays installation then disappears to the halfway point - I used the creative

    I still can't install desktop application creative cloud on my mac running Yosemite 10.10.1 it will download the dmg but will stop the installation process at halfway through the status bar displays installation then disappears to the halfway point - I used the creative cloud cleanser and tried to install it as a new user admin does not work - I was able to install the desktop application creative cloud on my Mac pro that uses OS X 10.9.5 (and will install Creative cloud apps) two machines have similar programs.

    Hi Steven,

    Please refer to the threads below where this issue has been addressed:

    installer of creative cloud disappears

    Re: Installer of Creative cloud disappears during installation

    Kind regards

    Sheena

  • How to add buttons in the script, and then click on run different codes?

    If we run the script, then it should display ok, cancel button 6 button. If we click on button1 coding with button1 dangerousness must be running and so on.

    Button1

    Button2

    Button3

    Button4

    button5

    Button6

    OK Cancel.

    Marie rosine

    // DialogSimpleButton.jsx
    // http://forums.adobe.com/thread/1327372?tstart=0
    // how to add buttons in script, which on click run different codes?
    
    // regards pixxxelschubser
    
    function SimpleDialog() {
    
    var w = new Window('dialog', '');
    this.windowRef = w;
    w.orientation = "column";
    
    btn1 = w.add('button',undefined,'Button 1');
    btn2 = w.add('button',undefined,'Button 2');
    btn3 = w.add('button',undefined,'Button 3');
    btn4 = w.add('button',undefined,'Button 4');
    btnOK = w.add('button',undefined,'OK');
    btnCancel = w.add('button',undefined,'Cancel');
    
    btn1.onClick = function() {alert("Button 1");};
    btn2.onClick = function() {alert("Button 2");};
    btn3.onClick = function() {alert("Button 3");};
    btn4.onClick = function() {alert("Button 4");};
    
    defaultElement = btnOK;
    cancelElement = btnCancel;
    btnOK.active = true;
    
    btnOK.onClick = function() {
        stuff = "your stuff";
        w.close();
        }
    
    w.show();
    }
    
    var stuff = null;
    SimpleDialog ();
    if (stuff) alert(stuff);
    
  • "Cannot run the script at line 1. File or folder does not exist. »

    Whenever I have start AfterEffects, I get an error as he is looking to find my recent projects.  The error is as follows: "unable to run the script at line 1. File or folder does not exist. "I haven't changed the location in one of my project files.  It's the same external drives that I use for months.  When I click on OK the same window opens several times and then finally the historic window opens completely blank and empty.  I am able to reopen projects however since the RECENT PROJECTS drop in the top bar.  It is a very strange and disturbing behavior.  In addition, I always use 13.7.2 because when I go to update it is impossible to connect and gives me this error.  I sat with Adobe support for an hour today, and we couldn't understand.  As I am in the middle of major projects, I decided to not update, but this error at startup is very worrying.  Someone has an idea of what could go wrong or how I can fix this?

    Thank you very much for your time.

    -Fredo

    Screen Shot 2016-07-06 at 7.21.26 PM.pngScreen Shot 2016-07-06 at 7.21.11 PM.png

    Ok!  Just got a response and an Adobe technical support solution.  The problem is that there is a problem with these versions of sequels (and I found the same problem in first to my horror this morning as well!) and the last couple Mac OSs.  The solution is to close the window "library".  It is then normally.  Apparently they fixed in the last update, but I found the same problem on my second computer, which has been updated.  Anyway, if anyone has this problem, close your cc library window.  Voila.

  • [JS, ACE] I have an InDesign/InCopy script run a script system?

    I wish I could leave my InCopy users run a script that will create a new InDesign document on the fly, that the stories which they can then modify in InCopy.

    To do this, I guess I must have a copy of InDesign running on our server and have this copy of InDesign running the document generation script.

    So my question is, can I have an InCopy script call an AppleScript in OS (we are working on Mac) who will read something like 'say a copy of InDesign running on the server to run script x,' script where x creates the new document?

    (I'm not terribly familiar with Applescript, but I imagine that such a thing would be pretty easy to do, if that is possible).

    An added bonus would be if scripts called in the BONE and InDesign could send messages back in the chain to alert the caller InCopy script when they were finished, so that the InCopy script could then open the new document of the user.

    Thank you.

    Yes. It would certainly be a violation of the EULA.

    Basically no matter when you use InDesign as a web service to 'benefit' from a user not allowed (like the present where InCopy users would use the files resulting), you need credentials.

    You would be obliged to pay for the InDesign licenses for all your InCopy users, or pay for InDesign Server. Unless you have a certain users, it would probably be cheaper...

    Substances

  • I have a problem with the content of spam. Somewhere in the Fox appeared script that's choking me audio spam. Every 30 minutes he's playing an audio clip that is malicious.

    Hello.
    I have a problem with the content of spam. Somewhere in the Fox appeared script that's choking me audio spam. Every 30 minutes he's playing an audio clip that is malicious. I can't find the settings as it eliminated. Now, I don't have any plug-ins and Add-ons strange that were not initially in the Fox, but the problem is there.
    I use the Fox years. The problem, he had 1.5 months after Fox cleaning. If the problem can't win, I'll be forced to give up the browser, and I wouldn't.

    Could test you mode without failure of Firefox? It is a standard diagnostic tool to disable some advanced features of Firefox and extensions. More info: questions to troubleshoot Firefox in Safe Mode.

    Does not work if Firefox: Hold down the SHIFT key when you start Firefox.

    If Firefox is running: You can restart Firefox in Mode safe mode using either:

    • button "3-bar" menu > "?" button > restart with disabled modules
    • Help menu > restart with disabled modules

    and OK reboot.

    Two scenarios: A small dialog box should appear. Click on 'Start mode safe' (not update).

    Any improvement?

    If the problem persists in Mode without failure, could reinstall you Firefox in this way:

    Clean reinstall it

    We use this name, but it isn't about deleting your settings, this is to ensure that the program, files are clean (not incompatible, corrupt or exotic code files). As described below, this process does not disrupt your existing settings. Don't uninstall NOT Firefox, that does not need.

    (1) download a fresh Installer for Firefox 38.0.5 of https://www.mozilla.org/firefox/all/ in an ideal location. (Scroll down your preferred language).

    (2) close Firefox (if applicable).

    (3) to rename the program folder, either:

    (Windows 64-bit folder names)

    C:\Program Files (x86)\Mozilla Firefox
    

    TO

    C:\Program Files (x86)\OldFirefox
    

    (Windows 32-bit folder names)

    C:\Program Files\Mozilla Firefox
    

    TO

    C:\Program Files\OldFirefox
    

    (4) run the installer you downloaded in the #1. It should automatically connect to your existing settings.

    Any improvement?

    Note: Some plugins can only exist in this OldFirefox file. If it is missing something essential, present in these files:

    • \OldFirefox\Plugins
    • \OldFirefox\browser\plugins
  • Windows XP running startup scripts displays the taskbar?

    Hi all

    I have a newly installed Server 2003 domain.

    I have also 2 machines that I have connected to the domain. One of them works very well (goes on the internet, readers of network etc.).

    The other is does not work. It connects to the domain, reboot, then I log into the admin account. After that I did a gpupdate, and then restart the system.

    The problem is, when the system starts up again, it seems to start to run startup scripts, then seems to automatically connect on a called user account $ media (Media is the name of the computer).

    It displays the windows desktop and begins to run explorer.exe, with this user account (MEDIA$), with the start of the Running of scripts loading screen and does not get more.

    (Both the Pc running Windows XP Professional SP3)

    Any fix for that?

    Hello

    Your Windows XP question is more complex than what is generally answered in the Microsoft Answers forums. It is better suited for the IT Pro TechNet public. Please post your question in the forum TechNet for assistance:

    http://TechNet.Microsoft.com/en-us/WindowsServer/bb512919

    Hope the helps of information.

Maybe you are looking for