Value help with short text
Hi gurus,
I'm trying to create a input value help with the records from my internal table but I woulkd like also to put the short when the popup displays.
Actually I only have the records.
SELECTION-SCREEN BEGIN OF BLOCK ref WITH FRAME TITLE text-t03.
SELECT-OPTIONS:
s_kstar FOR i_cska-kstar.
AT SELECTION-SCREEN ON VALUE-REQUEST FOR s_kstar-low.
PERFORM search_kstar USING s_kstar-low.
FORM search_kstar
using kstar type cska-kstar.
SELECT * FROM cska
INTO CORRESPONDING FIELDS OF TABLE i_cska
WHERE kstar LIKE '08%'
OR kstar LIKE '008%'
OR kstar LIKE '0008%'.
CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
EXPORTING
retfield = 'KSTAR'
dynprofield = 's_kstar'
dynpprog = sy-cprog
dynpnr = sy-dynnr
value_org = 'S'
TABLES
value_tab = i_cska.
IF sy-subrc <> 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
CALL FUNCTION 'HELP_VALUES_GET'
EXPORTING
fieldname = 'KSTAR'
tabname = 'i_cska'
IMPORTING
SELECT_VALUE = kstar.
ENDFORM. " SEARCH_KSTAR
Anybody would a solution.
Thx in advance for your help.
Mohamed.
Hi Mohamed,
Check the Following.
" Implement your own search Help as below
PARAMETERS : carrid TYPE spfli-carrid,
connid TYPE spfli-connid,
fldate TYPE sflight-fldate.
DATA : itab TYPE TABLE OF sflight WITH HEADER LINE.
DATA : fmap TYPE TABLE OF dselc WITH HEADER LINE.
AT SELECTION-SCREEN ON VALUE-REQUEST FOR carrid." If it is a selection Screen
else in PROCESS ON VALUE REQUEST
SELECT * FROM sflight INTO TABLE itab.
SORT itab BY carrid connid fldate.
DELETE ADJACENT DUPLICATES FROM itab
COMPARING carrid connid fldate.
fmap-fldname = 'CARRID'.
fmap-dyfldname = 'CARRID'.
APPEND fmap.
fmap-fldname = 'CONNID'.
fmap-dyfldname = 'CONNID'.
APPEND fmap.
fmap-fldname = 'FLDATE'.
fmap-dyfldname = 'FLDATE'.
APPEND fmap.
CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
EXPORTING
ddic_structure = 'SFLIGHT'
retfield = 'CARIID'
* PVALKEY = ' '
dynpprog = sy-repid
dynpnr = sy-dynnr
DYNPROFIELD = 'CARRID'
* STEPL = 0
* WINDOW_TITLE =
* VALUE = ' '
value_org = 'S'
* MULTIPLE_CHOICE = ' '
* DISPLAY = ' '
* CALLBACK_PROGRAM = ' '
* CALLBACK_FORM = ' '
* MARK_TAB =
* IMPORTING
* USER_RESET =
TABLES
value_tab = itab
* FIELD_TAB =
* RETURN_TAB =
dynpfld_mapping = fmap
* EXCEPTIONS
* PARAMETER_ERROR = 1
* NO_VALUES_FOUND = 2
* OTHERS = 3
." Just Execute this pilot program and verify
IF sy-subrc 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
Cheerz
Ram
Similar Messages
-
I need help with my text tone and I have ring tone. no text tone for the 4s.
I need help with my text tone. I have ring tone no text tone. I have a 4s.
Hi Sarar2333! Let's get your text tones working again!
Here's a link with instructions how to enable and change your alert sounds for your text/notification settings on your iPhone 4S: http://vz.to/1stiF8a. You can ensure text tones are enabled by selecting a tone in the "Text Tone" setting. Let me know how that works out for you. Thanks!
AnthonyTa_VZW
Follow us on Twitter @VZWSupport -
Variables/Input Parameters Value help not showing texts
Hello,
I have created a crystal report based on a calculation view in Crystal Reports for Enterprise 4.1 SP5, which has a input parameter on the field "Region". For the value help, I am using a custom view based on T005U in which I have made sure that RegionName field is present in the "Label Column" property of the Region field.(Required for viewing descriptions of LOVs).
In the crystal report, while previewing data in the query builder, I am able to see the value help for the input parameter in the prompt screen, which displays only the key part, but does not display the description of it. Moreover, after accepting the prompt value, the preview runs into an error(as shown below). Please note that I get the error below only when Region is a part of the output fields of the query.
Instead of input parameter, when I create a variable on the region field in the main calculation view, with the same value help view, I am able to do data preview in the query builder as also data appears in the report on running the query. But, just as in the case of input parameter value help in the prompt screen, even over here, I am only able to see the key part and not the description.
Are variables/input parameter LOV's supposed to display descriptions or just the key part? As also, any reason why I should be getting this error while using Input parameter?
Kindly let me know if I am missing something in the development of this report.
Regards,
AlstonHi,
I hope you are taking the BEx Query as a source to the crystal report. In the BEx query check region info object should is maintained as Text and Key. If text is not maintained over there you will not be getting text in Crystal reports.
Krishna. -
Help with Replacing text in a file using a vbscript
I have the following script which I am wanting to
1. Take the prf file and read it
2. Edit a line in the outlook .prf file replacing it with the text I have asked it to replace which is the full name of the user pulled from the currently logged on user
The problem I am seeing is that when the temp file is being generated it is throwing off the formatting of the file hence the script doesn't work. Can anyone help me please.
set objSysInfo = CreateObject("ADSystemInfo")
struser = objSysInfo.Username
set objUser = GetObject("LDAP://" & strUser)
strFullName = objUser.Get("displayName")
Const ForReading=1
Const ForWriting=2
Set objFSO = CreateObject("Scripting.FileSystemObject")
folder = "C:\test"
'filePath = folder & "file.txt"
filePath = "c:\test\test2007_3.prf"
Set myFile = objFSO.OpenTextFile(filePath, ForReading)
Set myTemp= objFSO.OpenTextFile(filePath & ".tmp", ForWriting, True)
Do While Not myFile.AtEndofStream
myLine = myFile.ReadLine
If InStr(myLine, "MailboxName=%UserName%") Then
myLine = "&strFullName"
End If
myTemp.WriteLine myLine
Loop
myFile.Close
myTemp.Close
objFSO.DeleteFile(filePath)
objFSO.MoveFile filePath& ".tmp", filePath
ChristopherSorry Irv,
Here is the code I have and then after that is the prf file. I think there is an issue with the file structure because if I take a regular text file and add the lines in there myself it replaces the lines, but with the prf file or even the prf file as a
text file it gives me the invalid argument message
Const filePath = "c:\test\test2007_3.txt"
Set objFSO = CreateObject("Scripting.FileSystemObject")
Set myFile = objFSO.OpenTextFile(filePath)
fileText = myFile.ReadAll()
myFile.Close
fileText=Replace(fileText,"%UserName%","THIS_IS_THS_REPLACEMENT_TEXT")
Set myTemp= objFSO.OpenTextFile(filePath, 2, True)
myTemp.Write fileText
myTemp.Close
;Automatically generated PRF file from the Microsoft Office Customization and Installation Wizard
; Section 1 - Profile Defaults
[General]
Custom=1
ProfileName=Somthing
DefaultProfile=Yes
OverwriteProfile=Yes
ModifyDefaultProfileIfPresent=false
DefaultStore=Service1
; Section 2 - Services in Profile
[Service List]
ServiceX=Microsoft Outlook Client
ServiceEGS=Exchange Global Section
Service1=Microsoft Exchange Server
ServiceEGS=Exchange Global Section
; Section 3 - List of internet accounts
[Internet Account List]
; Section 4 - Default values for each service.
[ServiceX]
CachedExchangeMode=0x00000002
CachedExchangeSlowDetect=true
[ServiceEGS]
CachedExchangeConfigFlags=0x00000900
MailboxName=%UserName%
HomeServer=
RPCoverHTTPflags=0x0027
RPCProxyServer=
RPCProxyPrincipalName=
RPCProxyAuthScheme=0x0001
[Service1]
OverwriteExistingService=No
UniqueService=Yes
MailboxName=%UserName%
HomeServer=
OfflineAddressBookPath=%USERPROFILE%\local settings\application data\microsoft\outlook\
OfflineFolderPathAndFilename=%USERPROFILE%\local settings\application data\microsoft\outlook\outlook.ost
AccountName=Microsoft Exchange Server
DefaultAccount=TRUE
;[ServiceX]
;FormDirectoryPage=
;-- The URL of Exchange Web Services Form Directory page used to create Web forms.
;WebServicesLocation=
;-- The URL of Exchange Web Services page used to display unknown forms.
;ComposeWithWebServices=
;-- Set to true to use Exchange Web Services to compose forms.
;PromptWhenUsingWebServices=
;-- Set to true to use Exchange Web Services to display unknown forms.
;OpenWithWebServices=
;-- Set to true to prompt user before opening unknown forms when using Exchange Web Services.
; Section 5 - Values for each internet account.
; Section 6 - Mapping for profile properties
[Microsoft Exchange Server]
ServiceName=MSEMS
MDBGUID=5494A1C0297F101BA58708002B2A2517
MailboxName=PT_STRING8,0x6607
HomeServer=PT_STRING8,0x6608
OfflineAddressBookPath=PT_STRING8,0x660E
OfflineFolderPathAndFilename=PT_STRING8,0x6610
[Exchange Global Section]
SectionGUID=13dbb0c8aa05101a9bb000aa002fc45a
MailboxName=PT_STRING8,0x6607
HomeServer=PT_STRING8,0x6608
RPCoverHTTPflags=PT_LONG,0x6623
RPCProxyServer=PT_UNICODE,0x6622
RPCProxyPrincipalName=PT_UNICODE,0x6625
RPCProxyAuthScheme=PT_LONG,0x6627
CachedExchangeConfigFlags=PT_LONG,0x6629
[Microsoft Mail]
ServiceName=MSFS
ServerPath=PT_STRING8,0x6600
Mailbox=PT_STRING8,0x6601
Password=PT_STRING8,0x67f0
RememberPassword=PT_BOOLEAN,0x6606
ConnectionType=PT_LONG,0x6603
UseSessionLog=PT_BOOLEAN,0x6604
SessionLogPath=PT_STRING8,0x6605
EnableUpload=PT_BOOLEAN,0x6620
EnableDownload=PT_BOOLEAN,0x6621
UploadMask=PT_LONG,0x6622
NetBiosNotification=PT_BOOLEAN,0x6623
NewMailPollInterval=PT_STRING8,0x6624
DisplayGalOnly=PT_BOOLEAN,0x6625
UseHeadersOnLAN=PT_BOOLEAN,0x6630
UseLocalAdressBookOnLAN=PT_BOOLEAN,0x6631
UseExternalToHelpDeliverOnLAN=PT_BOOLEAN,0x6632
UseHeadersOnRAS=PT_BOOLEAN,0x6640
UseLocalAdressBookOnRAS=PT_BOOLEAN,0x6641
UseExternalToHelpDeliverOnRAS=PT_BOOLEAN,0x6639
ConnectOnStartup=PT_BOOLEAN,0x6642
DisconnectAfterRetrieveHeaders=PT_BOOLEAN,0x6643
DisconnectAfterRetrieveMail=PT_BOOLEAN,0x6644
DisconnectOnExit=PT_BOOLEAN,0x6645
DefaultDialupConnectionName=PT_STRING8,0x6646
DialupRetryCount=PT_STRING8,0x6648
DialupRetryDelay=PT_STRING8,0x6649
[Personal Folders]
ServiceName=MSPST MS
Name=PT_STRING8,0x3001
PathAndFilenameToPersonalFolders=PT_STRING8,0x6700
RememberPassword=PT_BOOLEAN,0x6701
EncryptionType=PT_LONG,0x6702
Password=PT_STRING8,0x6703
[Unicode Personal Folders]
ServiceName=MSUPST MS
Name=PT_UNICODE,0x3001
PathAndFilenameToPersonalFolders=PT_STRING8,0x6700
RememberPassword=PT_BOOLEAN,0x6701
EncryptionType=PT_LONG,0x6702
Password=PT_STRING8,0x6703
[Outlook Address Book]
ServiceName=CONTAB
[LDAP Directory]
ServiceName=EMABLT
ServerName=PT_STRING8,0x6600
UserName=PT_STRING8,0x6602
UseSSL=PT_BOOLEAN,0x6613
UseSPA=PT_BOOLEAN,0x6615
EnableBrowsing=PT_BOOLEAN,0x6622
DisplayName=PT_STRING8,0x3001
ConnectionPort=PT_STRING8,0x6601
SearchTimeout=PT_STRING8,0x6607
MaxEntriesReturned=PT_STRING8,0x6608
SearchBase=PT_STRING8,0x6603
CheckNames=PT_STRING8,0x6624
DefaultSearch=PT_LONG,0x6623
[Microsoft Outlook Client]
SectionGUID=0a0d020000000000c000000000000046
FormDirectoryPage=PT_STRING8,0x0270
WebServicesLocation=PT_STRING8,0x0271
ComposeWithWebServices=PT_BOOLEAN,0x0272
PromptWhenUsingWebServices=PT_BOOLEAN,0x0273
OpenWithWebServices=PT_BOOLEAN,0x0274
CachedExchangeMode=PT_LONG,0x041f
CachedExchangeSlowDetect=PT_BOOLEAN,0x0420
[Personal Address Book]
ServiceName=MSPST AB
NameOfPAB=PT_STRING8,0x001e3001
PathAndFilename=PT_STRING8,0x001e6600
ShowNamesBy=PT_LONG,0x00036601
; Section 7 - Mapping for internet account properties. DO NOT MODIFY.
[I_Mail]
AccountType=POP3
;--- POP3 Account Settings ---
AccountName=PT_UNICODE,0x0002
DisplayName=PT_UNICODE,0x000B
EmailAddress=PT_UNICODE,0x000C
;--- POP3 Account Settings ---
POP3Server=PT_UNICODE,0x0100
POP3UserName=PT_UNICODE,0x0101
POP3UseSPA=PT_LONG,0x0108
Organization=PT_UNICODE,0x0107
ReplyEmailAddress=PT_UNICODE,0x0103
POP3Port=PT_LONG,0x0104
POP3UseSSL=PT_LONG,0x0105
; --- SMTP Account Settings ---
SMTPServer=PT_UNICODE,0x0200
SMTPUseAuth=PT_LONG,0x0203
SMTPAuthMethod=PT_LONG,0x0208
SMTPUserName=PT_UNICODE,0x0204
SMTPUseSPA=PT_LONG,0x0207
ConnectionType=PT_LONG,0x000F
ConnectionOID=PT_UNICODE,0x0010
SMTPPort=PT_LONG,0x0201
SMTPSecureConnection=PT_LONG,0x020A
ServerTimeOut=PT_LONG,0x0209
LeaveOnServer=PT_LONG,0x1000
[IMAP_I_Mail]
AccountType=IMAP
;--- IMAP Account Settings ---
AccountName=PT_UNICODE,0x0002
DisplayName=PT_UNICODE,0x000B
EmailAddress=PT_UNICODE,0x000C
;--- IMAP Account Settings ---
IMAPServer=PT_UNICODE,0x0100
IMAPUserName=PT_UNICODE,0x0101
IMAPUseSPA=PT_LONG,0x0108
Organization=PT_UNICODE,0x0107
ReplyEmailAddress=PT_UNICODE,0x0103
IMAPPort=PT_LONG,0x0104
IMAPUseSSL=PT_LONG,0x0105
; --- SMTP Account Settings ---
SMTPServer=PT_UNICODE,0x0200
SMTPUseAuth=PT_LONG,0x0203
SMTPAuthMethod=PT_LONG,0x0208
SMTPUserName=PT_UNICODE,0x0204
SMTPUseSPA=PT_LONG,0x0207
ConnectionType=PT_LONG,0x000F
ConnectionOID=PT_UNICODE,0x0010
SMTPPort=PT_LONG,0x0201
SMTPSecureConnection=PT_LONG,0x020A
ServerTimeOut=PT_LONG,0x0209
CheckNewImap=PT_LONG,0x1100
RootFolder=PT_UNICODE,0x1101
[INET_HTTP]
AccountType=HOTMAIL
Account=PT_UNICODE,0x0002
HttpServer=PT_UNICODE,0x0100
UserName=PT_UNICODE,0x0101
Organization=PT_UNICODE,0x0107
UseSPA=PT_LONG,0x0108
TimeOut=PT_LONG,0x0209
Reply=PT_UNICODE,0x0103
EmailAddress=PT_UNICODE,0x000C
FullName=PT_UNICODE,0x000B
Connection Type=PT_LONG,0x000F
ConnectOID=PT_UNICODE,0x0010
Christopher -
Requied help with WWV_FLOW_ITEM.TEXT
Hi Forum,
This one is bothering me a lot. I am in need of your help with his. Hope i get one sooner... :)
Well, actually If you look at the code, you would get what i am trying to do here. "RIE.DESIGN + RIE.TEST_CASE_PREP + RIE.DESIGN_REVIEW + RIE. DESIGN_REWORK + RIE.TEST_CASE_REVIEW + RIE.TEST_CASE_REWORK" are the columns of a single table and i am trying to display it by adding them all.(row based addition).
I have a submit button.
The Process happens normal when the page is loaded. It adds all the 6 columns and displays correctly. but when i do some process in the page and click submit button, the value in the "TOTAL WORT is added once again and i get the values added twice.
eg : on load the value of TOTAL WORK is 10 and on click of submit button, it keeps adding 10 more.. like 20. 30 40 and keeps going.
I just want this to be constant. Please help me out with this.
wwv_flow_item.TEXT(4,(RIE.DESIGN + RIE.TEST_CASE_PREP + RIE.DESIGN_REVIEW + RIE. DESIGN_REWORK + RIE.TEST_CASE_REVIEW + RIE.TEST_CASE_REWORK) "TOTAL WORK".
Thanks,
VikramHi Vikram,
What is that you are doing in the process which alters the value?
Thanks
Satty -
Need help with cleening text during ExportAllStories (JS-CS4)
I have altered the ExportAllStories.jsx script for CS4 to export the selected TextFrame(s).
The main function are the same as in the original.
It works fine, but I need advice on how to clean the text before it gets exported to a text file.
I have tried to pass the TextFrame object myStory, as in the original script, to a function like this:
myStory = cleantext(myStory)
The function cleantext works with a text string passed to it,like this:
function cleantext(s) {
s.replace(/\u2011/g,'-');
I guess I have to extract the myStory object to a text string but haven’t succeeded yet.
Maybe the solution is to do some search and replace with GREP or other techniques?
All tips on how to proceed would be appreciated.This is how i solved my problem.
With the help from Peter Kahrels function
function replace (f, r)
app.findGrepPreferences.findWhat = f;
app.changeGrepPreferences.changeTo =r;
app.documents[0].changeGrep ()
And in my script I could easily do this:
app.findGrepPreferences = app.changeGrepPreferences = null;
story = app.selection[0].parentStory;
// Sample: Replace non-breaking hyphen (8209 -> \u2011) with a regular hyphen.
replace("/\u2011/g",'-');
app.findGrepPreferences = app.changeGrepPreferences = null;
And thereafter proceeding with the exporting stuff.
Thank you all contributors in this forum! -
I am a big iMovie fan, but I have just had a problem while attempting to create a video game trailer. I have never experienced this before, and I do not know how to get by it.
Ok. So I have 20 seconds of scrolling text, and about 28 lines of text. 247 characters with no spaces if you really want to know. I have 20 seconds of video behind it.
Here's the problem: The last five lines of text are cut off. They are completely normal: Helvectia, Bold, 16 size, Left sided, white. There is no fancy text or images around it besides for the video behind it. (It played fine before with no video behind it).
I've tried resizing the video, the text length, everything I can think of, and nothing works. Please help ASAP.
I am running this on a MacBook, iMovie '08, the total time of video is 41 seconds. The video behind the scrolling text is a .mov file.
Thanks!Note: The problem seems to have fixed itself. I do not know what the problem was, but I was messing around with the text and I noticed the missing lines were back. If anybody knows what the problem was, or wants to contribute to this post, please do so.
Thanks!
Contact: jomskylark [AT] gmail [DOT] com
Message was edited by: sky_lark -
Help with Scrolling Text Item.
Hi , need help with making a text item scrollable.
i.e. A field is 30 characters and i can only display 10
characters, now what I would like is a scroll bar under the text
item.
Is this possible. I am using Forms 5.
Thanx for any help.
Pankaj Patel.
nullPetr Valouch (guest) wrote:
: Pankaj Patel (guest) wrote:
: : Hi , need help with making a text item scrollable.
: : i.e. A field is 30 characters and i can only display 10
: : characters, now what I would like is a scroll bar under the
: text
: : item.
: : Is this possible. I am using Forms 5.
: : Thanx for any help.
: : Pankaj Patel.
: Hi
: You need that scrollbar under the item? You can set length
of
: text item and its size independently, so you can have text
item
: char(30) with size of 10 characters.
An alternative is to declare the item as a multi-line text item
with wrap set on. This would give you a vertical scroll bar on
the item.
Another option is to programmaticaly pop up an Editor, each time
focus is moved to the item, or to actually change the width of
the item when focus moves to it (and shrink it back when focus
moves away.
Simon Hedges
Gloucester
UK
null -
Multiple selection in value help with Web service
Hi All,
I want to get data from web service and store in data base. I created input form with set of inputfields. For some input filds in that input form, I want to get value from web service.So I have used value help wizard. I followed below link to create value help wizard for web service.
Value help wizard working with java web service ?
While creating value help, it is only showing 'single selection' option. It does not showing any other options. Here I want to get multiple values from value help. How can I acheive this?.
Thanks,
Venkatesh RHi Venkat,
Try the below links for value help in visual composer.
Visual Composer: Value Help Data Service
Choosing Multiple Values within Visual Composer
http://help.sap.com/saphelp_nw04s/helpdata/en/50/91db4238bbf140e10000000a1550b0/frameset.htm
Regards
Basheer -
Help with dynamic text and and css !
My second question of the day.
I'm trying to build a feature in my app in which the user can
hide/reveal
bolding and or
italics and or
underlining. The text is being loaded in from an xml file
and I was thinking about styling it with css in order to get the
underlining. My problem is that the only way I can think about
pulling this off is to have a css style sheet that has a defined
bold,italic and underline class defined- - then another one that
just has a italic and underline class defined -- then another one
that has just a bold and underline class defined . . . and so on
and so on. You can see why I would prefer a much more streamlined
system. Unfortunately my experience with dynamic text styling is
somewhat limited. Hopefully someone can help me out here.Perfect. I knew it was some little snippet that I was
forgetting. I made a temporary fix of creating a 0% alpha box over
the button like a fake click area above the text, and that worked
but I know that it was a half-arsed way of working around it.
Thanks. -
OVS Value help with a preallocate value
Hi everybody,
i use a OVS Value Help whitch contains one field and a button for search.
Now i want to preallocate this field with a default value and execute the search automatically when the OVS View appears.
How can i do it?
Regards,
Sid
Edited by: Sid on Nov 7, 2011 1:05 PMHi Sid,
You can set default value to the field in value help within the method applyInputValues() and within this method, call onQuery() method which contains the logic for fetching the search results. Please find below the sample code for applyInputValues():
public void applyInputValues(IWDNodeElement applicationNodeElement, IWDNodeElement queryInputNodeElement)
// On clicking Value help pop-up icon, get all the records from database
wdContext.nodeDemoOutput().invalidate();
queryInputNodeElement.setAttributeValue(IDemoInputElement.NAME, "<default_value>");
onQuery(queryInputNodeElement, wdContext.nodeDemoOutput());
Hope this helps.
Regards,
Pavithra -
Need help with optimizing text appearance when exporting video
Here's what I'm trying to do:
1. Convert a Powerpoint presentation to an MP4 (AVC) file, frame rate 30 (actually defaults to 29.97) and video bit rate of 1200kbps,using Wondershare PPT2VideoPro. (There are no actual video clips contained in the original PPT file).
2. Import the newly created MP4 video into a new project in Premeire Elements.
3. Add audio files (WAV) created by Audacity.
4. Export the final product as a video.
Here's the problem:
The text quality in the final exported film is very poor, and the screen occasionally seems to sublty flicker once and a while. I've tried multiple different settings, but all with the same result.
Can anyone offer suggestions on optimal settings for exporting the final product such that the text is as clear as possible? (The text in the MP4 file created by Wondershare looks great.)
Thanks!
- ErnestOne option would be to create the Text Images in Photoshop, and Save_As a PSD.
For large sets of Titles, I do the text portion in Word/WordPerfect, so I can use Spell-Check. Then in PS, I just Copy/Paste the text into an Image, where I apply all of the PS Styles that I need. Because I use PrPro for most of my NLE work, I will often do the Titles with Layered Text, and Import those as a Sequence, so that the Layers are not Flattened. This allows me to independently animate each Layer, as I need. Unfortunately, PrE does not allow one to Import the Layered PSD's, Unflattened, as it does not have Sequences.
Also note that PrE's Titler's Styles are just a starting point. Once applied, one can alter most aspects, and when they are satisfied with the changes, they can then Save the new Style and re-use it over and over. Do not forget the ability to modify those Styles.
From PowerPoint, and this depends on the version, the best that one can usually do is to Export each "slide" as a TIFF, and Import those into the NLE program.
Good luck,
Hunt -
Need help with creating text anchors with tagged text.
Can anyone tell me how to determine the correct value for a "Hyperlink Dest Index" value?
I have a script which creates a tagged text file that specifies about about 280 pages of tables (thank heavens for autoflow) , and would like to add live links between different parts. I can create a text anchor and a hyperlink to it in InDesign. The tagged text definition for the link source is simple and in-line and exports and imports nicely as tagged text. However, I see that all the link destinations, aka text anchors, are all exported at the very end of the tagged text files as global definitions, and thier location iin the document is specified by the property HyperlinkDestIndex. However, I can't figure out how to set this value progammatically. I've spent over an hour exporting links, and it sure isn't anything as obvious as character index in the story.
Any advice appreciated,
Read RobertsRead, I'm not sure the following is going to help you. It works for external hyperlinks, but you want internal links, right? Anyway, it might give you some clues.
A funny thing: I was reviewing some script where I got links to work, and I spotted a tiny coding error. Links seemed to be defined by two separate identifiers: a "link name", which is what appears in Edit Hyperlink dialog, and a "Dest Key", which seems to be a simple increasing number. However, due to aformentioned coding error, the dest keys between the actual link and its definition were off by '1', so there was no way that ought to have matched. But it still worked! So "Dest Key" is a red herring ...
As far as I understand, it works like this (for hyperlinks): in your text, you have
HplName -- this is actually the 'title' that appears in the Hyperlink palette
HplDest -- this is the 'internal name'
DestKey. Hm. Perhaps you could omit this, per above obsvn.
CharStyleRef, the name of the auto-applied style
Hid -- seems to be always '0'
HplOff: the "offset" from this entire command to the start of the hyperlink, in InDesign characters.
HplLen: the "length" from the hyperlinked text, in InDesign characters.
and in the list of 'proper' definitions, those that appear at the very end of your file:
HplDestDfn -- the internal name again
DestKey -- see above
HplDestUrl -- finally! A real URL! (But you must escape lots of characters, such as the forward slash and colon.)
Hid -- again, always seems to be '0'.
Some of these items are perhaps optional, but experimenting with what may be left out only lead to frustration The Tagged Text guide is far from complete, as I'm sure you already knew.
As noted, some (or all) of the named items need a backslash escape for a few characters, but I can't find a definitive way to determine in advance what is 'good' and what is 'not good'.
The following script creates a Tagged Text file with a couple of working hyperlinks in it -- I don't know if this is of any help for your internal links.
var hyperlinkDest = [];
var text = "This is some text with a link [http://www.jongware.com/idjshelp.html] and another one [http://forums.adobe.com/thread/1014617?tstart=0] in it.";
var tagtext = text.replace (/\[(.+?)\]/g, function (full, match)
return makelink (match, 'title:'+match, match, match);
// When done processing plain text, add the destinations at the end:
tagtext += hyperlinkDest.join('');
tagFile = File(Folder.myDocuments+'/__tmp.txt');
if (tagFile.open('w') == false)
alert ("Unable to create temporary file!");
exit();
if (File.fs == "Windows")
tagFile.write ("<ASCII-WIN>\n");
else
tagFile.write ("<ASCII-MAC>\n");
tagFile.write ("<dcs:HYPERLINK=<cu:1>>\n");
tagFile.write (tagtext);
tagFile.close();
// 'text' is the actual text that will be clickable
// 'title' is what will appear in the Hyperlinks palette
// 'name' is the internal name in the Edit Hyperlink dialog
// 'url' is the actual URL that will be linked to
function makelink (text, title, name, url)
var destkey = hyperlinkDest.length;
// In URL you must escape forward slashes and colons
// .. and some other characters as well, by the way. There seems to be no list
url = url.replace(/\//g, '\\/').replace(/:/g, '\\:');
hyperlinkDest.push ('<HplDestDfn:=<HplDestName:'+name+'><DestKey:'+String(destkey)+'><HplDestUrl:'+url+'><Hid:0>>');
return '<Hpl:=<HplName:'+title+'><HplDest:'+name+'><DestKey:'+String(destkey)+'><CharStyleRef:HYPERLINK><Hid:0><Brdrv:0><HplOff:0><HplLen:'+String(text.length)+'>>'+text; -
Need Help with Postioning Text Boxes
Hello,
I am fairly new to APEX, but I think I getting the hang of it. I am very much impressed with the functionality. I have a question and I hope someone can help me with it.
I have a Diagram that looks like:
X
X X X X
X X X X X
The X's represent values that will go in the them, source being an SQL Query so I though I could use TextBox Item and make the sqlquery which will be a count of some sort. This will be dynamically changed depending on user input.
I also have lines connecting to the X's and labels. So I created a table with the diagram as a background. So my dilema is that how do I reference ITEM Text boxes to be in the table. I tried
<table background="my_image.bmp"><tr><td>#ITEMS#:P1_X</td></tr><table>
but it only shows up as ":P1_X" not that actual ITEM, i know my syntax maybe wrong to reference the item, so that would be my first question.
Is there a way I can just position the actual textbox to in the table?
My second question, for positioning so the textboxes woudl line up where the X's are, should I use CSS, and if so, do I have to upload a Style Sheet?(which I don't mind, just wondering if there is a way to just use CSS in the Page HTML SOURCE?)
SO... basically I would like to know the best way to get these textboxes in the place where the X's are. The diagram is a image that is the background of a table. Any thoughts?After posting the message my representation of the diagram is a bit off, it looks like a Tree diagram with spaces and teh first X being in the middle and equally spaced then on.
-
Ajax - Multiple Values - Help with the code
Hi all,
My code is probably wrong, though, I don't know where the problem is. I'm not that good with programming and copied the example from oracle.com and modified it... I hope you guys can help me. Here is what I have:
A select list: P4_DOBJ1_NR (The user selects something from DOBJ_NR from the table dataobject)
A display as text item: P4_NAMSP1
Another display as text item: P4_DOBJ_NAME1
Here my code:
HTML Header Setting for my select list-attribut:
onchange="javascript:getDOBJ1Info(this);"
The HTML header from my page:
<script type="text/javascript">
function getDOBJ1Info(filter)
var xml = null;
var get = new htmldb_Get(null,$v('pFlowId'), 'APPLICATION_PROCESS=GETDOBJ1Info',0);
get.add('GOBJ1NO', filter.value);
ret = get.get('XML');
if(ret)
var oneItems = ret.getElementsByTagName("NAMSP");
if (oneItems)
var onedisplay = document.getElementById("P4_NAMSP1");
onedisplay.innerHTML = oneItems[0].getAttribute("VALUE");
var twoItems = ret.getElementsByTagName("DOBJ_NAME");
if (twoItems)
var twodisplay = document.getElementById("P4_DOBJ_NAME1");
twodisplay.innerHTML = twoItems[0].getAttribute("VALUE");
get = null;
</script>
An application item, called: GOBJ1NO
And the Application Process:
DECLARE
vONE VARCHAR2(100);
vTWO VARCHAR2(100);
BEGIN
owa_util.mime_header('text/xml', FALSE );
htp.p('Cache-Control: no-cache');
htp.p('Pragma: no-cache');
owa_util.http_header_close;
htp.prn('<DATA>');
SELECT NAMSP, DOBJ_NAME INTO vONE, vTWO FROM DATAOBJECT WHERE DOBJ_NR = :GOBJ1NO;
htp.prn('<ONE VALUE="' || vONE || '"></ONE>');
htp.prn('<TWO VALUE="' || vTWO || '"></TWO>');
htp.prn('</DATA>');
EXCEPTION WHEN OTHERS THEN
htp.prn('<ONE VALUE="Error"></ONE>');
htp.prn('<TWO VALUE="Error"></TWO>');
END;Your process returns a XML document with structure
<DATA>
<ONE> value one </ONE>
<TWO> value two </TWO>
</DATA>but you are trying to retrieve element named "NAMSP"
so try to chang it to :
var oneItems = ret.getElementsByTagName("ONE");You will find fantastic examples on Denes Kubicek web site:
Try this url:
http://apex.oracle.com/pls/otn/f?p=31517:106:1074750275898234::NO
HTH
Thomas
Maybe you are looking for
-
CS5 (and/or 5.5) - animation question
Hi everyone! I have a problem that I just can't seem to work out and hoping some clever person out there will know an answer I have put together an example of what I am trying to do: I have 5 objects (the blue rectangles) that I wish to appear in seq
-
Begin-of-transaction in ABAP Objects
Hi, I have a question regarding the (implicit or explicit) begin of a transaction (read: SAP LUW) in ABAP Objects. In this piece of code CREATE OBJECT mapping. TRY. mapping->delete_all_embraced_mappings( ). mapping->merge_with_begda_overlap( ).
-
Hi, I have an iMac G5 that's sitting in a box because I now have an Intel-based iMac ... I'm thinking of making the G5 into a Web server. Any suggestions on how I can make this happen? We have the typical, consumer-grade DSL service at our home ... T
-
Different Playlists in Front ROW and iTunes
Hello I am new in using Front Row and i have some trouble with it. When i use the MUSIC playlists then they are not the same playlist as they are in the itunes 9. For example i have a "BEST OF" playlist. In this playlists are only 5 Star rated songs
-
Hi, i'm experiencing total freeze of the system during extensive 3D benchmarks like 3Dmark 2011 or 2003, system just gets very hot and unresponsive after approx. 10min, display is suddenly turned off, CPU/GPU cooler is going at maximum speed and onl