Jump to content


Photo

Accordance Fu


  • Please log in to reply
24 replies to this topic

#21 Bob Kuo

Bob Kuo

    Silver

  • Active Members
  • PipPipPip
  • 116 posts
  • Gender:Male
  • Location:Champaign-Urbana, IL
  • Accordance Version:10.x

Posted 21 March 2013 - 07:04 PM

All Mac programs have a consistent interface and generally use the same elements and AppleScript can work with them.  You can have a script that says to click a button named "Update" or access the menu items.  In the scripting I've done with Joe's libraries for Accordance I've used keyboard shortcuts to move around the interface.

 

But I agree - I'd like to see some hooks to make the interface a bit more accessible to programming.



#22 Joe Weaks

Joe Weaks

    Platinum

  • Active Members
  • PipPipPipPipPip
  • 1,043 posts
  • Gender:Male
  • Location:Raytown, MO (outside KC)
  • Interests:I like things that are Orange, and possibly Blue.
  • Accordance Version:8.x

Posted 22 March 2013 - 02:34 AM

Craig,

What Bob said.

 

I have published at one time or another Applescripts, some OSX Services and also an Automator Action for Accordance... controlling the user interface of Accordance is accomplished using Applescript UI scripting. You can google for more info.


Joe Weaks
The Macintosh Biblioblog

Sometimes I'm so helpful even I can't stand it.

#23 craigminah

craigminah

    Bronze

  • Active Members
  • PipPip
  • 53 posts
  • Gender:Male
  • Location:Virginia
  • Accordance Version:10.x

Posted 22 March 2013 - 06:18 AM

I always equated Applescript to ARexx but obviously I know little regarding how Applescript works.  Seems like something I'd like to look into in the future...thanks for the info.



#24 Joe Weaks

Joe Weaks

    Platinum

  • Active Members
  • PipPipPipPipPip
  • 1,043 posts
  • Gender:Male
  • Location:Raytown, MO (outside KC)
  • Interests:I like things that are Orange, and possibly Blue.
  • Accordance Version:8.x

Posted 22 March 2013 - 01:18 PM

Applescript is very similar to ARexx on the Amiga, in that it's an interpreted computer language whose strength is interacting with events between independent apps.


Joe Weaks
The Macintosh Biblioblog

Sometimes I'm so helpful even I can't stand it.

#25 Ken Simpson

Ken Simpson

    Platinum

  • Accordance
  • 1,359 posts
  • Gender:Male
  • Location:Sydney, Australia
  • Interests:Astronomy
    Archaeology
    Physics
    Hebrew and Greek
    Papyrology
    Surgeon
  • Accordance Version:10.x

Posted 22 March 2013 - 05:44 PM

Ahh, love to hear the reminiscences of some Amigaphiles. I owned an A1000, and then upgraded it with a home built 678030 board.

 

Way OT, so apologies, But just had to do it!


Regards
Ken
Australian Accordance Demonstrator

Administrator, Accordance Exchange

Assistant Minister, Summer Hill Church





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users