• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: A number can't go after this identifier.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: A number can't go after this identifier.


  • Subject: Re: A number can't go after this identifier.
  • From: Graff <email@hidden>
  • Date: Sat, 22 Nov 2003 09:48:36 -0500

What program are you attempting to script? What are you trying to do? If we know that then we can try it ourselves and work on a solution.

I'm not sure what the problem is there. One thing that I just found was a program called PreFab UI Browser, it acts like the normal UI Browser but it also will form the System Events statements for you so there is little possibility of error. It's shareware but it has a trial period, you can find it at:
<http://www.prefab.com/uibrowser/index.html>

It looks like a cool application, especially if you are serious about using AppleScript. Maybe using it will help to point out what the problems are with your set value statement.

- Ken

On Nov 22, 2003, at 4:15 AM, Chris Rock wrote:

I am using UI Browser to locate text fields and the like, and I get the following:

The Path to said field:

application "blah"
window "info" (1)
text field 1

The Set Value command from this app:

set value of text field 1 of window "info" of application process "blah" to "<string>"

Yet when I try to compile my SIMPLE script I get the following error:

A number can't go after this identifier.

No matter how I try, I can't get it to compile, let along being able to write anything into this field, nor can I read from it, as I keep getting the same Syntax Error all nite.
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: A number can't go after this identifier.
      • From: Chris Rock <email@hidden>
References: 
 >A number can't go after this identifier. (From: Chris Rock <email@hidden>)

  • Prev by Date: A number can't go after this identifier.
  • Next by Date: Re: Writing Binary Files, Data Code Limitations, and Unicode Tables (not necessarily in that order)
  • Previous by thread: A number can't go after this identifier.
  • Next by thread: Re: A number can't go after this identifier.
  • Index(es):
    • Date
    • Thread