Jump to content

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

Recommended Posts

I have a cell named "BurnDVD_the_list" in a table named "@Preferences"

 

SCRIPT

Set Variable [$$the_list]; Value:"01020804"]

Go to Layout ["@Preferences" (Preferences)]

Replace Field Contents [No dialog; Preferences::BurnDVD_the_list"; $$the_list]

Perform AppleScript ["display dialog"bSET"  "set FMPrec to cell "BurnDVD_the_list" of current record  "display dialog"bSET"....]

 

RESULT

  • the variable $$the_list is set to "01020804"
  • the field BurnDVD_the_list is set to "01020804"
  • a dialog box appear showing "bSET"
  • en error cannot find the object is displayed, I click OK an unknown error : -1728 is displayed
  • the dialog box "aSET" is never displayed

The error is then at the command line "set FMPrec to cell "BurnDVD_the_list" of current record

 

Could someone tell me what am I getting this error?

Why I cannot get the value of a cell within a "Perform AppleScript" ?

 

 

Many thanks!

Daniel

 

 

Link to comment
Share on other sites

Thanks Comment, problem solved. I had two layouts with almost the same name (do not know why).

I change the layout name and everything is now working.

With regards!

Daniel

Link to comment
Share on other sites

This topic is 3566 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.