Path: utzoo!censor!geac!torsqnt!lethe!yunexus!ists!helios.physics.utoronto.ca!news-server.csri.toronto.edu!bonnie.concordia.ca!thunder.mcrcim.mcgill.edu!snorkelwacker.mit.edu!tut.cis.ohio-state.edu!usenet.ins.cwru.edu!pyrite!mike From: mike@pyrite.SOM.CWRU.Edu (Michael Kerner) Newsgroups: comp.sys.mac.hypercard Subject: Another idling in pre-2.0 HC, AND file problems (pre 2.0) Message-ID: <1991Jan10.170207.23311@usenet.ins.cwru.edu> Date: 10 Jan 91 17:02:07 GMT Sender: news@usenet.ins.cwru.edu Organization: WSOM CSG, CWRU, Cleve. OH Lines: 48 X-Post-Machine: pyrite.som.cwru.edu Nntp-Posting-Host: pyrite.som.cwru.edu Well, I trashed the message that some helpful soul sent out, so I don't know who he is, however, it really doesn't help. I don't want a global variable 'cause I want to reset the timer if something happens, which is why I wanted to trap myself in the idle. That is why the screen saver analogy is good - I want to keep counting until either my timer runs out or something happens. Any guesses? Second question: related to files: I'm importing a file edited by an IBM. The file is unformatted by the IBM editor, but two strange things happen with it. Here's the script ... open file "pathname:filename" read from file "pathname:filename" for soManyChars put it into card field "SoAndSo" ... At this point, lines 2 through last of the file have a block preceding them. To prove that all lines have a block in front I scroll to the bottom of the field (by the way, it's a scrolling field), and check the last few lines as well. When the scroll bar is at the bottom of the field, I type first char of line 2 of card field "SoAndSo" into the message box, and guess what? I get the real first character of that line! Oh, maybe HC doesn't recognize the block, so I scroll back up to the top, only now the blocks are ALL GONE, everywhere in the field! Figuring I can use this trick I add set the scroll of field "SoAndSo" to SomeHumungousNumber put the first char of line 2 of field "SoAndSo" into it set the scroll of field "SoAndSo" to 0 only that doesn't work. AAAAUUUUUUGGGGHHH!!! Help, folks! Is there an Apple/Claris tech reading this? I don't believe in UFO's, and I've been scripting in HC for almost three years, so I think I have a reasonable amount of experience with it. Any suggestions folks? Also, I'm using version 1.2.5 - no reason to upgrade to 2.0 until all the bugs (and XCMD's/XFCN's) are upgraded! Since both of these problems are related to new applications network stacks I'm upgrading for our users (about 200 of 'em), I'd appreciate any help... Mike. Body by Nautilus...Brain by Mattel (and don't let that hamper my credibility)