Greetings,

You can use:

key "{~}"

 

You can do the same thing for the %, ^, and +. The { } instructs the 
WorkStation to send just the thing in the middle for keys that otherwise do 
things:

+ is shift, %  is the alt, ^ is control.

 

The Replace command is useful for replacing the ~ with {~} inside a larger 
"thing" - like your file name for example:

Enter Replace("c:\Prog~f\My ~bigfile.txt", "~", "{~}")

 

Regards,

Thom

 

Thom C. Blackwell

Product Manager

Boston Software Systems

(866) 653-5105 ex 807

www.bossoft.com <http://www.bossoft.com/> 

 

Sign up for my weekly webinar! 
<http://www.bostonworkstation.com/customer_center/special_events.aspx> 

 

LEGAL NOTICE Unless expressly stated otherwise, this message is confidential 
and may be privileged. It is intended for the addressee(s) only. Access to this 
E-mail by anyone else is unauthorized. If you are not an addressee, any 
disclosure or copying of the contents of this E-mail or any action taken (or 
not taken) in reliance on it is unauthorized and may be unlawful. If you are 
not an addressee, please inform the sender immediately, then delete this 
message and empty from your trash.

 

From: [email protected] [mailto:[email protected]] 
Sent: Monday, June 29, 2009 3:24 PM
To: Talk
Subject: [talkbws] RE: key statement and ~

 

That'll do it... Thanks!

 

John

 

________________________________

From: [email protected] [mailto:[email protected]] 
Sent: Monday, June 29, 2009 2:33 PM
To: [email protected]
Subject: [talkbws] RE: key statement and ~

 

Use the ascii equivalent.

 

Key Chr(126)

 

Should do it.

 

Thank you,

Mitch Lawrence

Lead Applications Analyst

Technical Support - NPR/Automation

CHRISTUS Information Management

™: [email protected] 
<mailto:[email protected]> 

 

 

________________________________

From: [email protected] [mailto:[email protected]] 
Sent: Monday, June 29, 2009 1:23 PM
To: [email protected]
Subject: [talkbws] key statement and ~

 

We have written a script to KEY in a path\filename into a window... works 
great... unless the path has a tilde character.  The tilde is interpreted as an 
ENTER key so it cuts off the file name.  For example, this filename 
"C:\DOCUME~1\202374\LOCALS~1\Temp\filename.txt"  gets truncated at "C:\DOCUME" 
because the ~ is interpreted as pressing the ENTER key (and pressing the ENTER 
key invokes the default Okay button on the window).

 

Is there a way to escape the tilde or represent it differently so that the KEY 
statement doesn't interpret it as an ENTER?

 

Thanks in advance,

 

John Mulligan

ProMedica Health System

 

 


_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

EMAIL CONFIDENTIALITY NOTICE 

This Email message, and any attachments, may contain confidential 
patient health information that is legally protected. This information 
is intended only for the use of the individual or entity named above. 
The authorized recipient of this information is prohibited from disclosing 
this information to any other party unless required to do so by law 
or regulation and is required to destroy the information after its stated 
need has been fulfilled. If you are not the intended recipient, you are 
hereby notified that any disclosure, copying, distribution, or action 
taken in reliance on the contents of this message is strictly prohibited. 

If you have received this information in error, please notify 
the sender immediately by replying to this message and delete the 
message from your system.

--- 
To post a message to this list, send mail to: [email protected] 

You are currently subscribed as: [email protected] 

Unsubscribe in the customer center on our website: 
http://www.bostonworkstation.com/customer_center/virtual_user_group_talk.aspx 

--- 
To post a message to this list, send mail to: [email protected] 

You are currently subscribed as: [email protected] 

Unsubscribe in the customer center on our website: 
http://www.bostonworkstation.com/customer_center/virtual_user_group_talk.aspx 
--- 
To post a message to this list, send mail to: [email protected] 

You are currently subscribed as: [email protected] 

Unsubscribe in the customer center on our website: 
http://www.bostonworkstation.com/customer_center/virtual_user_group_talk.aspx 

 


_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

EMAIL CONFIDENTIALITY NOTICE 

This Email message, and any attachments, may contain confidential 
patient health information that is legally protected. This information 
is intended only for the use of the individual or entity named above. 
The authorized recipient of this information is prohibited from disclosing 
this information to any other party unless required to do so by law 
or regulation and is required to destroy the information after its stated 
need has been fulfilled. If you are not the intended recipient, you are 
hereby notified that any disclosure, copying, distribution, or action 
taken in reliance on the contents of this message is strictly prohibited. 

If you have received this information in error, please notify 
the sender immediately by replying to this message and delete the 
message from your system.

--- 
To post a message to this list, send mail to: [email protected] 

You are currently subscribed as: [email protected] 

Unsubscribe in the customer center on our website: 
http://www.bostonworkstation.com/customer_center/virtual_user_group_talk.aspx 
--- 
To post a message to this list, send mail to: [email protected] 

You are currently subscribed as: [email protected] 

Unsubscribe in the customer center on our website: 
http://www.bostonworkstation.com/customer_center/virtual_user_group_talk.aspx 

<<image001.jpg>>

Reply via email to