NeoSoft Support Forum Forum Index  Your source for Plug-Ins, sample publications, source code and more...

Source Language:
Translate to:

NeoSoft Support Forum
NeoSoft Community Support Forum
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   SmartFeedSmartFeed   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

FolderBox

 
Post new topic   printer-friendly view   Reply to topic    NeoSoft Support Forum Forum Index -> NeoBook Action Commands
View previous topic :: View next topic  
Author Message
smartmedia
NeoBooker


Joined: 01 Apr 2005
Posts: 853
Location: Hellas

PostPosted: Mon Feb 08, 2010 4:54 am    Post subject: FolderBox Reply with quote

Hi..

I notice that in FolderBox command when you choose a folder is not adding at the end, the \ symbol when select a folder other than root. There is any specific reason or is a bug...???

For example if i choose My Documents folder i get:
C:\Documents and Settings\smartmedia\My Documents

If i choose C: i get:
C:\

So the difference is obvious. The \ is missing from My documents.

Can you fix that please...
_________________
www.infogate.gr
www.rapidfinder.ws
Back to top
View user's profile Send private message Send e-mail Visit poster's website Yahoo Messenger MSN Messenger
smartmedia
NeoBooker


Joined: 01 Apr 2005
Posts: 853
Location: Hellas

PostPosted: Mon Feb 08, 2010 7:18 am    Post subject: Reply with quote

Hi..

Searching the forum i did find the same topic made by me. Also find the responses for Sam And Carlos.

http://www.neosoftware.com/forum/viewtopic.php?t=15093

I did solve it but i think that must be corrected in a future update.
Thanks
_________________
www.infogate.gr
www.rapidfinder.ws
Back to top
View user's profile Send private message Send e-mail Visit poster's website Yahoo Messenger MSN Messenger
Gaev
NeoBooker


Joined: 01 Apr 2005
Posts: 4322
Location: Toronto, Canada

PostPosted: Mon Feb 08, 2010 7:32 am    Post subject: Reply with quote

smartmedia:
Quote:
i think that must be corrected in a future update.
... and have you given any thought to the adverse impact (on all existing Applications) that such a change would have ?

It would be better to incorporate Sam's suggestion into your Application ... perhaps using a Function Call to reduce the number of script lines.
_________________
Gaev
http://www.scriptedlogic.com/
Back to top
View user's profile Send private message Visit poster's website
smartmedia
NeoBooker


Joined: 01 Apr 2005
Posts: 853
Location: Hellas

PostPosted: Mon Feb 08, 2010 11:17 am    Post subject: Reply with quote

Hi..

Gaev,

If the path is C:\Documents and Settings\smartmedia\My Documents\\ is working with no problem, so there isn't any issues if Dave will fix it and add \ at the end. Any way i follow up Sam proposal and replace it.

Thanks
_________________
www.infogate.gr
www.rapidfinder.ws
Back to top
View user's profile Send private message Send e-mail Visit poster's website Yahoo Messenger MSN Messenger
Gaev
NeoBooker


Joined: 01 Apr 2005
Posts: 4322
Location: Toronto, Canada

PostPosted: Mon Feb 08, 2010 11:37 am    Post subject: Reply with quote

smartmedia:
Quote:
If the path is C:\Documents and Settings\smartmedia\My Documents\\ is working with no problem, so there isn't any issues if Dave will fix it and add \ at the end.
Shocked ... are you serious ? ... there are many (many) uses of the text returned in the specified variable ... e.g comparing this content with a predefined value ... how can you say that such a specification will work in ALL current uses ?
_________________
Gaev
http://www.scriptedlogic.com/
Back to top
View user's profile Send private message Visit poster's website
smartmedia
NeoBooker


Joined: 01 Apr 2005
Posts: 853
Location: Hellas

PostPosted: Mon Feb 08, 2010 1:59 pm    Post subject: Reply with quote

Hi..

Gaev,

I don't say that this will work with all users, Obviously is not working with you. All i am saying is, when you take the all path, the \ defines the folder. Right..???
So what is more accurate...???
To have this:
C:\Documents and Settings\smartmedia\My Documents
or this:
C:\Documents and Settings\smartmedia\My Documents\

I don't know if i am wrong in that, is just better to me to take the path with \.

Thanks
_________________
www.infogate.gr
www.rapidfinder.ws
Back to top
View user's profile Send private message Send e-mail Visit poster's website Yahoo Messenger MSN Messenger
Gaev
NeoBooker


Joined: 01 Apr 2005
Posts: 4322
Location: Toronto, Canada

PostPosted: Mon Feb 08, 2010 3:10 pm    Post subject: Reply with quote

smartmedia:

You are completely missing the point ... which is that once something is being deployed for a while, you just can't change it because you think it is "better" ... unless you can guarantee that ALL existing NeoBook Applications (that were built to work around this initial anomaly) will continue to work ... it is irresponsible to be suggesting that Dave (or any other platform provider) make changes to suit you.

I recently experienced a situation (on another platform) where an edit/save of a code section caused over a dozen instances of another command (which was not being edited by me) to be modified (and started behaving differently) ... this Application was running just fine for over six months ... but this thoughtless action by the platform supplier caused considerable damage/recovery for the client and me.
_________________
Gaev
http://www.scriptedlogic.com/
Back to top
View user's profile Send private message Visit poster's website
Neosoft Support
NeoSoft Team


Joined: 31 Mar 2005
Posts: 4060
Location: Oregon, USA

PostPosted: Tue Feb 09, 2010 11:24 am    Post subject: Reply with quote

I think Gaev makes a very good point.

Also, if we made this change and you needed to pass a folder name to an action or plug-in, you would then have to remove the backslash.
_________________
NeoSoft Support
Back to top
View user's profile Send private message Send e-mail Visit poster's website
smartmedia
NeoBooker


Joined: 01 Apr 2005
Posts: 853
Location: Hellas

PostPosted: Sat Mar 27, 2010 2:37 am    Post subject: Reply with quote

Hi..

Any idea how this "Anomaly" will work right if the user selects a folder on a network...???

Later:

Well i have used
Code:
SetVar "[SearchFolder]" "[SearchFolder]\"
StrReplace "[SearchFolder]" ":\\" ":\" "[SearchFolder]"


That seems to work in all 3 cases.
_________________
www.infogate.gr
www.rapidfinder.ws
Back to top
View user's profile Send private message Send e-mail Visit poster's website Yahoo Messenger MSN Messenger
Ndzn
NeoBooker


Joined: 20 Sep 2009
Posts: 48

PostPosted: Sat Mar 27, 2010 6:03 am    Post subject: Reply with quote

This was never an "Anomaly". Someone should correct me if I'm wrong but, as far as I've ever known, that's the way Folder selection dialogs work, (in any lang). It would be annoying if they appended a trailing backslash.

When you read the registry for a path you get the same result; folder name with no trailing backslash. One only has to code knowing this.
_________________
http://neodezign.net/
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    NeoSoft Support Forum Forum Index -> NeoBook Action Commands All times are GMT - 7 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

Forum content © 2008 NeoSoft Corp. All rights reserved.