Trying to learn Applescript

I am referencing this 'guide':
Adobe Illustrator CS6 Scripting  Reference: AppleScript
I am trying some of the examples in this guide with my copy of CS6 and have yet to get a single example to do anything.
Clearly I am missing something ridiculously obvious.
Can anybody throw some light on this?
Thanks
Sean

Oh I don't know the reason for that without examples… I started out scripting with AppleScript and its fine… What you do need to take into consideration is the pros on cons of each given language… This can be pretty confusing when starting out… So heres my brief overview…
AppleScript ( mac ) & Visual Basic ( pc ) offer wider access to your system and it's other applications… While you will get help offered here you may find more and better help elsewhere… certainly with the core code less so with the app itself as all may not use it… Each of these is platform specific…
If your new to scripting then Adobe also offers ExtendScript… this is used more widely here in these forums and is platform agnostic…
Im not trying to push you in any direction but you should do a little studying and determine which suites your needs best…
What is it that you want to automate…? does it use non Adobe apps… what OS does it need to run on… and so on…
Personally I started out using AppleScript but now prefer ExendScript ( not quite as easy but there you go ).
Nothing to stop you learning more than one if need be… once you've got a grip of the basic principles of maths, strings, loops and such theres not a massive difference between them…

Similar Messages

  • I have a new iPhone 5S.  While trying to learn about it, I accidentally recorded a voice memo with no content.  I cannot now figure out how to get rid of it.  There is a banner across the top of my phone with this memo which I don't want.  Help!

    I have a new iPhone 5S.  While trying to learn about it, I accidentally recorded a voice memo with no content.  I cannot now figure out how to get rid of it.  There is a banner across the top of my phone with this memo which I don't want.  I have deleted it from iTunes but cannot get it off the phone.  Help!

    The banner usually indicates that the memo is "Paused." If you go back into voice memos, touch the word "Done" beside the big red pause button, give it a name, then it will show in a list. Touch the memo in the list then touch the trash can icon that should appear.

  • I'm trying to learn and I think the knowledge is here!

    Hi! i'm always trying to learn and pass forward.  I'm not here to cause trouble. I have some things that I would like to have confirmed or denied. I do not own a HP computer at this time, but several of the residents in my village do. I have observed some great advice to community members from some smart people here on the forum. I have some things that I have learned from other forums and I want to share them. I would like to have comments from all the smart members here on the community forum. OK here we go!!
    Let's say we have a PC that won't boot into windows for some reason. Now IMHO, we have software or hardware problems.
    This is what I do. I down load a linux program. It's called Pupply Love.http://puppylinux.org/main/Overview%20and%20Getting%20Started.htm
    This is a ISO file that you burn to a CD. It is a live CD and you can boot with it. You do not need a HD.
    Even if your PC has no hard disk (ex, broken hard disk), you can still boot Puppy via CD or USB and continue working. Old PCs that no longer work with new systems will still work good-as-new with Puppy.
    Now IMHO, you have proved that your monitor,power supply, and CPU are working. So now the HD is left. There are many ways to test your HD. One that comes to my mind is seatools dos.http://www.seagate.com/support/downloads/item/seatools-dos-master/
    One way to test your memory is memtest86.http://www.memtest86.com/download.htm
    memtest and seatools dos are both live CD's and should boot even if you don't have a working OS.
    Another live CD is the system repair CD  and the system recovery discs that you should have created on day one.
    I realize that HP has some great tools and I'm hoping that a guru will reply to this thread and add their comments. This is the way I learn. Computers can be a pain in the neck, but us humans can hold our own if we are willing to learn and pass forward to others.
    Dokie!!
    PS I take criticisms pretty well! This thread can be deleted if it is out of line or does not meet the standards of the forum. Some times I get a little windy and carried away.

    Hi Leo! If you can stop these down load managers, you will be my hero.
    Dokie!!
    PS I have tried my best to warn members here on the forum, but I haven't got a lot of support so far.
    I have my figers crossed that the new team will get-er-done

  • I have had LR4 since last August.Have just decided to start using it.I have an IMAC 10.9.3 version. Am trying to learn with "Classroom in a Book. Ton of  problems.Adobe will not help because it is to old and they no longer support. Can anyone tell where I

    Did anyone see the post I made about LR 4?Just in case I will post again. I have LR4 I bought last August and just now I am trying to learn this >I have "Classroom in  a Book" for LR4 lots of problems . I have a IMAC version 10.9.3. I tried different Adobe sites. They will not give me the Time of day because they say they no longer support this program. Can anyone here tell me where I can get support for this LR$ that Adobe no longer recognizes. Thank you My name is Jerry S. MY e-mail is [email protected] and phone number is 563-344-7910.

    Okay I will try. First I have lost pictures in catalogs and could not find again.I have tried reinstalling LR4 and when I do and reopen LR4 the same catalog appears in the panel and filmstrip and I have no idea how to get rid of that catalog and start over at square one like it was the frist time it was opened. That would be a big help and I think I start over and avoid the same problems.

  • Hi, I've just started as a fresher in sap fico and I'm upto the LSMW part and I'm wondering why I keep getting an error in Run batch step when I do everything else correct could you help?  Please help I'm really trying to learn it as fast as possible

    Please help I'm really trying to learn it as fast as possible?  I've posted the file with all my screen shots going through the enitre process of me creating the LSMW file.

    First, I will try to address the iPod issue: If youve tried EVERYTHING on the website, your only other option is probably to contact Apple, I recommend by phone, and informing them of the problem. You are covered by warranty and therefore they are liable to assist you. Try that and come back with a status update
    Now I will address your attitude about it:Its absolutely understandable to be upset over something like this, especially with such an expensive product, but you are generalizing far to much. You may think Apple is being unproffesional by not warning potential buyers of the iPods common faults, but do you really think they would? they are out to sell these things, they arent going to point out the bad in their product. And not all iPods have problems, in fact only a fraction do. That gopes for the rest o Apples products as well. You are too hasty assuming all Apple products are junk, and one of many reasons as to why that is unfair of you is becuase you dont own any other Apple products.

  • Trying to learn about threads

    Hi guys,
    I'm trying to learn more about threads......i've written a small program for a better understand, but i don't understand the order of the output i'm getting:
    public class testme {
    public static void main(String[] args) {
    Theshape mover = new Theshape("go");
         mover.start();
    System.out.println ("checkpoint 1");
    System.out.println ("checkpoint 2");
         }//main
    }//class testme
    class Theshape extends Thread {
    public int count;
    public String thego;
    Theshape (String gg){
         thego= gg;
    count=0;
    }//constructor
    public void run(){
    try {
    do{
    System.out.println (thego);
    sleep(1000);
    System.out.println ("johnny");
    count=count+1;
    }while(count<8);
    } catch (InterruptedException e) {}
    }//run          
    }//class theshape
    ........the output i get is:
    checkpoint 1
    checkpoint 2
    go
    johnny
    go
    johnny
    go
    johnny
    go
    johnny
    go
    johnny
    go
    johnny
    go
    johnny
    go
    johnny
    I would like to know why "checkpoint 1" and "checkpoint 2" is printed first, even though the call to the run method is made before the two statements. i would have thought that the two checkpoint statements would be printed last.
    Can anyone help?
    Thanks,
    Zaf

    After you've issued the 'mover.start()' call, a new thread pops into existence. The first thread (your main thread) continues to run while the second thread prepares itself to start up. On your machine, this startup takes a (little) while, so your main thread is able to print those two line just before the other thread is able to print something. That's all there is to it. If you put a 'Thread.sleep(1234)' between those two println statements in your main thread, the output would probably be a bit different. Give it a try.
    kind regards,
    Jos

  • Trying to learn zsh completion. Help me achieve it?

    Hi,
    I'm trying to learn to write completion functions for zsh, and started by writing one for unison, which looks in the profiles directory to tab-complete profiles. So far, I've got a _unison file containing the following:
    #compdef unison
    #typeset -A opt_args
    local profiles
    profiles=~/.unison
    _files -W ${profiles} -g '*.prf' && return 0
    return 1
    Which works relatively well:
    % unison <tab>
    default.prf documents.prf photographs.prf
    Just for the fun of it really, I'd like to remove the .prf bit and just have it complete the basename. Any idea how I can achieve this?
    Thanks :-)

    I don't think 'basename' is the right word.
    This works for bash:
    for i in *.txt; do echo ${i%%.*}; done
    Now you have to somehow add it to your workflow.

  • Trying to learn to code div tag so that i can make 3 columns

    Hello,
    I am trying to learn how to work with the code for div's in Dreamweaver.
    I have a id for the main container named wrapper that is 900px wide and I have 3 div's inside of it that are just long blocks of type . Each div (#history, #attitudes, #per) is 300px wide with the height falling to accommodate the type. I want then next to each other, and right now they are just one long column with the 3 sections..each have a different background color. Here is the code so far...I am trying to play with the float and positioning but nothing I do works.  In the End, it should just be 3 columns of type next to each other. Each column has one header tag for the topic name and the rest is just using the p body tag. can someone help me get the columns next to one another using the code?
    thanks!
    babs
    #wrapper{
    width:900;
              background-color:#CCCC66;
    #history{
              width:300px;
              height:80px;
              background-color:#FF9999;
    #attitudes{
              width:300px;
              height:80px;
              background-color:#ccFF99;
    #per {
              background-color:#FFFF99;
              width:300px;
              height:80px;
    Here is an image to see them on top of one another....I jusyt want them side by side.....

    Copy & paste this code into a new, blank document in code view.  Save and preview in browsers.
    <!doctype html>
    <html>
    <head>
    <meta charset="utf-8">
    <title>HTML5 document</title>
    <style>
    body {
        margin:0;
        padding:0;
        font-family:"Lucida Grande", "Lucida Sans Unicode", "Lucida Sans", "DejaVu Sans", Verdana, sans-serif;
        font-size:16px;
    #wrapper {
    width: 900px;
    margin: 0 auto;
    background-color: #CCCC66;
    overflow: hidden;  /**float containment**/
    /**three columns**/
    #history, #attitudes, #per {
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    float: left;
    width: 33.33%;
    min-height: 80px;
    padding:12px;
    #history { background-color: #FF9999; }
    #attitudes { background-color: #CCFF99; }
    #per { background-color: #FFFF99; }
    </style>
    </head>
    <body>
    <div id="wrapper">
    <div id="history">
    <h3>History</h3>
    <p> Lorem ipsum dolor sit amet, consectetur adipiscing elit. Mauris vitae libero lacus, vel hendrerit nisi!
    Maecenas quis velit nisl, volutpat viverra felis.
    Vestibulum luctus mauris sed sem dapibus luctus.
    Pellentesque aliquet aliquet ligula, et sagittis justo auctor varius. Quisque varius scelerisque nunc eget rhoncus. Aenean tristique enim ut ante dignissim. </p>
    </div>
    <div id="attitudes">
    <h3>Attitudes</h3>
    <p> Lorem ipsum dolor sit amet, consectetur adipiscing elit. Mauris vitae libero lacus, vel hendrerit nisi!
    Maecenas quis velit nisl, volutpat viverra felis.
    Vestibulum luctus mauris sed sem dapibus luctus.
    Pellentesque aliquet aliquet ligula, et sagittis justo auctor varius. Quisque varius scelerisque nunc eget rhoncus. Aenean tristique enim ut ante dignissim. </p>
    </div>
    <div id="per">
    <h3>Per</h3>
    <p> Lorem ipsum dolor sit amet, consectetur adipiscing elit. Mauris vitae libero lacus, vel hendrerit nisi!
    Maecenas quis velit nisl, volutpat viverra felis.
    Vestibulum luctus mauris sed sem dapibus luctus.
    Pellentesque aliquet aliquet ligula, et sagittis justo auctor varius. Quisque varius scelerisque nunc eget rhoncus. Aenean tristique enim ut ante dignissim. </p>
    </div>
    <!--end wrapper--></div>
    </body>
    </html>
    Nancy O.

  • Trying to learn Spry Framework Ajax

    So I am trying to learn how to use Spry Framwork for Ajax;
    which I downloaded from
    http://labs.adobe.com/technologies/spry/
    Does anyone know if this some how plugs into Dreamweaver 8 or
    if I wish to use it, "the Photo Gallery to be specific", that I
    have to manually manipulate the code to use my photos and then
    implement their html into my template?

    With DW8, you will have to use the Spry Framework manually.
    It's built into
    the new Dreamweaver CS3.
    Nancy Gill
    Adobe Community Expert
    Author: Dreamweaver 8 e-book for the DMX Zone
    Co-Author: Dreamweaver MX: Instant Troubleshooter (August,
    2003)
    Technical Editor: DMX 2004: The Complete Reference, DMX 2004:
    A Beginner''s
    Guide, Mastering Macromedia Contribute
    Technical Reviewer: Dynamic Dreamweaver MX/DMX: Advanced PHP
    Web Development

  • Trying to learn OPA.   Getting error.

    Hi,
    I am trying to learn OPA. I did the initial setup & tried testing 'AdminSmokeTest'rule base from Siebel. On clicking 'DS Smoke test' button from Policy Administration Smoke Test screen, I am getting successful result. However, on clicking "WS Smoke Test", I am getting error as ['Failed to load caseId', SADMIN,0-1, AdminSmokeTest'], as per the given posts , I checked that I am able to launch the Web determination page independently of Siebel.After selecting the 'AdminSmokeTest' rule base, I started a new investigation, however, on clicking the Save option of the page, I am getting error and nothing is saved in Siebel .
    An error occurred trying to process your request.
    This error has been logged and is available in the application logs.
    For support and assistance please contact [email protected] guide me.
    Thanks
    Lovely

    Hi Frank,
    Thanks for your reply. Going through the existing "DS Smoke Test", I successfully did the POC of sending a request to Determinations Server and process the response for my business scenario.
    However, while doing "WS Smoke Test" from "Policy Automation SmokeTest" screen itself, on clicking "WS Smoke Test", I am getting error as ['Failed to load caseId', SADMIN,0-1, AdminSmokeTest'], as per the given posts , I checked that I am able to launch the Web determination page independently of Siebel.After selecting the 'AdminSmokeTest' rule base, I started a new investigation, however, on clicking the Save option of the page, I am getting error and nothing is saved in Siebel .
    An error occurred trying to process your request.
    This error has been logged and is available in the application logs.
    For support and assistance please contact [email protected]
    Based on previous post inputs, I tried to debug the issue & is facing following issue
    Where can I look for application server log? - I checked at C:\Program Files\IBM\WebSphere\AppServer\profiles\AppSrv01\logs but couldn't find any file with current date
    The siebel-data-adapter.properties file has content as
    URL=http://localhost/eai_anon_enu/start.swe?SWEExtSource=SecureWebService&SWEExtCmd=Execute
    username=SADMIN
    password=SADMIN
    AdminSmokeTest.configName=AdminSmokeTest
    AdminSmokeTest.externalId=firstname
    FraudCase.configName=FraudCase
    & the Inbound web service is pointing to http://localhost/eai_anon_enu/start.swe?SWEExtSource=SecureWebService&SWEExtCmd=Execute for all the service port.
    Can you pls guide me with step by step process of debugging this issue.
    Thanks
    Lovely

  • Trying to learn RMAN

    I'm trying to learn RMAN, so I tried the following test:
    rman
    Connect Target;
    shutdown immediate;
    startup mount;
    backup database;
    Then I deleted all the tables in the SCOTT schema and did this:
    rman
    STARTUP FORCE MOUNT;
    RESTORE DATABASE;
    RECOVER DATABASE;
    ALTER DATABASE OPEN;
    After restoration, everything in the SCOTT schema was still gone.
    Any ideas why restoration did not seem to work?

    First of all this backup is for media failure, if you drop some tables then you dont need to restore the whole backups.
    In your case what you did is:
    First took the backup which was having those scott tables
    Then you delete the tables but the whole stuff was still there in redo files
    Then you restore and recover the database and oracle applied all the available redo on database which contains your delete statements too and thats why you are not getting those tables back. And thats the reason why you are able to open the database using "ALTER DATABASE OPEN" statement.
    Try running "alter system switch logfile" command around 5-6 times after dropping tables and then try to restore and recover and see what happen. Also from now onwards start reading this:
    http://download-east.oracle.com/docs/cd/B19306_01/backup.102/b14192/toc.htm
    Daljit Singh

  • I'm trying to learn how to use Xcode. I've create a simple Hide App app from a youtube video tut, but I can't get it to export with the icon I've chosen. Any clues why?

    I'm trying to learn how to use Xcode. I've create a simple Hide App app from a youtube video tut, but I can't get it to export with the icon I've chosen. Any clues why?

    We didn't do that video. Why are you asking here?
    Those videos are usually outdated....
    Use the current tools etc., in the iOS Dev Center and iTunes/iTunes U ~ Stanford.

  • New Designer Trying To learn

    Hi all,
    I am new to the field of ID. I have been an educator for 10
    years but am trying to learn as much about all the e-learning
    software that is available, Captivate, Camtasia, Articulate, etc.
    Does anyone have any suggestions for getting that first job or
    contract? It seems that they all want experience (at least 3
    years). I feel like a kid coming out of college again. Does anyone
    have any ideas or any projects that I can "intern" on or work on so
    that I can get some experience or solid things to create a
    portfolio with?
    Any suggestion provided is helpful to me.
    Thanks in advance.
    Rob

    Where are you located?
    rokenn3rd wrote:
    > Does anyone have
    > any ideas or any projects that I can "intern" on or work
    on
    Erik Lord
    http://www.capemedia.net
    Adobe Community Expert - eLearning
    http://www.adobe.com/communities/experts/
    http://www.awaretips.net -
    Authorware Tips!

  • HT4783 I'm trying to learn how to use Airdrop between my wife's Mac and mine. We both have it, but this article did not help us learn HOW to share files.  Yippeee that we can...but HOW?

    My wife and I are trying to learn how to use Air Drop.  The "tutorial" showed us where it is.  It came up.  I saw hers (Mac).  She saw mine (Mac). But where to go after that is, apparently, in the cloud somewhere.  The description says we can share files...which is nice...but nothing tells us HOW to share those files. 
    Thanks for your help out there...
    Dennis

    1. Open a new Finder window or use one that's already open
    2. Click on Airdrop, press Shift+Command+R, or find "Airdrop" in the "Go" menu
    3. Drag your file to the icon of the person you want to send the file to (if you have mountain lion, you can use the share button).
    4. The other person has to click "save"
    5. The file will send and appear in the receiver's downloads folder
    In Mountain Lion, a new feature was added: the share button. It's a button with a picture of a box and an arrow jumping out of it. Click on it and the third (and last) option is "Airdrop" and clicking on it will allow you to send files over Airdrop without opening it in Finder.

  • I have just owned a macbook pro and trying to learn things since i have all along used windows laptop. My first question is : when there are two files i am working together, one above the other on screen, how you switch over between the two with key ?

    I have just owned a macbook pro and trying to learn things since i have all along used windows laptop. My first question is : when there are two files i am working together, one above the other on screen, how you switch over between the two with key ?

    Hi...
    Mac OS X keyboard shortcuts
    Control-F4
    Move focus to the active (or next) window
    Shift-Control-F4
    Move focus to the previously active window
    By the way...  since you are new to Mac, click a clear space on your Desktop. You should see "Finder" top left corner of the screen in the menu bar.
    Click Help then click Help Center
    As an example type in    keyboard shortcuts
    You can use the Help menu for almost any application on your Mac.
    Apple - Find Out How - Mac Basics
    For held switching from PC to Mac >  Apple - Support - Switch 101

Maybe you are looking for