Re: ASCII IN FRAMESCRIPT
A quick search reveals this function may help you: IntValue(variable-name) http://tech.groups.yahoo.com/group/framescript-users/message/4005 --- Michael Zaichenko [EMAIL PROTECTED] wrote: Hi all, does anyone know a way or a command to retrieve an ASCII or HEX number of a selected character with a framescript. Thanks in advance Michael _ Log på MSN Messenger direkte på nettet: http://webmessenger.msn.com ___ You are currently subscribed to Framers as [EMAIL PROTECTED] Send list messages to [EMAIL PROTECTED] To unsubscribe send a blank email to [EMAIL PROTECTED] or visit http://lists.frameusers.com/mailman/options/framers/athloi%40yahoo.com Send administrative questions to [EMAIL PROTECTED] Visit http://www.frameusers.com/ for more resources and info. User Interface design blog http://user-advocacy.blogspot.com/ Code::Design::UI::Consulting http://www.dionysius.com/ __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ___ You are currently subscribed to Framers as [EMAIL PROTECTED] Send list messages to [EMAIL PROTECTED] To unsubscribe send a blank email to [EMAIL PROTECTED] or visit http://lists.frameusers.com/mailman/options/framers/archive%40mail-archive.com Send administrative questions to [EMAIL PROTECTED] Visit http://www.frameusers.com/ for more resources and info.
Re: ASCII IN FRAMESCRIPT
Thanks Chris, this seems to be a one way road: number into letter. How about the other way around. I need to know what ascii or hex number a certain letter is. I have a far too sophisticated script that loops through characters and assigns them codes and displays you a corresponding number. Is there a natural way of getting this information? Michael From: Chris Borokowski [EMAIL PROTECTED] To: Michael Zaichenko [EMAIL PROTECTED], framers@lists.frameusers.com Subject: Re: ASCII IN FRAMESCRIPT Date: Mon, 30 Apr 2007 06:22:54 -0700 (PDT) A quick search reveals this function may help you: IntValue(variable-name) http://tech.groups.yahoo.com/group/framescript-users/message/4005 --- Michael Zaichenko [EMAIL PROTECTED] wrote: Hi all, does anyone know a way or a command to retrieve an ASCII or HEX number of a selected character with a framescript. Thanks in advance Michael _ Log på MSN Messenger direkte på nettet: http://webmessenger.msn.com ___ You are currently subscribed to Framers as [EMAIL PROTECTED] Send list messages to [EMAIL PROTECTED] To unsubscribe send a blank email to [EMAIL PROTECTED] or visit http://lists.frameusers.com/mailman/options/framers/athloi%40yahoo.com Send administrative questions to [EMAIL PROTECTED] Visit http://www.frameusers.com/ for more resources and info. User Interface design blog http://user-advocacy.blogspot.com/ Code::Design::UI::Consulting http://www.dionysius.com/ __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com _ Få de bedste søgeresultater med MSN Search: http://search.msn.dk ___ You are currently subscribed to Framers as [EMAIL PROTECTED] Send list messages to [EMAIL PROTECTED] To unsubscribe send a blank email to [EMAIL PROTECTED] or visit http://lists.frameusers.com/mailman/options/framers/archive%40mail-archive.com Send administrative questions to [EMAIL PROTECTED] Visit http://www.frameusers.com/ for more resources and info.
RE: ASCII IN FRAMESCRIPT
Michael Zaichenko wrote: Thanks Chris, this seems to be a one way road: number into letter. How about the other way around. I need to know what ascii or hex number a certain letter is. I have a far too sophisticated script that loops through characters and assigns them codes and displays you a corresponding number. Is there a natural way of getting this information? I may be misunderstanding the question (I'm not sure what you mean by natural or what your script is doing). But a character's ANSI or hex code doesn't change, so why do you need a way to determine it programmatically? It seems to me that your script just needs a reference source -- a text file or whatever -- where it can look this up. You may need to create this reference. :-) See Character_Sets.pdf (in the OnlineManuals subdirectory of your $FMHOME directory) for all the ANSI and hex code values for the FrameMaker character sets. If you have the full Acrobat, you might try saving this file as RTF. From there, judicious editing should yield a suitable reference text file. Richard -- Richard G. Combs Senior Technical Writer Polycom, Inc. richardDOTcombs AT polycomDOTcom 303-223-5111 -- rgcombs AT gmailDOTcom 303-777-0436 -- ___ You are currently subscribed to Framers as [EMAIL PROTECTED] Send list messages to [EMAIL PROTECTED] To unsubscribe send a blank email to [EMAIL PROTECTED] or visit http://lists.frameusers.com/mailman/options/framers/archive%40mail-archive.com Send administrative questions to [EMAIL PROTECTED] Visit http://www.frameusers.com/ for more resources and info.
RE: ASCII IN FRAMESCRIPT
Thank you Richard, does it mean I can't just select a character and with a simple command get its ASCII displayed? That's what I'm essentially after. Michael From: Combs, Richard [EMAIL PROTECTED] To: Michael Zaichenko [EMAIL PROTECTED],[EMAIL PROTECTED] CC: framers@lists.frameusers.com Subject: RE: ASCII IN FRAMESCRIPT Date: Mon, 30 Apr 2007 14:31:40 -0600 Michael Zaichenko wrote: Thanks Chris, this seems to be a one way road: number into letter. How about the other way around. I need to know what ascii or hex number a certain letter is. I have a far too sophisticated script that loops through characters and assigns them codes and displays you a corresponding number. Is there a natural way of getting this information? I may be misunderstanding the question (I'm not sure what you mean by natural or what your script is doing). But a character's ANSI or hex code doesn't change, so why do you need a way to determine it programmatically? It seems to me that your script just needs a reference source -- a text file or whatever -- where it can look this up. You may need to create this reference. :-) See Character_Sets.pdf (in the OnlineManuals subdirectory of your $FMHOME directory) for all the ANSI and hex code values for the FrameMaker character sets. If you have the full Acrobat, you might try saving this file as RTF. From there, judicious editing should yield a suitable reference text file. Richard -- Richard G. Combs Senior Technical Writer Polycom, Inc. richardDOTcombs AT polycomDOTcom 303-223-5111 -- rgcombs AT gmailDOTcom 303-777-0436 -- _ Få 250 MB gratis lagerplads på MSN Hotmail: http://www.hotmail.com ___ You are currently subscribed to Framers as [EMAIL PROTECTED] Send list messages to [EMAIL PROTECTED] To unsubscribe send a blank email to [EMAIL PROTECTED] or visit http://lists.frameusers.com/mailman/options/framers/archive%40mail-archive.com Send administrative questions to [EMAIL PROTECTED] Visit http://www.frameusers.com/ for more resources and info.
Re: ASCII IN FRAMESCRIPT
Michael, You can use this on the selected character: If TextSelection.Begin.Object = TextSelection.End.Object If TextSelection.Begin.Offset TextSelection.End.Offset Display eUtl.StringToInt{TextSelection.Begin.TextRange1.Text}; EndIf EndIf Rick Quatro Carmen Publishing 585-659-8267 www.frameexpert.com ___ You are currently subscribed to Framers as [EMAIL PROTECTED] Send list messages to [EMAIL PROTECTED] To unsubscribe send a blank email to [EMAIL PROTECTED] or visit http://lists.frameusers.com/mailman/options/framers/archive%40mail-archive.com Send administrative questions to [EMAIL PROTECTED] Visit http://www.frameusers.com/ for more resources and info.