Make Applescript to click on box of active window

Hello,
I'm trying to write an AppleScript to automate my batch processing of images through Adobe Fireworks CS6. I can't seem to get the script to select the box at the bottom of the pop of window. I also have a few other windows that I would need to select certain things. I have this script so far.
tell application "Adobe Fireworks CS6"
activate
end tell
tell application "System Events"
  tell process "Adobe Fireworks CS6"
  click menu item "Batch Process..." of menu "File" of menu bar 1
  delay 2
  --First window
  tell window 1
  click checkbox 1 of window 1
  end tell
  delay 1
  click button "Next" of window 1
  delay 0.5
  --Second window
  click button "Export" of window 1
  click button "Add" of window 1
  tell the first combo box of window 1
  delay 3
  keystroke (ASCII character 106)
  keystroke return
  end tell
  click button "Next" of window 1
  delay1
  click button "Batch" of window 1
  end tell
end tell
Any help would be much appreciated.
Thanks.

Hi
Give this a go, this is ugly but works on a drop window I have that requires a user name and password, with buttons cancel and ok, change the amount of keystroke tabs to suit your set up
activate application "Firefox"
delay 3.5 -- allow app to open, change delay to suit
tell application "System Events"
tell process "Firefox"
keystroke tab
keystroke tab
keystroke tab
keystroke return
end tell
end tell
Budgie

Similar Messages

  • Black Box on Active window

    I have a black blox that now appears around the active widow and will stay on screen even after I clse the overall page or program. It doesn't disappear till I click on the desktop.
    How do I get rid of the black box
    Thanks for you help

    Hello and Welcome to Apple Discussions. 
    Sounds like you've inadvertenly activated VoiceOver. Navigate to  menu > System Preferences... > Universal Access > Seeing > and ensure VoiceOver is off.
    mrtotes

  • OS x 10.7.2 hangs, resumes when clicking away from active window

    I have a 2010 iMac i3 running 10.7.2 - configured as shown in the About pic.
    Lately, it has become very slow and unstable - by that I mean that Safari is very slow, mail hangs and I get a beach ball multiple times..  I did a Disk verify and repaired some issues.  I have also verified and repaired permissions.  The problem mostly occurs in Safari and Mail - I either get a beach ball when surfing or entering information, but have noticed that it corrects if/when I click away from the active window and return.  Mail does a similar thing - a new message will 'hang' in that it is translucent and I cannot enter anything, but if I click away from the active window, it will correct and I can continue.  I appears to be intermittant and I cannot get it to happen on command.  I checked the Activity Monitor and do not see any processes that are eating processor and I have plenty of free memory - currently up over 6 days and 0 page outs.  Any help would be greatly appreciated.  I do have a PC laptop running Win & and a 2011 MBA both on the same network (wireless)  and neither have any lag/slow issues.
    Thanks!

    You mentioned you have "plenty of free memory" but did not state how much is Free when you are getting beach balls. Leave Activity Monitor open and click the System Memory tab. OS X likes to have approximately 500MB or more of FREE RAM, if you get a beach ball and the FREE RAM is in the 500MB or less range then you would benefit by upgrading the RAM.
    I would also STRONGLY recommend reading the XLab's Spinning Beach Ball of Death article, it's a valuable resource for troubleshooting this issue.

  • Formatted Search - Restrict to Only One Customer on Activity Window

    Hello Experts:
    Am trying to create a formatted search to provide a suggested RMA Number on the Business Partners > Activity window in a UDF.
    While in Activity, the user should get a list of ONLY the one customer they are currently working with.  So if C0001 is being used in the Activity window, the list should show all suggested RMA numbers just for that customer of C0001, not any other customer. 
    When I use the following it shows all customers.
    --FMS 6BP Automated RMA Number
    SELECT
    T1.[CardCode] + ' - ' + ltrim(str(T0.[ClgCode]))
    FROM OCLG T0
    INNER JOIN OCRD T1
    ON T0.CardCode = T1.CardCode
    ORDER BY
    T1.CardCode Desc,
    T1.[CardCode] + ' - ' + ltrim(str(T0.[ClgCode])) Desc
    When I put in WHERE T1.CardCode = $[$ 9.0.0 ] in the right place it shows nothing...
    Any ideas on how to make only the one current customer in Activity window appear in the list???
    Thanks in Advance - Zal

    Thanks Istvan and Gordon...
    Istvan - that is the same as my SQL - just do not know how to show the $[$... correctly in this forum - it always goes to that http thing.
    Gordon - tried to use your SQL but it gave me an error of "Internal Error (-1003) Occured [Message 131-183] every time I tried to click on the magnifying glass.  However, due to your last line in the SQL it gave me an idea that eventually they were OK with - namely, the highest number to the top of T0.ClgCode...
    Thanks again guys - Zal

  • How can I make a check box active ONLY if another check box is activated?

    How can I make a check box active ONLY if another check box is activated?
    I have an editable PDF for a client, which contains text fields and check box fields.
    There are three main check boxes (let's call them A, B and C) that the user is required to choose from, and I have given all three the same name in the Name tab of the General tab menu but different export values in order that ONLY one of the boxes can be checked at any time. Ticking one will deactivate another if it is already checked, etc.
    However, I then have a further two check boxes which I wish to become available ONLY if the second one of the above three boxes is checked. Other than that I do not wish the user to have access to them.
    I'm guessing it requires some kind of Action Script or Javascript, which is not my forté! Any help would be much appreciated.
    Regards
    Tony

    See Disabling (graying-out) Form Fields by Thom Parker. It covers both Acrobat and LiveCycle forms.

  • Can't access browser when "Save As..." dialog box is active

    Hi all,
    When I am downloading and saving a file and the "Save As..." dialog box is active, I'm not able to click behind it to access the browser as I can with Internet Explorer.
    I need to be able to access the webpage while the dialog is open, as I often need to copy/paste text from the webpage into the file name field on the Save As... box.
    Does anyone know if there is an add-on or something that will remove this limitation?

    The problem with that solution is that when I close the dialog box so I can copy the text I need from the tab underneath, I lose the location of the folder for saving the file, and then I need to navigate back through all the folders to find the location again. This is a waste of time.
    I cannot copy all the text at the same time into the Save As... box, as I need to take the text from several locations on the webpage (such as program name, version info, etc) and compile it into a useful file name.
    Again, if anyone knows of a workaround for this issue (other than the clipboard addons which will only complicate matters) then please repsond.
    Thanks!

  • Microsoft Word consistently becomes active window when clicking between dual screens and programs

    13" MBP
    2.3 ghz i5
    8GB Ram
    Running 10.9.2
    Microsoft Word 2011
    Dual screens with amazon Mini Display to VGA adapter
    When I am running word between an external monitor and my MBP, Microsoft word always interrupts any clicks between programs and between screens to become the active window. This is especially annoying when I am trying to navigate between MacMail and Chrome, or any other programs.
    The problem doesn't exist when I click between programs on the MBP, but only when I select windows between the two screens. Or programs on the external monitor.
    Word is up to date, as is my MBP.
    Please don't punt me to Microsoft, they're the worst!
    Thanks!

    There is a workaround for this problem, which was posted by Highestwater on the Microsoft Community thread for this bug and worked for me as well:
    Go to
    System Preferences > Mission Control >
    and UN-check the box labeled "Displays have separate Spaces" (see image below)
    The original poster on this thread may already be aware of this workaround, because he/she mentioned that the "separate Spaces" option is checked. But if you can live without the extra Mavericks dual display features (like going full screen in 1 display only, switching spaces independently on each display, and having a menu bar on each display), then uncheck this option and the "stealing focus" bug seems to disappear. For me the bug is so annoying that it's worth it to lose the extra features. Just yesterday I closed a Word document I was working on by mistake because I clicked on a Finder window on my other display and immediately pressed command-w to close it, without realizing that the focus had switched to my word document which closed instead. It was saved, but this sort of stuff interrupted my work enough to be both an annoyance and a time drain.

  • Where i click some thing on facebook a window pops up before i could right click the link in the window but now its got a dot line box around it and i cant help

    when i click some thing on facebook a window pops up
    before i could right click the link in the window
    but now its got a dot line box around it and i cant help

    Can you attach a screenshot?
    *http://en.wikipedia.org/wiki/Screenshot
    *https://support.mozilla.org/kb/how-do-i-create-screenshot-my-problem
    Use a compressed image type like PNG or JPG to save the screenshot.
    Clear the cache and the cookies from sites that cause problems.
    "Clear the Cache":
    *Tools > Options > Advanced > Network > Offline Storage (Cache): "Clear Now"
    "Remove Cookies" from sites causing problems:
    *Tools > Options > Privacy > Cookies: "Show Cookies"
    Start Firefox in <u>[[Safe Mode|Safe Mode]]</u> to check if one of the extensions or if hardware acceleration is causing the problem (switch to the DEFAULT theme: Firefox/Tools > Add-ons > Appearance/Themes).
    *Don't make any changes on the Safe mode start window.
    *https://support.mozilla.org/kb/Safe+Mode
    *https://support.mozilla.org/kb/Troubleshooting+extensions+and+themes

  • Lasso tool problem, using alt key, no click within 5sec causes loss of active window focus

    I have been using Photoshop since ver. 4 and have never seen this happen.  The only difference is now I'm on Windows 7 64bit.  Did not have this problem with XP.  Current version CS3 Extended.
    Problem: While using Lasso tool with the alt key if I do not make a mouse click in 5 seconds Photoshop's active window loses focus for a split second and then the first point of my selection and the last point will connect.  Thus, wasting my time and my attempt at a selection.
    I have task bar buttons to "Never combine".  I see for that split second what appears to be another program button opening but it is so fast that I cannot see if there is a name on the task bar button.  The current Photoshop button moves to the right and back too fast.  This all happens very quickly as the window loses focus.
    I first thought it was some another program but after many searches found nothing I can identify as the cause.
    Right before posting this I had a thought and did a test that concluded in the 5 sec rule. For over a minute I held down the alt key and made a mouse click within the 5 second window of time and there was no loss of window focus.  While still holding down the alt key in this same test but not making a mouse click within 5 seconds the window lost focus and the tool stopped with my selection.
    I have a wireless Logitech M305 mouse that this morning updated the driver to its current version 5.20.51, Control Center version: 6.20.50.
    I have not tested a wired mouse, yet.
    Any help would be appreciated.  Anyone else seen this?  Windows 7 64 bit the culprit?????
    Message was edited by: golfnut333

    UPDATE
    After I removed Photoshop from Norton 360's Administrative Settings_Silent Mode Settings_User-Specified Programs, I did not have the problem with the lasso tool that I first had with loss of window focus.  I then put Photoshop back in the 360's settings and the lasso tool still worked, BUT...............
    After a couple of days of not using Photoshop and turning computer on and off in that time, I tried Photoshop again and the same problem, it came back.  Loss of focus after 5 seconds of not clicking mouse.  So, once again I open Norton and took Photoshop out of the User-Specified Programs and the problem went away, no loss of focus.
    So, I will see if after a couple of days of turning on and off the computer and NOT putting Photoshop in the Norton's User-Specified Programs setting if the problem stays fixed.
    I don't have to have Photoshop in the Norton's setting I just thought that it would be a good idea so Norton didn't try to do any background processes or whatever while I was working in Photoshop or I was rendering a filter or something.
    Another thought I also have the Full Screen Detection setting ON.  I do use Photoshop in Full Screen mode so maybe when having both the Full Screen mode and User-Specified Programs setting selected it makes something go wacky.
    Hope this helps anyone having the same problem I "did".  Will post back after a few days to let you know if focus problem is gone.
    If it does relieve the problem then I will leave Photoshop off the list in Norton.  No sense in trying to fix something that really doesn't matter, really.
    UPDATE 2
    January 8, 2011, I tried the lasso tool again and it still appears to be working. I did my standard test of holding the alt key and clicking to make selections then not click for 5 seconds or more and I did not lose window focus.  I do not know why the Norton 360 setting triggers the loss of focus but since I turned that setting off I'm not having any problem.
    Will update again if something changes.
    Anyone else out there with the same problem that was solved using this method?
    Message was edited by: golfnut333

  • JDialog Problem: How to make a simple "About" dialog box?

    Hi, anyone can try me out the problem, how to make a simple "About" dialog box? I try to click on the MenuBar item, then request it display a JDialog, how? Following is my example code, what wrong code inside?
    ** Main.java**
    ============================
    publc class Main extends JFrame{
    public Main() {
              super();
              setJMenuBar();
              initialize();
    public void setJMenuBar()
         JMenuBar menubar = new JMenuBar();
            setJMenuBar(menubar);
            JMenu menu1 = new JMenu("File");      
            JMenuItem item = new JMenuItem("About");      
            item.addActionListener(new ActionListener() {
                public void actionPerformed(ActionEvent ae) {
                  // About about = new About(this);
               // about.show();
            menu1.add(item);
         menubar.add(menu1);
    public static void main(String args[]){
         Main main = new Main();
    }** About.java**
    =============================
    import java.awt.*;
    import javax.swing.*;
    public class About extends JDialog{
         JPanel jp_top, jp_center, jp_bottom;
         public About(JFrame owner){
              super(owner);
              setDefaultCloseOperation( DISPOSE_ON_CLOSE );
              Image img = Toolkit.getDefaultToolkit().getImage(DateChooser.class.getResource("Duke.gif"));          
              setIconImage( img );
              setSize(500,800);
              Container contentPane = getContentPane();
             contentPane.setLayout(new BorderLayout());           
             contentPane.add(getTop(), BorderLayout.NORTH);
              contentPane.add(getCenter(), BorderLayout.CENTER);
              contentPane.add(getBottom(), BorderLayout.SOUTH);
              setResizable(false);
               pack();            
               setVisible(true);
         public JPanel getTop(){
              jp_top = new JPanel();
              return jp_top;
         public JPanel getCenter(){
              jp_center = new JPanel();
              return jp_center;
         public JPanel getBottom(){
              jp_bottom = new JPanel();
              jp_bottom.setLayout(new BoxLayout(jp_bottom, BoxLayout.X_AXIS));
              JButton jb = new JButton("OK");
              jp_bottom.add(jb);
              return jp_bottom;
    }

    Code looks reasonable except
    a) the code in the actionPerformed is commment out
    b) the owner of the dialog should be the frame
    If you need further help then you need to create a "Short, Self Contained, Compilable and Executable, Example Program (SSCCE)",
    see http://homepage1.nifty.com/algafield/sscce.html,
    that demonstrates the incorrect behaviour, because I can't guess exactly what you are doing based on the information provided.

  • Mighty Mouse makes non-stop click noise, inducing violent madness

    Brand spanking new Mac Pro, fresh out of the box as of 6 hours ago. As soon as I plugged in my wired Mighty Mouse, Exposé began going bananas. I quickly deactivated Button 4, but it makes an endless clicking sound from its internal speaker whenever a hand is so much as placed on the Mouse.
    Is there a fix or do I have to go get a new mouse? Is this covered under warranty/Applecare?

    Had the same thing... When i moved my iMac to different spot on my desk it the mouse started to make noise.... then when i moved it back to original location - no more clicking noise. It truned out that my lamps in the room were causing interference of some sort..... disconnected the lights and no more cliking noise.... this is why its good to invest in universal battery power supply/surge protector to save all you gadgets!

  • Firefox will not let me use the mouse to click on a product so i am having to use the tab key. Please help me to be able to use my mouse to click the box.

    Firefox will not let me use the mouse to click on a product so i am having to use the tab key. Please help me to be able to use my mouse to click the box.

    Start Firefox in <u>[[Safe Mode|Safe Mode]]</u> to check if one of the extensions (Firefox/Tools > Add-ons > Extensions) or if hardware acceleration is causing the problem (switch to the DEFAULT theme: Firefox/Tools > Add-ons > Appearance).
    *Do not click the Reset button on the Safe mode start window or otherwise make changes.
    *https://support.mozilla.org/kb/Safe+Mode
    *https://support.mozilla.org/kb/Troubleshooting+extensions+and+themes

  • When pressing Ctrl+f to find something in a page the Find box remains open until I close it, in ALL tabs I have in the firefox window. How can I make firefox open the Find box ONLY in the tab I am in?

    When pressing Ctrl+f to find something in a page the Find box remains open until I close it, in ALL tabs I have in the firefox window. How can I make firefox open the Find box ONLY in the tab I am in?

    Firefox 4 and later versions save the previous session automatically, so there is no longer need for the dialog asking if you want to save the current session.<br />
    Use "File > Exit" or "Firefox > Exit" (Mac: "Firefox > Quit Firefox") if you want to restore multiple windows.<br />
    You can use "History > Restore Previous Session" to get the previous session at any time.<br />
    You may need to click the orange/gray Firefox button to see History.<br />
    There is also a "Restore Previous Session" button on the default <b>about:home</b> Home page.
    Another possibility is to use:
    * [http://kb.mozillazine.org/Menu_differences Firefox/Tools > Options] > General > Startup: "When Firefox Starts": "Show my windows and tabs from last time"

  • Controls become inactive while dialog box is active

    Hello Experts, 
    I am trying to create two pop-up windows appearing one after another when my program starts. I used two button and single button dialog box. However, while the dialog box is active on the screen, I cannot modify the controls on my VI. Is there any way, I get modify the control while the dialog box is active? May be my approach is wrong, please direct to any relevant post/article on this topic. 
    Let me know if you need any specific information. 

    Dialog boxes are modal.  That means that they are in front of all other windows and no access to those other windows is possible until the modal window is closed.
    If you cannot tolerate modal windows, then create your own dialog boxes using subVIs which open when called and then close afterwards.  You can make them look like the modal boxes but they can be moved behind other windows.  Of course they can also get lost back there.  Keep that in mind if the response from those dialogs is required before some other part of the program can continue.
    Lynn

  • I keep getting a dialogue box asking me if i want to open or save a firefox document every time i click on an email in windows outlook; what can i do to fix this? thank you.

    Question
    i keep getting a dialogue box asking me if i want to open or save a firefox document every time i click on an email in windows outlook; what can i do to fix this? thank you

    Thanks for getting back to me; i was not able to get to the computer until now.
    No, not thru web access; it is via the Outlook provided thru Microsoft Office.

Maybe you are looking for

  • EBS Install on OEL 5.4 using vmware fails with RC-50004 RW-50010

    Hello ALL, I am trying to install EBS R1212 on Linux OEL 5.4 using vmware on windows xp pro and i am getting the below err in Please help... I tried the setup with R1212 x86 and R1212 x86-64 on vmware i am getting the same error with both versions...

  • Whats the difference ( RMAN BACKUP)

    Please let me know the diffrence between 1.Alter database begin backup 2. backup database After my own research all i can find is that Alter database begin backup freeeze the SCN and then we can copy the files from OS level Where backup database dire

  • Negative amount in sales order

    Dear experts, We are in support project, ours is order related billing, we get a error message in a sales order, when we enter a base value is "zero", and add a discount in the same sales order with absolute amount which is a negative value, this dis

  • Tuning OBIEE query with DB index, but it's getting slower

    Hello guys I just have a quick question about tuning the performance of sql query using bitmap indexes.. Currently, there are 2 tables, date and fact. Fact table has about 1 billion row and date dim has about 1 million. These 2 tables are joined by 2

  • Banshee package sorely out-of-date

    I'm not sure where to go with this, but the Banshee package in the Extra repository has become sorely out-of-date.  The current repo package is 0.10.10, while the current version available is 0.11.0 (and the latest from the 0.10 series was 0.10.12).