jphillips2 Posted September 17, 2007 Share Posted September 17, 2007 I am having aproblem. When I assign HotKeySet("^+z") it locks the keyboard in either alt, shift, or ctrl. Can anyone help????????? Link to comment Share on other sites More sharing options...
evilertoaster Posted September 17, 2007 Share Posted September 17, 2007 hotkeyset like that should not be a problem...are you sure the locking doesnt come from some other part of your code? Link to comment Share on other sites More sharing options...
jphillips2 Posted September 18, 2007 Author Share Posted September 18, 2007 hotkeyset like that should not be a problem...are you sure the locking doesnt come from some other part of your code?I would not think, i am just using a simple send() Func ShowMessage() Send("Site(S):{Enter}Issue:{Enter}Ownership:{Enter}Agents:{Enter}TP Incidents:{enter}Ext Ticket:",0) Link to comment Share on other sites More sharing options...
evilertoaster Posted September 18, 2007 Share Posted September 18, 2007 hum that doesnt look like a malformed send function... (but the second argument is uneeded) Can you post your script as a whole? Link to comment Share on other sites More sharing options...
jphillips2 Posted September 18, 2007 Author Share Posted September 18, 2007 hum that doesnt look like a malformed send function... (but the second argument is uneeded) Can you post your script as a whole?[ Global $Paused HotKeySet("{PAUSE}", "TogglePause") HotKeySet("{ESC}", "Terminate") Opt("SendKeyDelay",0 ) HotKeySet("{f1}","SevNote") HotKeySet("{f2}","CallCopy") HotKeySet("{f3}","DistroList") HotKeySet("{f4}","CaresOutage") HotKeySet("{f5}","NtPassword") HotKeySet("{f6}","NotAuth") HotKeySet("{f7}","ChildTicket") HotKeySet("{f8}","ReqAdditional") HotKeySet("{f9}","ClosedInfo") HotKeySet("{f10}","MultTicket") Hotkeyset("{f11}","ClosInactivity") Hotkeyset("`","SumbitTicket") While 1 Sleep(100) WEnd ;;;;;;;; Func TogglePause() $Paused = NOT $Paused While $Paused sleep(100) ToolTip('Script is "Paused"',0,0) WEnd ToolTip("") EndFunc Func Terminate() Exit 0 EndFunc Func SevNote() Send("Site(S):{Enter}Issue:{Enter}Ownership:{Enter}Agents:{Enter}TP Incidents:{enter}Ext Ticket:{enter}{enter}",0) EndFunc Func CallCopy() Send("Your request for call copy logins has been completed. Below you will find the username(s) and password(s) for the new user(s).Please have the user(s) change their password upon initial login.{enter}{enter}Username:{enter}Password:{enter}{enter}{enter}Thanks You,{enter}{enter}",0) EndFunc Func DistroList() Send("Please refrain from sending e-mails of this nature to the IT-Help Desk group, this is for internal use only and reaches every member of the help desk. Please use the appropriate email address helpdesk@teleperformance.com.{enter}{enter}{enter}Thank You,{enter}{enter}",0) EndFunc Func CaresOutage() Send("Affected Location(s):{Enter}Number of Agents affected:{Enter}Issues start time:{enter}{enter}IP(s) of affected cares or URL:{enter}{enter}Description of issue:{enter}{enter}{enter}{enter}{enter}{enter}Local Supervisor for site:{enter}Local Supervisor phone number:",0) EndFunc Func NtPassword() Send("Thank you for contacting the Teleperformance Help Desk. Your password change request has been completed. Please have the user change thier password immediately upon logging in to the system. Please contact Help Desk if you have any questions or issues with the recently rest password. Username and Password information is below.{enter}{enter}{enter}{enter}Username:{enter}Password{Enter}{enter}{enter}Thank You,{enter}{enter}",0) EndFunc Func NotAuth() Send("This Request has been declined, for one or more of the following reasons.{Enter}Password resets must be requested by authorized individuals that are part of the management group (and above the affected individual in the managment hierarchy) such as supervisors, ACCM's, CCM's, project managers, or authorized login administrators, and from the same location.{enter}All requests must be sent from a valid Teleperformance email address.{enter}{enter}If you feel this has been declined in error, or you have a questions please contact the Help Desk.{enter}{enter}{enter}{enter}Thank You,{enter}{enter} ",0) EndFunc Func ChildTicket() Send("Your ticket is part of another know issue and is being closed. For all updates please refer to the following ticket information. You can see the ticket using the link that has been provided.{enter}{enter}{enter}Incident ticket:{enter}Location:{enter}{enter}{enter}Http://tphd.teleperformanceusa.com/tcktdtllocation.asp{enter}{enter}{enter}Thank You,{enter}{enter}",0) EndFunc Func Reqadditional() Send("In order for us to properly process your request we need some addtional information. Please update the ticket with the answers to following questions.{enter}{enter}{enter}1.{enter}2.{enter}3.{enter}4.{enter}5.{enter}{enter}Thank You,{enter}{enter}",0) EndFunc Func ClosedInfo() send("Due to lack of information in your ticket we were unable to process your request and as a result your ticket has been closed. Please create a new ticket if this is still an issue. We appreciate your assistance and support. Please contact the Help Desk at 801-257-6065 or 877-877-8971 opt 2 if you have any questions on what information is needed.{Enter}{enter}{enter}Thank You,{enter}{enter}",0) EndFunc Func MultTicket() send("This ticket was closed due to multiple issues in a single ticket. Please open up a ticket for each individual issue. This will help us handle you issues in a more efficient manner. We appreciate your assistance and understanding in this matter.{enter}{enter}{enter}Thank You,{enter}{enter}",0) EndFunc Func ClosInactivity() send("There as been no activity on your ticket for the past 30 days. Due to this inactivity your ticket has been closed. If this is currently an issue please contact Help Desk at 801-257-6065 or 877-877-8971. We will be happy to review the ticket and add any addtional information.{enter}{enter}{enter}Thank You,{enter}{enter}",0) EndFunc Func SumbitTicket() Send("This type of request cannot be properly taken care thru e-mail. Please create a Help Desk ticket at the following link on this issue. So we can properly track the progress of the issue. We appreciate your understanding on this issue.{enter}{enter}{enter}Thank You,{enter}{enter}",0) EndFunc Link to comment Share on other sites More sharing options...
evilertoaster Posted September 19, 2007 Share Posted September 19, 2007 (edited) The problem seems to be that there's no delay between your HotKeySet() events and the send command, which causes something to stick. Try putting a Sleep(250) before the send commands in the functions. I'd be interested to know if this is a bug or intended behavior... Edited September 19, 2007 by evilertoaster Link to comment Share on other sites More sharing options...
Recommended Posts
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