kiwiora Posted September 21, 2005 Posted September 21, 2005 Hi everyone, Just to ensure I'm not being delusional, does everyone concur that there is a bug with get(desktoppath). For starters it's putting in / instead of which is easy enough to fix, but it also puts an extra / in front of the string i.e C:Documents and Settings{name}Desktop Subsequently, I can't get it to open up my users file on their desktop Anyone??
kiwiora Posted September 21, 2005 Author Posted September 21, 2005 ... Filemaker dont' think it's a bug and that it's to be expected ?? """ & Middle(Substitute (Get(DesktopPath) ; "/" ;"/");2;Length(Get(DesktopPath))) & "Filename.fp7" & """ for anyone else who needs it!
CyborgSam Posted September 21, 2005 Posted September 21, 2005 FileMaker uses the [color:blue] (backslash) as an escape character within text strings in the calculation dialog. To insert a [color:blue]" (double-quote) into a text string, insert [color:green]". To insert a [color:blue] (backslash), insert [color:green]. To insert a [color:blue]¶ (paragraph mark), insert [color:green]¶. The paragraph mark's character may not show properly in all web browsers... Examples as they appear in a calculation: To get the text [color:red]"This is a quote." enter it as [color:green]""This is a quote."" To get the text [color:red]c:Documents and SettingsmeDesktop enter it as [color:green]"c:Documents and SettingsmeDesktop" To get the text: [color:red]This text is on two lines. enter it as [color:green]"This text is¶on two lines."
Recommended Posts
This topic is 7101 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now