Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Applescript "Do Menu"
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  16 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
kanuk compuserve  
View profile  
 More options Nov 9 2012, 11:03 am
From: kanuk compuserve <ka...@compuserve.com>
Date: Fri, 9 Nov 2012 11:03:18 -0500
Local: Fri, Nov 9 2012 11:03 am
Subject: [Hx] Applescript "Do Menu"

I am trying to use the Do menu

How to you do that ?  This one gives me an error

tell application "Helix Engine"
        activate
end tell
tell application "Helix Engine"
do menu "Open..."
end tell


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
fred  
View profile  
 More options Nov 9 2012, 11:13 am
From: fred <fred.stephen...@communication-unltd.com>
Date: Fri, 09 Nov 2012 17:13:27 +0100
Local: Fri, Nov 9 2012 11:13 am
Subject: Re: [Hx] Applescript "Do Menu"

What's the error?
20?


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Scott Amaral  
View profile  
 More options Nov 9 2012, 11:16 am
From: Scott Amaral <sama...@abssoutheast.net>
Date: Fri, 9 Nov 2012 11:15:48 -0500
Local: Fri, Nov 9 2012 11:15 am
Subject: Re: [Hx] Applescript "Do Menu"

I think open is a separate command outside of the do menu

tell application "Helix Engine"
        open #~directParamFile~# ¬
                password #~passwordText~#
end tell

Thanks,

Scott P Amaral
American Building Systems

On Nov 9, 2012, at 11:03 AM, kanuk compuserve <ka...@compuserve.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Lenny Eiger  
View profile  
 More options Nov 9 2012, 11:59 am
From: Lenny Eiger <ei...@databright.com>
Date: Fri, 9 Nov 2012 08:58:39 -0800
Local: Fri, Nov 9 2012 11:58 am
Subject: Re: [Hx] Applescript "Do Menu"

Louis,

I agree with Scott, Open is best open in other ways. Is this what you are trying to accomplish or was it just an example of what you were trying to do?

If we knew, we could help...

Lenny

On Nov 9, 2012, at 8:03 AM, kanuk compuserve <ka...@compuserve.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
kanuk compuserve  
View profile  
 More options Nov 9 2012, 12:21 pm
From: kanuk compuserve <ka...@compuserve.com>
Date: Fri, 9 Nov 2012 12:21:32 -0500
Local: Fri, Nov 9 2012 12:21 pm
Subject: Re: [Hx] Applescript "Do Menu"

> an example of what you were trying to do?

Ok.  I want the Engine to do a sequence at night.  Before 10.7, i was using Quickeys.  Now with 10.7, ouch… Bugged.  So i was going to use Icalc and an applescript to do the sequence ( a menu item )

Got it working now with this command:

tell application "Helix Engine"
        do menu "Midnight Sequence"
end tell

I find it too simple.  But it does work. Open to suggestion.

Louis


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
kanuk compuserve  
View profile  
 More options Nov 9 2012, 2:48 pm
From: kanuk compuserve <ka...@compuserve.com>
Date: Fri, 9 Nov 2012 14:48:25 -0500
Local: Fri, Nov 9 2012 2:48 pm
Subject: Re: [Hx] Applescript "Do Menu"

> an example of what you were trying to do?

Ok.  I want the Engine to do a sequence at night.  Before 10.7, i was using Quickeys.  Now with 10.7, ouch… Bugged.  So i was going to use Icalc and an applescript to do the sequence ( a menu item )

Got it working now with this command:

tell application "Helix Engine"
        do menu "Midnight Sequence"
end tell

I find it too simple.  But it does work. Open to suggestion.

Louis


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
fred  
View profile  
 More options Nov 10 2012, 7:01 am
From: fred <fred.stephen...@communication-unltd.com>
Date: Sat, 10 Nov 2012 13:00:51 +0100
Local: Sat, Nov 10 2012 7:00 am
Subject: Re: [Hx] Applescript "Do Menu"

Louis,
my suggestion is - keep it simple, even though it's too simple ;-)

cheers
Fred


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
fred  
View profile  
 More options Nov 10 2012, 7:02 am
From: fred <fred.stephen...@communication-unltd.com>
Date: Sat, 10 Nov 2012 13:02:17 +0100
Local: Sat, Nov 10 2012 7:02 am
Subject: Re: [Hx] Applescript "Do Menu"

forgot to add that you may want to do some error checking so that if it
didn't work you would know about it and why.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Scott Amaral  
View profile  
 More options Nov 10 2012, 7:12 am
From: Scott Amaral <sama...@abssoutheast.net>
Date: Sat, 10 Nov 2012 07:12:22 -0500
Local: Sat, Nov 10 2012 7:12 am
Subject: Re: [Hx] Applescript "Do Menu"

I believe do meno {midnight sequence} as a list rather than "midnight sequence" might do it

Scott P Amaral
American Building Systems

On Nov 9, 2012, at 2:48 PM, kanuk compuserve <ka...@compuserve.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
fred  
View profile  
 More options Nov 10 2012, 7:54 am
From: fred <fred.stephen...@communication-unltd.com>
Date: Sat, 10 Nov 2012 13:54:06 +0100
Local: Sat, Nov 10 2012 7:54 am
Subject: Re: [Hx] Applescript "Do Menu"

On 10/11/12 13:12, Scott Amaral wrote:

> I believe do meno {midnight sequence} as a list rather than "midnight
> sequence" might do it

why would you want it as a list?

Fred


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Scott Amaral  
View profile  
 More options Nov 10 2012, 8:01 am
From: Scott Amaral <sama...@abssoutheast.net>
Date: Sat, 10 Nov 2012 08:01:25 -0500
Local: Sat, Nov 10 2012 8:01 am
Subject: Re: [Hx] Applescript "Do Menu"

Thanks,

Scott P Amaral
American Building Systems

On Nov 10, 2012, at 7:54 AM, fred <fred.stephen...@communication-unltd.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
fred  
View profile  
 More options Nov 10 2012, 8:10 am
From: fred <fred.stephen...@communication-unltd.com>
Date: Sat, 10 Nov 2012 14:09:25 +0100
Local: Sat, Nov 10 2012 8:09 am
Subject: Re: [Hx] Applescript "Do Menu"

Interesting - I have the following

command syntax
�event helxHEdm� unicode text | {unicode text, ...}
  parameters
Parameter
Required
Type
Description
direct parameter    required    unicode text | list of unicode text    
Menu item to choose. When the parameter is a list, only the first item
in the list is processed.

On 10/11/12 14:01, Scott Amaral wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
fred  
View profile  
 More options Nov 10 2012, 8:20 am
From: fred <fred.stephen...@communication-unltd.com>
Date: Sat, 10 Nov 2012 14:19:30 +0100
Local: Sat, Nov 10 2012 8:19 am
Subject: Re: [Hx] Applescript "Do Menu"

aha I see, the below is from Helix Engine..... it should be the same as
Helix Rade. In other words it can be either - but I can't see the point
of additionally wrapping it in a list as well - that's two characters
longer isn't it.

Fred


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Gib Henry  
View profile  
 More options Nov 10 2012, 6:24 pm
From: Gib Henry <g...@realpeople.com>
Date: Sat, 10 Nov 2012 17:24:22 -0600
Local: Sat, Nov 10 2012 6:24 pm
Subject: Re: [Hx] Applescript "Do Menu"

RADE 6.2 has a thoroughly updated, modern AppleScript dictionary that's very different from the one for 6.1 (RADE/Engine/Server/Client).  Cheers,
--
Gib

On 11/10/12 7:19 AM, fred wrote:

aha I see, the below is from Helix Engine..... it should be the same as Helix Rade. In other words it can be either - but I can't see the point of additionally wrapping it in a list as well - that's two characters longer isn't it.

Fred





Thanks,

Scott P Amaral
American Building Systems

On Nov 10, 2012, at 7:54 AM, fred <fred.stephenson@communication-unltd.com> wrote:

On 10/11/12 13:12, Scott Amaral wrote:
I believe do meno {midnight sequence} as a list rather than "midnight sequence" might do it

why would you want it as a list?

Fred

Scott P Amaral
American Building Systems


On Nov 9, 2012, at 2:48 PM, kanuk compuserve <kanuk@compuserve.com> wrote:

an example of what you were trying to do?

Ok.  I want the Engine to do a sequence at night.  Before 10.7, i was using Quickeys.  Now with 10.7, ouch… Bugged.  So i was going to use Icalc and an applescript to do the sequence ( a menu item )

Got it working now with this command:

tell application "Helix Engine"
do menu "Midnight Sequence"
end tell


I find it too simple.  But it does work. Open to suggestion.

Louis





  image_png_part
91K Download

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
kanuk compuserve  
View profile  
 More options Nov 9 2012, 11:21 am
From: kanuk compuserve <ka...@compuserve.com>
Date: Fri, 9 Nov 2012 11:21:09 -0500
Local: Fri, Nov 9 2012 11:21 am
Subject: Re: [Hx] Applescript "Do Menu"

I choose the Open… menu just as an example

What i want to do is choosing a menu item in a collection opened in user mode.  The syntax to open any customs menu items.

Thanks

Louis

Le Nov 9, 2012 à 11:15 AM, Scott Amaral <sama...@abssoutheast.net> a écrit :


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Lenny Eiger  
View profile  
 More options Nov 11 2012, 2:51 pm
From: Lenny Eiger <ei...@databright.com>
Date: Sun, 11 Nov 2012 11:50:16 -0800
Local: Sun, Nov 11 2012 2:50 pm
Subject: Re: [Hx] Applescript "Do Menu"

Louis,

I think I found your problem....

If you have a view or a sequence on a menu, for example "my View", the syntax goes like this:

tell application "Helix Engine"
        do menu "my View"
end tell

However, Helix Engine wants to be in charge... so you need this to actually make it work:

tell application "Helix Engine"
        activate
        do menu "my View"
end tell

If you want to run a sequence this works, but if you want to simply to do a post all to update a series of records, you can also do a retrieve using either Heliport or CallHelix and put a post on the export step...

Have fun!

Lenny

On Nov 9, 2012, at 8:21 AM, kanuk compuserve <ka...@compuserve.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »