Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

HuggerMugger

macrumors newbie
Original poster
Nov 5, 2009
16
0
Hey guys,

I was looking for some help on a simple AppleScript.

I've used Automater to create a simple application to make an application (iBank) sync the devices. I need an Applescript that I can open at startup and will run the ibanksync.app (the one I created) every 30 minutes.

Help :)
 
It isn't working;

I get this error;
 

Attachments

  • Screen shot 2009-11-07 at 9.26.39 PM.png
    Screen shot 2009-11-07 at 9.26.39 PM.png
    58.7 KB · Views: 77
The automator application can probably be avoided, with the whole code being in applescript. If you tell me what the ibanksync.app consists of (a screenshot of the automator window would be great) then I could put that in the applescript code itself and then it should work. I think the problem right now is that ibanksync.app does not act like a true application, so applescript cannot activate it.
 
It isn't working;

I get this error;

If iBank doesn't understand "activate," there's an extremely good chance that it's not "scriptable," which just means the developer hasn't included code to manipulate iBank directly.

There are workarounds.

Will iBank sync once it's run? Something like this would do the trick, then:

activate application "iBank"

If you need to then have it invoke a specific menu command, you can use System Events. Something like this might work:

tell application "System Events" to tell process "iBank" to keystroke "R" with command down

or something similar. You need to have the software to write the script for it exactly. If you can describe what it needs to do, we should be able to kludge together something for you.

mt
 
This is what I'm using;

The ibanksynclauncher is what starts the app and then repeats every 30 minutes;

the ibanksync is the app that I created using "watch me do" which

clicks on ibank on the dock
clicks file
then sync devices
then window
then minimize

I've gotten it working working fine, but would love to have a single app/script to run.

Any ideas?
 

Attachments

  • iBankSyncLauncher.app.zip
    29.6 KB · Views: 87
  • iBankSync.app.zip
    271.9 KB · Views: 116
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.