Did you also make sure the settings.js file was linked into the Genie Skin's start.html file? Did you refresh the browser?
Glenn
Function key detection
- Glenn
- Profound Logic Staff Member
- Posts: 124
- Joined: Mon Apr 14, 2014 4:08 pm
- First Name: Glenn
- Last Name: Hopwood
- Company Name: Profound Logic Software
- State / Province: Ohio
- Country: United States
- Contact:
-
- Experienced User
- Posts: 119
- Joined: Wed May 25, 2016 11:58 am
- First Name: Patti
- Last Name: Shuey
- Company Name: Conestoga Wood Specialties
- Phone: 7174452886
- Address 1: 645 Reading Road
- City: East Earl
- State / Province: Pennsylvania
- Zip / Postal Code: 17519
- Country: United States
- Contact:
Re: Function key detection
I did refresh the browser but did not add it to the genie skin start.html. I added it and refreshed my browser again, but it still did not work. I added it as the first .js entry. Is that the correct spot?
- Glenn
- Profound Logic Staff Member
- Posts: 124
- Joined: Mon Apr 14, 2014 4:08 pm
- First Name: Glenn
- Last Name: Hopwood
- Company Name: Profound Logic Software
- State / Province: Ohio
- Country: United States
- Contact:
Re: Function key detection
I believe it needs to be the last one.
Glenn
Glenn
-
- Experienced User
- Posts: 119
- Joined: Wed May 25, 2016 11:58 am
- First Name: Patti
- Last Name: Shuey
- Company Name: Conestoga Wood Specialties
- Phone: 7174452886
- Address 1: 645 Reading Road
- City: East Earl
- State / Province: Pennsylvania
- Zip / Postal Code: 17519
- Country: United States
- Contact:
Re: Function key detection
I made it the last one and still no-go.
- Glenn
- Profound Logic Staff Member
- Posts: 124
- Joined: Mon Apr 14, 2014 4:08 pm
- First Name: Glenn
- Last Name: Hopwood
- Company Name: Profound Logic Software
- State / Province: Ohio
- Country: United States
- Contact:
Re: Function key detection
Patti,
Sorry for the confusion, it appears that you will have to use the Function Key Pattern 2 setting. In my tests switching the previous setting I gave you to what's below worked.
pui["function key pattern2"] = "(F|CA|CF|CK|CMD|CM) ?([0-9]{1,2}) ?([=:-]) ?(\\S+)";
Glenn
Sorry for the confusion, it appears that you will have to use the Function Key Pattern 2 setting. In my tests switching the previous setting I gave you to what's below worked.
pui["function key pattern2"] = "(F|CA|CF|CK|CMD|CM) ?([0-9]{1,2}) ?([=:-]) ?(\\S+)";
Glenn
-
- Experienced User
- Posts: 119
- Joined: Wed May 25, 2016 11:58 am
- First Name: Patti
- Last Name: Shuey
- Company Name: Conestoga Wood Specialties
- Phone: 7174452886
- Address 1: 645 Reading Road
- City: East Earl
- State / Province: Pennsylvania
- Zip / Postal Code: 17519
- Country: United States
- Contact:
Re: Function key detection
That worked! Now, is there any way for it to recognize "Enter = Continue" as a function key? I know this one might be a long shot, but I'd like to try to get it to work.
- Glenn
- Profound Logic Staff Member
- Posts: 124
- Joined: Mon Apr 14, 2014 4:08 pm
- First Name: Glenn
- Last Name: Hopwood
- Company Name: Profound Logic Software
- State / Province: Ohio
- Country: United States
- Contact:
Re: Function key detection
By default I believe every skin adds a 'Continue' link/button to every screen so it should already be there. As for hiding it, I think you will need to do that yourself.
You have 2 choices.
You have 2 choices.
- Use screen level customizations in each screen to hide the text.
- Write some JavaScript that you can put in the skin's custom.js file that will hide it.
-
- Experienced User
- Posts: 119
- Joined: Wed May 25, 2016 11:58 am
- First Name: Patti
- Last Name: Shuey
- Company Name: Conestoga Wood Specialties
- Phone: 7174452886
- Address 1: 645 Reading Road
- City: East Earl
- State / Province: Pennsylvania
- Zip / Postal Code: 17519
- Country: United States
- Contact:
Re: Function key detection
I figured that would be the best solution.
Thanks for all of your help on this!
Patti
Thanks for all of your help on this!
Patti
- Glenn
- Profound Logic Staff Member
- Posts: 124
- Joined: Mon Apr 14, 2014 4:08 pm
- First Name: Glenn
- Last Name: Hopwood
- Company Name: Profound Logic Software
- State / Province: Ohio
- Country: United States
- Contact:
Re: Function key detection
I misspoke. It looks like only the Hybrid skin automatically adds the Continue link.
Glenn
Glenn
-
- Experienced User
- Posts: 2711
- Joined: Wed Aug 01, 2012 8:58 am
- First Name: Scott
- Last Name: Klement
- Company Name: Profound Logic
- City: Milwaukee
- State / Province: Wisconsin
Re: Function key detection
Depending on the situation, you may be able to use the "Special Key Pattern" to detect Enter.
http://www.profoundlogic.com/docs/displ ... ey+Pattern
http://www.profoundlogic.com/docs/displ ... ey+Pattern
Who is online
Users browsing this forum: No registered users and 1 guest