• 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: Newbe question on Handler
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Newbe question on Handler


  • Subject: Re: Newbe question on Handler
  • From: Kevin Cossaboon <email@hidden>
  • Date: Mon, 22 Jan 2007 14:46:59 -0500

found the issue...

thank you


On Jan 22, 2007, at 11:54 AM, Kevin Cossaboon wrote:

Trying to build a handler to parse an array of data. I get;

 "The variable atomValue is not defined."

here is the strange part, just before the hand back, there is data in atomValue.

Snip of the code;

end repeat


log "atomValue before return" & atomValue
log class of atomValue

return atomValue as string
end SetAtom

Sample of the log (note the Handler is called successfully many times, and only the last is an error);

(*string*)
(*start of loopAtom "purd" contains: 1904-01-01 00:00:00*)
(*atomValue set to 5th word--01-01 00:00:00*)
(*atomValue before return 01-01 00:00:00 *)
(*string*)
(*start of loopAtom "purl" contains: http://192.168.11.200/ipodfeed/feed.php*)
(*atomValue set to 5th word--192.168.11.200/ipodfeed/feed.php*)
(*atomValue before return 192.168.11.200/ipodfeed/feed.php *)
(*string*)
(*start of loopAtom "egid" contains: http://192.168.11.200/ipodfeed/1513_20060521020000.ipod.mp4*)
(*atomValue set to 5th word--192.168.11.200/ipodfeed/1513_20060521020000.ipod.mp4*)
(*atomValue before return 192.168.11.200/ipodfeed/1513_20060521020000.ipod.mp4 *)
(*string*)
"The variable atomValue is not defined."

thanks
Kevin Cossaboon.

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/mailman//archives/applescript-users

This email sent to email@hidden

References: 
 >Newbe question on Handler (From: Kevin Cossaboon <email@hidden>)

  • Prev by Date: Re: XML parsing from AppleScript
  • Next by Date: Re: AppleScript. launch executable without waiting for it toterminate
  • Previous by thread: Newbe question on Handler
  • Next by thread: Re: Newbe question on Handler
  • Index(es):
    • Date
    • Thread