QSA ToolWorks Public Feedback Forum
forum home | register | profile | members |search | faq
homepage | lost password? | chat room

QSA ToolWorks Public Feedback Forum > General Helix Talk > Firing a sequence via AppleEvents You are not logged in. Login or Register.

Pages: 1

Author: Topic: Firing a sequence via AppleEvents
 Sven
 
 

 Posts: 24
 Registered:
   2003-04-09

  
  
  
Posted: Sep 27, 2003 5:06:50 pm    Profile email Sven Visit

I do not suppose it is possible in Helix 5.2 to run a sequence from AppleEvent, is it?

When not, I have an idea for something which would be a welcome addition to Helix.

It could work the following way - it is just a sketch. Here is what I would like to see:

1. We set up an entry view which has a command rectangle (that is: a button) on it. The command rectangle contains a sequence, of course, and is set to have the attribute of Default Button. Other than that the view may have one or more data rectangles with fields.

2. An AppleEvent will address the view and enter some data.

3. In terms of posting we already have such a view to behave as 'on Enter', now, in addition to that, following my idea, magic would happen, and by addressing the view, Helix would perform the same activities it does if the button is pressed, namely to run the sequence.

For someone using Helix (i.a.) as a back-end for a web-based application something like this would be useful. (Maybe not easy to implement, since I am well aware that not every step in a sequence will be meaningful, when there is not a proper client to interact with.)

My first use for firing a sequence from an AppleEvent would be to have Helix - triggered by a click in the browser window - to create a text file by exporting specified data on a specified path/filename. Maybe someone on this forum could give me a hint how to achieve this using Helix 5.2?

Sven

Sven Nytoft Rasmussen, Ph. D.
 Fred
 
 

 Posts: 57
 Registered:
   2003-04-10

  
  
  
Posted: Sep 28, 2003 1:03:45 pm    Profile email Fred Visit

Sven,
Have you tried it with the default button already on the view??
It is possible to send a keydown event. What are you sending your Appleevents with?

all the best


Fred
 Sven
 
 

 Posts: 24
 Registered:
   2003-04-09

  
  
  
Posted: Sep 28, 2003 3:01:43 pm    Profile email Sven Visit

Fred,

yes it has been tried here, and in our tests nothing happened. The entry view still worked correctly, but nothing additionally happened when we tried to equip it with a default button.

We are using Osmosis. To my knowledge it cannot send a keydown event.

Sven



- Edited by Sven on: Sep 28, 2003 3:03:07 pm

Sven Nytoft Rasmussen, Ph. D.
 Fred
 
 

 Posts: 57
 Registered:
   2003-04-10

  
  
  
Posted: Sep 29, 2003 8:08:25 am    Profile email Fred Visit

Sven,

quote:
yes it has been tried here, and in our tests nothing happened. The entry view still worked correctly, but nothing additionally happened when we tried to equip it with a default button.



Right, that's what I thought but I couldn't remember.

quote:
We are using Osmosis. To my knowledge it cannot send a keydown event.



Ahh. No, you won't be able to do that with Osmosis.
To get that to work you would need to monitor the Appleevents (a la CaptureAE) that OG sends to Helix and when it sends the event + data to your specific view, then you trigger the entry keydown event via a toolbox call.



all the best

Fred



Pages: 1

Lost Password?

Powered by
UPB Version : 1.8
A script by PHP Outburst

Page processed in 0.34493 seconds.