| View previous topic :: View next topic |
| Author |
Message |
tim6389 Professional Member


Joined: 01 Aug 2002 Posts: 790
|
Posted: Sun Mar 09, 2003 4:27 pm Post subject: |
|
|
ok i get a error so i must have something worng
| Code: |
RUN @shortname(C:\new Visual DialogScript\@item(2, %%L2Item)) |
i get a missing parameter commad eorror
btw i even tried %%Path = @PATH(%0) and put %%path in there this way i would have to hard code the folder name in there...when i did this i didn't get and eorrors but it still saids can't find file  |
|
| Back to top |
|
 |
tim6389 Professional Member


Joined: 01 Aug 2002 Posts: 790
|
Posted: Mon Mar 10, 2003 12:06 am Post subject: also |
|
|
also to this work when i tried this:
| Code: |
%%file = C:\new Visual DialogScript\test.bat
if @file(%%file)
info file found
else
info File %%file not found!
end
|
|
|
| Back to top |
|
 |
Dr. Dread Professional Member


Joined: 03 Aug 2001 Posts: 1065 Location: Copenhagen, Denmark
|
Posted: Mon Mar 10, 2003 7:37 am Post subject: |
|
|
It sounds as if the list item that you are trying to access is empty or does not exist.
Try to do this:
info @item(2, %%L2Item)
just to check if the item has your filename or not.
Greetz
Dr. Dread _________________ ~~ Alcohol and calculus don't mix... Don't drink and derive! ~~
String.DLL * advanced string processing |
|
| Back to top |
|
 |
tim6389 Professional Member


Joined: 01 Aug 2002 Posts: 790
|
Posted: Mon Mar 10, 2003 5:21 pm Post subject: nope |
|
|
hummm nope the list is not empty cuase of the following msg I get:
1. when i get can't find file it shows a path like this c:\test.bat BUT the i have it in a folder.. for some reason it can't be told to look it that folder for it
2. i tied what you said and the info comes back with test.bat
when i add this to the line, i get the path problem
| Code: |
@item(2, %%L2Item)) |
BUT if have it like this, it works BUT then i can't uses the list function
| Code: |
C:\new Visual DialogScript\test.bat |
it works i need the list one to work tho  |
|
| Back to top |
|
 |
tim6389 Professional Member


Joined: 01 Aug 2002 Posts: 790
|
Posted: Tue Mar 11, 2003 2:35 am Post subject: |
|
|
well i have tried everything that i know of and i still can't it to see the path right  _________________ Have a nice day  |
|
| Back to top |
|
 |
ShinobiSoft Professional Member


Joined: 06 Nov 2002 Posts: 790 Location: Knoxville, Tn
|
Posted: Tue Mar 11, 2003 2:44 am Post subject: |
|
|
2 things Tim,
| Quote: |
C:\new Visual DialogScript\test.bat
|
Is this the correct path?
| Quote: |
@item(2, %%L2Item))
|
And try removing the extra space between the comma and the %%L2Item
variable. _________________ Bill Weckel
ShinobiSoft Software
"The way is known to all, but not all know it."
Last edited by ShinobiSoft on Tue Mar 11, 2003 3:20 am; edited 1 time in total |
|
| Back to top |
|
 |
tim6389 Professional Member


Joined: 01 Aug 2002 Posts: 790
|
Posted: Tue Mar 11, 2003 3:16 am Post subject: |
|
|
ok i will try to remove the spaces what i post was just parts of it i didn't post the whole line of code in that post sorry i guess i should of i was trying to take a short cut on that. I figured they knew what i meant
sorry about that _________________ Have a nice day  |
|
| Back to top |
|
 |
tim6389 Professional Member


Joined: 01 Aug 2002 Posts: 790
|
Posted: Tue Mar 11, 2003 3:34 am Post subject: |
|
|
well i tried the space idea same thing
see how it keeps looking in c:\ and not in a folder
see:
 _________________ Have a nice day  |
|
| Back to top |
|
 |
ShinobiSoft Professional Member


Joined: 06 Nov 2002 Posts: 790 Location: Knoxville, Tn
|
Posted: Tue Mar 11, 2003 3:37 am Post subject: |
|
|
Is the beginning of your path supposed to be "C:\new Visual......" or is it
supposed to be "C:\Visual......."? _________________ Bill Weckel
ShinobiSoft Software
"The way is known to all, but not all know it." |
|
| Back to top |
|
 |
tim6389 Professional Member


Joined: 01 Aug 2002 Posts: 790
|
Posted: Tue Mar 11, 2003 3:40 am Post subject: |
|
|
for script debugging\testing yes
c:\new Visual DialogScript
is where the script is being run from _________________ Have a nice day  |
|
| Back to top |
|
 |
ShinobiSoft Professional Member


Joined: 06 Nov 2002 Posts: 790 Location: Knoxville, Tn
|
Posted: Tue Mar 11, 2003 3:41 am Post subject: |
|
|
You might also want to try @item(2,@trim(@item(2,%%L2Item))).
Also what operating system are you running? _________________ Bill Weckel
ShinobiSoft Software
"The way is known to all, but not all know it." |
|
| Back to top |
|
 |
tim6389 Professional Member


Joined: 01 Aug 2002 Posts: 790
|
Posted: Tue Mar 11, 2003 3:44 am Post subject: |
|
|
i'am running 98SE and do you mean try it like this:
run @item(2,@trim(@item(2,%%L2Item)))
humm that don't look right _________________ Have a nice day  |
|
| Back to top |
|
 |
ShinobiSoft Professional Member


Joined: 06 Nov 2002 Posts: 790 Location: Knoxville, Tn
|
Posted: Tue Mar 11, 2003 3:46 am Post subject: |
|
|
Sorry Tim. Wasn't paying attention.
RUN @item(2,@trim(%%L2Item)) _________________ Bill Weckel
ShinobiSoft Software
"The way is known to all, but not all know it." |
|
| Back to top |
|
 |
tim6389 Professional Member


Joined: 01 Aug 2002 Posts: 790
|
Posted: Tue Mar 11, 2003 3:50 am Post subject: |
|
|
lol no problem. i do the same thing well i try like you said i get the same eorror. i just don't understand why  _________________ Have a nice day  |
|
| Back to top |
|
 |
ShinobiSoft Professional Member


Joined: 06 Nov 2002 Posts: 790 Location: Knoxville, Tn
|
Posted: Tue Mar 11, 2003 3:52 am Post subject: |
|
|
Right now I can only guess what your problem is. Is your source small
enough to post?
Could prolly figure it pretty quick.  _________________ Bill Weckel
ShinobiSoft Software
"The way is known to all, but not all know it." |
|
| Back to top |
|
 |
|