Setting Pre-Connection Credentials not working

Got a problem with Viscosity or need help? Ask here!

Weidmann

Posts: 2
Joined: Wed Jan 13, 2021 7:42 pm

Post by Weidmann » Wed Jan 13, 2021 8:05 pm
Hi Support-Team,

I was trying to set up the pre-connection credentials with an Applescript.
I do have the password and username as variables within my script.
My password contains of the following characters: [0-9a-zA-Z&$] (no quotation marks)
I tried following the how to of this page: https://www.sparklabs.com/support/kb/ar ... redentials
Code: Select all
"username " & username
prefills the username field with my username variable.
Code: Select all
"username " & password
prefills the username field with my password variable (as expected).

Both username and password does not work for me.
The prompt is now empty for username and password.
Code: Select all
"username " & username & " " & password
Code: Select all
"username \"" & username & "\" \"" & password & "\""
I'm using Viscosity Version 1.9 (1556) on macOS Big Sur Version 11.1 (20C69) on Intel Processor.

Can you help me getting it working?

Best regards

James

User avatar
Posts: 2022
Joined: Thu Sep 04, 2008 9:27 pm

Post by James » Thu Jan 14, 2021 2:05 am
Hi Weidmann,

When returning both a username and password you'll need to use the command "userpass" (rather than "username").

Cheers,
James
James Bekkema
Viscosity Developer

Web: http://www.sparklabs.com
Support: http://www.sparklabs.com/support
Twitter: http://twitter.com/sparklabs

Weidmann

Posts: 2
Joined: Wed Jan 13, 2021 7:42 pm

Post by Weidmann » Thu Jan 14, 2021 2:14 am
Thank you! I read over multiple times, but did not recognize that the command changed in front -.-
Now it's working :)
3 posts Page 1 of 1