Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

This topic is 7083 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

Hello List,

I put together a very small complaint logging DB that sits on the desktop of a machine that is running only one other program. I have written a script which commits the record, and then runs an Applescript to switch to the other application. In Developer 7, the applescript is as follows

Tell application "Finder"

Tell application "Cuestation" to Activate

End Tell

The script works fine on my machine, but when I put the runtime on the other computer, instead of opening "Cuestation" it opens Simple Text.

So, I wrote the script in Script Editor on the other computer and compiled it, and it asked where Cuestation was. I told it, and the script runs fine on it's own.

So my question is this, how do I get the runtime script to call up Cuestation?

Thanks for any input,

Tony

Posted

I should clarify, the program Cuestation is always running on the machine, it never quits, so perhpas the 'activate' function is inocorrect? I just need Cuestation to return to the top.

Like I said before, it works on my laptop, where I wrote the database, but as soon as I put it into a runtime, the AS opens "Simple Text".

Still baffled....

Tony

This topic is 7083 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.