• 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: scope problem
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: scope problem


  • Subject: Re: scope problem
  • From: tom wible <email@hidden>
  • Date: Fri, 29 Aug 2008 04:50:21 -0400

thanx, ed, here ya go...

How is script being called?

on newRecording(recFilename, interactive) try set {fileSize, fileDate} to getFileInfo(recDir & recFilename) on error tmsg set fileSize to 0 set fileDate to current date if interactive then display alert tmsg giving up after 5 end try try if recFilename starts with eyeTVarch then -- eyeTV copy etvClass to rec set etvClassCount to etvClassCount + 1 else if recFilename ends with MPG_SUFFIX then -- assume tivo copy tivoClass to rec else -- find a tvpi file copy tvpiClass to rec end if tell rec setFileInfo(recFilename, fileSize, fileDate)

How is parseInfo being called?

parseInfo(interactive) end tell on error tmsg log tmsg tell rec to setFileInfo(recFilename, fileSize, fileDate) end try return rec end newRecording


Where is the variable fileName defined and what is its class?
should be a string...

	set fList to (do shell script "cd " & quoted form of recDir ¬
		& "; find . -name '*" & MPG_SUFFIX & "' -o -name '*" & M2T_SFFX & ¬
		"' | sed s-./-- | grep -v \"Live\\ TV\\ Buffer\"")
	set fList to every paragraph of fList --	paragraph == line
...
	repeat with fn in fList
		if fn is not in xList then ¬
			set end of newList to newRecording(fn, interactive)
	end repeat

_______________________________________________
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/archives/applescript-users

This email sent to email@hidden
References: 
 >scope problem (From: tom wible <email@hidden>)
 >Re: scope problem (From: Ed Stockly <email@hidden>)

  • Prev by Date: Re: scope problem
  • Next by Date: How to add a new slider with some text in Keynote?
  • Previous by thread: Re: scope problem
  • Next by thread: Re: scope problem
  • Index(es):
    • Date
    • Thread