Path: utzoo!attcan!uunet!aplcen!samsung!usc!pollux.usc.edu!papa From: papa@pollux.usc.edu (Marco Papa) Newsgroups: comp.sys.amiga Subject: Re: ATalk III--Questions Message-ID: <22956@usc.edu> Date: 18 Feb 90 19:04:14 GMT References: <02790.AA02790@wfhami.UUCP> Sender: news@usc.edu Organization: Felsina Software, Los Angeles, CA Lines: 57 In article <02790.AA02790@wfhami.UUCP> bill@wfhami.UUCP (Bill Hogsett) writes: > My question is whether there is a way from an AREXX macro started from >a shell--as opposed to from within Atalk--to direct Atalk to send (upload) >a file by passing in a variable which contains the filename. The question has nothing to do with stating from the A-Talk Arexx menu or from a shell. Use RX if you're using the CLI or the name of the .rexx macro if you are using WShell. > Right now I >am doing something like this: > >do j = 1 to i > >address ATK >'wait "command"' >'reply "U" file.j "^M"' I doubt this will be properly translated with just a double quote at beginning and end. To use quotes properly, you should use this technique: MyString = '"'||"Hello^M"||'"' 'REPLY' MyString [This is not really an A-Talk question but an Arexx question. Contact Bill Hawes and not me for such questions in the future. Thanks] >'send' file.j what is file.j? A variable? or a string? If it is a variable it is not initalized. If it is an actual filename then you should have had: 'send file.j' if it is an initialized variable (NOT QUOTED), then your code is fine. >'wait "?"' >'reply comment.j "^M" This is broken too. See above. >address >end >file. contains a list of files and comment. contains a list of comments. > > I also would very much like to be able to send multiple files by >selecting them from the filerequestor. (This has nothing to do with my >AREXX question.) Neither Atalk III or VLT allow more than one file to be >selected at a time for uploading. You can select multiple files with A-Talk III using wildcards (*?). -- Marco -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= "Xerox sues somebody for copying?" -- David Letterman -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=