On Samstag, Feb 22, 2003, at 00:55 Europe/Zurich, Michael Hasak wrote:
... --put URL "file:~/Desktop/radmindgui/ps_output" into field theOutput
wrong path: no tilde, and desktop must be something like this (asuming OS X) :
put url "file:users/username/desktop/radmingui/ps_output" into field "theOutput"
check also the the "specialFolderPath" property if you do not know the user of the desktop.
--set the text of field theOutput to the text of URL "file:/etc/bashrc"
an url has no text: set the text of field "theOutput" to URL "file:/etc/bashrc" alternative (simpler) form: put URL "file:/etc/bashrc" into field "theOutput"
put "/Users/guest/Desktop/radmindgui/ps_output" into theFile
puts it as a string, so theFile contains just the path to your file. Use the URL form:
put URL "file:/Users/guest/Desktop/radmindgui/ps_output" into theFile
get the fifth line of URL "file:/Users/guest/Desktop/radmindgui/ps_output"
put it into field theOutput
hmm... this should work as far as I see it... maybe there are no five lines in that file?
maybe wanna quote the field name (for excluding all possible errors):
put it into field "theOutput"
I tried this with an http URL, and it worked fine. The files in question have been checked for the proper permissions (world-readable). I even tried creating a new stack and testing the code in there. Don't see any clues from previous posts to the list.
Can anyone see what I'm doing wrong?
well 3 of 4 isn't that bad :)
_______________________________________________ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
