Shipping costs: how to set the sequence for 'delivery name '?
HelloHow can I set the sequence "name of delivery." Right now, our requirement is to have an auto-numbering without interval.
Thank you
mangvoc
System automatically generates the name of delivery under the number can be changed manually. There is a public API WSHCSPBB.pls - WSH_CUSTOM_PUB package - with the Delivery_Name FUNCTION. This public API can be easily changed/adapted to obtain the desired Delivery_Name.
Tags: Oracle Applications
Similar Questions
-
How to set the clock for the hours, minutes, and seconds with Windows XP
How to set the clock for the hours, minutes, and seconds with Windows XP
I don't know of your question. If you ask how to show the clock in the tray system with hours, minutes and seconds, then download & run "Tclock Light". Windows will not natively display the seconds.
TClock Light: <> http://homepage1.nifty.com/kazubon/tclocklight/index.html >
HTH,
JW -
How to set the color for background ChoiceBox point to ChoiceBox with css?
How to set the color for background ChoiceBox point to ChoiceBox with css?
I need to change the backgound color list items.
I tried with the following code, but it's not help to:
{.context-menu .choice-box
-fx-background-color: Red;
}
.choice-box .menu-item {}
-fx-background-color: red;
}
In Java 8, either of your selectors should work.
In Java 7 (JavaFX 2.2), you need of the following workaround:
#choice-box-menu-item { -fx-background-color: red ; }
-
First of all, I'm not a rather advanced digital artist know the tools of basic (a bit) and I'm pretty good with those who, over the years, however, have a new Mac and better
visibility for sure and an ASSESSMENT of PSHP CS5 Extended version; what I'm asking is: how to set the pixels... to achieve the softer contour for example. I have
greeting card templates and is now working on a Christmas tree, with gold stars, they better look (vy-light = blk) but when I ZOOM IN I see the ' wavy lines
pixels, which appear on the 'place '. I would like to know how to set the pixels * 1 # and then with respect to colors, when I take a yellow (there are many! yellow!)
and use my Intuos "tap tap tap" pen drawings (yellow), it does NOT save... (he did it on my other computer and CS4 more aged). So going
back to my swatches of color, of... .remember just what yellow I took... ha ha... can be: "not so fast!"
I buy this subscription at the end of the trial and my bet is that the color picker / working on the purchased version when I "tap tap" to pick up the
same color II had chosen. Wouldn't it be good to have a monitor of sorts that says you, what color (s) is used when you need to know, to go
on the 'design' say after a break for tea, etc. ????? ( :
I save my drawings when facts JPEGs and see now, there's a JPEG 2000... I don't know what it is all about. I save pdf (1) and a jpeg. Hope that this sounds
like what we "do"... When we know much more than me.
And finally, what program or tool, can a use to put a 'framework' (border) around an eg: 5 x 7 design (again, my goal is for my greeting cards designs. Are there
another of Adobe products, I would have to do this. Free hand has not worked so well, so far.
I'm in advance, so grateful to you - anyone you may, for your help. I'm on my way 'Hooray' last now in the hope of success soon... I am a senior of 71
and so feel I have to really "go there" and learn these basics to ensure my chances of success, at least. Thank you, thank you & thank you! CDW
Please post in the Photoshop forum.
http://forums.Adobe.com/community/Photoshop
Bob
-
How to set the color for a particular column in the table in advance?
How can we set the color for a particular column in advance table based on a few feteched of vo in process request query parameter?Hello
Reference http://oraclearea51.com/blog/dynamically-color-the-rows-in-an-oa-framework-advanced-table.html
and prev thread. Can color us the lines in the column of a table
It will be useful.
Kind regards
GYAN -
How to set the password for HARD drive?
Hello
Could someone help me please by setting the password for TOSHIBA STOR. E ART 3 (1 TB 2.5 ") HARD DRIVE?
Hello
I n t have this external HARD disk, but Toshiba pre-installed some additional software on this subject for the creation of HARD drive password?
-
How to set the sequence in Simple TestStand IO file
Hi all
Whenever I run the Simple IO - Top Level.vi, it loads the last file in the sequence of race. How default to certain sequence?
Great appreciate for your help.
-Kenny
You can use the method of file sequence, open the application Manager (then you just need to connect the path to the file)
-
How to set the password for folders in Windows XP
Original title: I want to put the password on file. So how can I do? My operating system is windows xp professional
I want to set the password on file. So how can I do? My operating system is windows xp professionalHello
You can set the My Documents folder as "Private" in Windows XP, to so please check the link below.
http://support.Microsoft.com/kb/298399
To set password for files, it you will need a third party program, you can use your favorite search engine and download the third-party program.
Note:
Using third-party software, including hardware drivers can cause serious problems that may prevent your computer from starting properly. Microsoft cannot guarantee that problems resulting from the use of third-party software can be solved. Software using third party is at your own risk.
-
I am connected to ePremis (medical site) that allows me to print the selected medical forms. ePremis uses the default printer to print the selected form. The selected form should be printed on a preprinted form that I load into the tray of the printer.
The problem is that ePremis does not provide an option to set gutter margins and print aligns correctly with my pre-printed form. The print position is a little weak and must also be shifted a little to the left. I need to reduce the high binding margin to move the position of superior print on the page and the left binding margin must also be reduced to move the print a little position to the left so that the printed data will properly align with my pre-printed form.
Since ePremis does not offer an option to set the margins of the gutter, I need to be able to set the margins of the gutter through the printer driver, but there is also no option provided by the printer driver dialog box to set the margins of the gutter. :-(
Is it possible to set the printer LaserJet Pro 400 gutter margins? I see the margins left and right options in the driver dialog box printer, but they are grayed out and cannot be changed.
I have another printer, Kyocera laser printer, and I don't have this problem with the Kyocera because it offers the possibility to set gutter margins in the printer driver dialog. I wonder why the LaserJet Pro 400 does not provide this option?
I perhaps could solve this problem by sending PCL6 commands to the printer before printing? I'm a programmer and am open to this option if it would work.
Your help would be much appreciated. Thanks in advance!
Setting margins generally depends on demand - but (you say) that your application does not allow this.
Some printers provide functionality of saving images , whereby the position of the image of the page onto a physical sheet can be adjusted to the printer, usually on a basis of by-tray.
For example, with my Laserjet Pro MFP color 400 M475dn, the appropriate menu/menu item is described as follows:
Note:
- This setting applies to the bar up this that changed, so will have an impact on all the tasks using the specified status bar.
- Not all printers support these features - I have no idea if your LaserJet M401 exercises or not.
With regard to the '... sending the commands to the printer before printing... PCL6«» :
- PCL6 (PCL XL) rather more autonomous than PCL5is, so I'm pretty sure that nothing you can "send" to the device to influence the outcome of the following printing.
- Even with PCL5 print jobs, standard printer drivers are "overcome and-tail' with universal output language (UEL) escape sequences (which reset the device to the market environment (user - default)), which would be too mount sequences exhaust specific PCL5 previously sent to the device.
-
How to set the password for the screen saver?
When connecting, password is not necessary and I put it under 'control userpasswords2', but I'd like to set password within the screensaver 15 minutes idle.
Anyone have any suggestions on how to do it?
Thanks in advance for your suggestionsHello
You will need to set a password for the connection on your computer user account.
After that, you can set the screen saver and set the option on the resumption, the logon screen and specify 15 Minutes to time waiting .
Concerning
-
How to set the flag for the first 3 days
Hi all
I have a table with a complete list of April and may 2015 date month and his working days (just for example, I have included only in April and may 2015 data but the table has data for 20 years since 2000).
Below is the table create and insert scripts for complete data.
CREATE TABLE dates_dim(day DATE, business_day NUMBER, month NUMBER, day_of_week VARCHAR2 (100)); Insert into DATES_DIM Values (TO_DATE('05/01/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 1, '201505', 'FRIDAY'); Insert into DATES_DIM Values (TO_DATE('05/02/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 0, '201505', 'SATURDAY'); Insert into DATES_DIM Values (TO_DATE('05/03/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 0, '201505', 'SUNDAY'); Insert into DATES_DIM Values (TO_DATE('05/04/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 2, '201505', 'MONDAY'); Insert into DATES_DIM Values (TO_DATE('05/05/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 3, '201505', 'TUESDAY'); Insert into DATES_DIM Values (TO_DATE('05/06/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 4, '201505', 'WEDNESDAY'); Insert into DATES_DIM Values (TO_DATE('05/07/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 5, '201505', 'THURSDAY'); Insert into DATES_DIM Values (TO_DATE('05/08/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 6, '201505', 'FRIDAY'); Insert into DATES_DIM Values (TO_DATE('05/09/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 0, '201505', 'SATURDAY'); Insert into DATES_DIM Values (TO_DATE('05/10/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 0, '201505', 'SUNDAY'); Insert into DATES_DIM Values (TO_DATE('05/11/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 7, '201505', 'MONDAY'); Insert into DATES_DIM Values (TO_DATE('05/12/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 8, '201505', 'TUESDAY'); Insert into DATES_DIM Values (TO_DATE('05/13/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 9, '201505', 'WEDNESDAY'); Insert into DATES_DIM Values (TO_DATE('05/14/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 10, '201505', 'THURSDAY'); Insert into DATES_DIM Values (TO_DATE('05/15/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 11, '201505', 'FRIDAY'); Insert into DATES_DIM Values (TO_DATE('05/16/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 0, '201505', 'SATURDAY'); Insert into DATES_DIM Values (TO_DATE('05/17/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 0, '201505', 'SUNDAY'); Insert into DATES_DIM Values (TO_DATE('05/18/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 12, '201505', 'MONDAY'); Insert into DATES_DIM Values (TO_DATE('05/19/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 13, '201505', 'TUESDAY'); Insert into DATES_DIM Values (TO_DATE('05/20/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 14, '201505', 'WEDNESDAY'); Insert into DATES_DIM Values (TO_DATE('05/21/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 15, '201505', 'THURSDAY'); Insert into DATES_DIM Values (TO_DATE('05/22/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 16, '201505', 'FRIDAY'); Insert into DATES_DIM Values (TO_DATE('05/23/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 0, '201505', 'SATURDAY'); Insert into DATES_DIM Values (TO_DATE('05/24/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 0, '201505', 'SUNDAY'); Insert into DATES_DIM Values (TO_DATE('05/25/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 0, '201505', 'MONDAY'); Insert into DATES_DIM Values (TO_DATE('05/26/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 17, '201505', 'TUESDAY'); Insert into DATES_DIM Values (TO_DATE('05/27/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 18, '201505', 'WEDNESDAY'); Insert into DATES_DIM Values (TO_DATE('05/28/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 19, '201505', 'THURSDAY'); Insert into DATES_DIM Values (TO_DATE('05/29/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 20, '201505', 'FRIDAY'); Insert into DATES_DIM Values (TO_DATE('05/30/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 0, '201505', 'SATURDAY'); Insert into DATES_DIM Values (TO_DATE('05/31/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 0, '201505', 'SUNDAY'); Insert into DATES_DIM Values (TO_DATE('04/01/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 1, '201504', 'WEDNESDAY'); Insert into DATES_DIM Values (TO_DATE('04/02/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 2, '201504', 'THURSDAY '); Insert into DATES_DIM Values (TO_DATE('04/03/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 3, '201504', 'FRIDAY '); Insert into DATES_DIM Values (TO_DATE('04/04/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 0, '201504', 'SATURDAY '); Insert into DATES_DIM Values (TO_DATE('04/05/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 0, '201504', 'SUNDAY '); Insert into DATES_DIM Values (TO_DATE('04/06/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 4, '201504', 'MONDAY '); Insert into DATES_DIM Values (TO_DATE('04/07/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 5, '201504', 'TUESDAY '); Insert into DATES_DIM Values (TO_DATE('04/08/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 6, '201504', 'WEDNESDAY'); Insert into DATES_DIM Values (TO_DATE('04/09/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 7, '201504', 'THURSDAY '); Insert into DATES_DIM Values (TO_DATE('04/10/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 8, '201504', 'FRIDAY '); Insert into DATES_DIM Values (TO_DATE('04/11/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 0, '201504', 'SATURDAY '); Insert into DATES_DIM Values (TO_DATE('04/12/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 0, '201504', 'SUNDAY '); Insert into DATES_DIM Values (TO_DATE('04/13/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 9, '201504', 'MONDAY '); Insert into DATES_DIM Values (TO_DATE('04/14/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 10, '201504', 'TUESDAY '); Insert into DATES_DIM Values (TO_DATE('04/15/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 11, '201504', 'WEDNESDAY'); Insert into DATES_DIM Values (TO_DATE('04/16/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 12, '201504', 'THURSDAY '); Insert into DATES_DIM Values (TO_DATE('04/17/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 13, '201504', 'FRIDAY '); Insert into DATES_DIM Values (TO_DATE('04/18/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 0, '201504', 'SATURDAY '); Insert into DATES_DIM Values (TO_DATE('04/19/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 0, '201504', 'SUNDAY '); Insert into DATES_DIM Values (TO_DATE('04/20/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 14, '201504', 'MONDAY '); Insert into DATES_DIM Values (TO_DATE('04/21/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 15, '201504', 'TUESDAY '); Insert into DATES_DIM Values (TO_DATE('04/22/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 16, '201504', 'WEDNESDAY'); Insert into DATES_DIM Values (TO_DATE('04/23/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 17, '201504', 'THURSDAY '); Insert into DATES_DIM Values (TO_DATE('04/24/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 18, '201504', 'FRIDAY '); Insert into DATES_DIM Values (TO_DATE('04/25/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 0, '201504', 'SATURDAY '); Insert into DATES_DIM Values (TO_DATE('04/26/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 0, '201504', 'SUNDAY '); Insert into DATES_DIM Values (TO_DATE('04/27/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 19, '201504', 'MONDAY '); Insert into DATES_DIM Values (TO_DATE('04/28/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 20, '201504', 'TUESDAY '); Insert into DATES_DIM Values (TO_DATE('04/29/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 21, '201504', 'WEDNESDAY'); Insert into DATES_DIM Values (TO_DATE('04/30/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 22, '201504', 'THURSDAY '); COMMIT;
I'm looking for a select statement that defines the indicator 'Y' for April records months and "n" for records in may for the first 3 days of the request. Here's the difficult thing, the results should vary depending when they run the select query.
For example:
Scenario-1: If I run the SQL code may 1st, 2nd, 3rd, 4th, or 5th (with in the first 3 days), FLAG must be set on 'Y' for records in April and "n" for records in May.
Scenario 2: If I run anywhere between May6th 31, FLAG must be set to ' do for April month and 'Y' for records in May.
Search results for scenario 1 should look something like this the results of the SQL query below (as I can't keep the complete set of results, I wrote a select query which will give you the expected results if you run the DDL and DML scripts above)
select day,case when day between '01-APR-2015' and '30-APR-2015' then 'Y' else 'N' end flag from dates_dim;
Results for the scenario-2 should look something like this the results of the SQL query below (as I can't keep the complete set of results, I wrote a select query which will give you the expected results if you run the DDL and DML scripts above)
select day,case when day between '01-APR-2015' and '30-APR-2015' then 'N' else 'Y' end flag from dates_dim;
Please let me know if it is confusing. Thank you.
Hello
Thanks for posting the CREATE TABLE and INSERT statements; It's very helpfu.
Month article it should really be a DATE, not a NUMBER. This issue (and many others) would be simpler and more effective it was a DATE, rather than a NUMBER, since it must be compared with the DATEs.
As the month is a NUMBER, do not insert VARCHAR2 values, such as '201505', in it.
Why is-day_of_week 100 characters? The longest name in English ("WEDNESDAY") is 9 characters. Day_name fairer apply in trouble.
Here's a way to do what you asked:
DEFINE SYSDATE = "DATE" "2015-05-05.
DEFINE SYSDATE = "DATE" "2015-05-06.
WITH got_effective_month AS
(
SELECT TO_NUMBER (TO_CHAR (ADD_MONTHS (& SYSDATE
CASE
WHEN COUNT (*)<=>=>
THEN-1
0 OTHERWISE
END
)
, "YYYYMM.
)
) AS effective_month
OF dates_dim
Day WHERE BETWEEN TRUNC (& SYSDATE, 'MONTH')
AND & SYSDATE
AND business_day > 0
)
SELECT d.
CASE
WHEN month = e.effective_month
THEN 'Y '.
ANOTHER "N".
Flag of the END as the
OF dates_dim d
CROSS JOIN e got_effective_month
ORDER BY d.day
;
I used the proxy & SYSDATE to test. In Production, you will use the SYSDATE function instead.
A calendar table, like days_dim, is really a good idea. You may consider adding a column business_day_count cumulative, a NUMBER that increments of 1 every day business. To find out how many days passed since any day x (for example, the 1st of this month), you would only need extract the 2 rows in the table: line x and the line today.
-
How to set the passwd for mail server
Hi Experts,
I'm configuration related e-mail setting for wc ps6 console em, there is no entry for the password, so sending a test email will be always failed with the authentication error, how to fix?
Best regards
Hello
WCC does not support servers Auth based e-mail, but as a workaround, some you can set the address of the SMTP server of the University Complutense of MADRID (option config.cfg "MailServer = xxxxxx") to localhost and use sendmail from the server host (if Linux/UNIX) or SMTPServer (if Windows) abilities to interface with the SMTP server - the scale of the field located in the MX records.
I hope this helps.
Thank you
Srinath
-
HOW to: set the anchoredObjectSettings for. palce() object?
Hi, I am currently working on the interesting script for GREP placing, and I wonder how I can configure for object anchoredObjectSettings. palce()?
for(i=0; i < found.length; i++) { foundElem = new File (myFolder + "/" + found[i].contents); found[i].place(foundElem); // Placing Ancored Object // HERE IS WHERE I NEED SOME HELP: how to set "anchoredObjectSettings" for just placed Ancored Object //anchoredObjectSettings.anchoredPosition = AnchorPosition.ABOVE_LINE; //anchoredObjectSettings.horizontalAlignment = HorizontalAlignment.TEXT_ALIGN; }
Here you can download the example files - script, the InDesign file and images, which must be placed in the InDesign file with script
PS: I think that this script will be very useful, so if someone have any ideas/suggestions, and want to help with the continued development - that would be great!
Hello
Right, it was too fast...
This line returns an array of placed graphics - and we have set the property to its container in fact.
so make it
//....... mPlacedObj = found[i].place(foundElem)[0].parent; //.......
Jarek
-
How to set the dpi for photo printing in photoshop elements 4
How can I configure PPP to print photos using photoshop elements 4... Thank you. I don't want a resolution, but the asnd dpi if I can not then which version would be able to do...
For further reading:
http://www.Scantips.com/basics02.html
http://www.Scantips.com/basics2c.html
http://help.Adobe.com/en_US/Photoshop/CS/using/WSfd1234e1c4b69f30ea53e41001031ab64-7945a.h tml
You must also set the quality of the print with the printer driver to set the ouput dpi
-
How to set the offset for a textrange (after a TAB)?
Dear experts,
I want to take the part after the TAB in a paragraph, for example to
Something TAB rest of the paragraph with a few formatting characters.
I have no idea how to find the value of the offset.Conversion of TFP in text and then search TAB will provide a wrong value - of course or not?
It will be necessary to browse paragraph (moving the text range of the tank of tank) to find the point behind the TAB?
Can you enlighten me please?
var doc = app.ActiveDoc; var mainflow = doc.MainFlowInDoc; var tframe = mainflow.FirstTextFrameInFlow; var pgf = tframe.FirstPgf; GetPgfPartAfterTAB (pgf); function GetPgfPartAfterTAB (oPgf) { var oDoc = app.ActiveDoc; var tRange= new TextRange(); tRange.beg.obj = oPgf; tRange.beg.offset = 0; // Well, this must be calculated! tRange.end.obj = oPgf; tRange.end.offset = Constants.FV_OBJ_END_OFFSET; oDoc.TextSelection = tRange; oDoc.Copy (0); // for test }
Here is a version that wraps the code to find the text range within a function. There is also a function to apply a character format. In my code, I use 'focus '.
#target framemaker var doc = app.ActiveDoc; var pgf = doc.TextSelection.beg.obj; // Get the text range starting with the tab to the end of the paragraph. var tabRange = getTabRange (pgf, doc); if (tabRange) { // Apply the character format. applyCharFmt (tabRange, "Emphasis", doc); } function getTabRange (pgf, doc) { var textLoc, textRange, findParams, tabRange; // Make a text location at the beginning of the paragraph. textLoc = new TextLoc (pgf, 0); // Get the find parameters for finding a tab. findParams = getFindParams ("\x08"); // Search for the string. textRange = doc.Find (textLoc, findParams); // See if the tab was found. if (textRange.beg.obj.ObjectValid ()) { // Make sure the tab is in the correct paragraph. if (textRange.beg.obj.Unique === pgf.Unique) { // Select the text from the beginning of the tab // up to the end of the paragraph. tabRange = new TextRange (new TextLoc (pgf, textRange.beg.offset), new TextLoc (pgf, Constants.FV_OBJ_END_OFFSET - 1)); // Return the text range. return tabRange; } } // Not found; return 0 return 0; } function applyCharFmt (textRange, name, doc) { var charFmt = 0; charFmt = doc.GetNamedCharFmt (name); if (charFmt.ObjectValid()) { doc.SetTextProps (textRange, charFmt.GetProps()); } } function getFindParams (string) { var findParams = AllocatePropVals (1); findParams[0].propIdent.num = Constants.FS_FindText; findParams[0].propVal.valType = Constants.FT_String; findParams[0].propVal.sval = string; return findParams; }
Maybe you are looking for
-
When you copy and paste, drag and drop a link in your message, it will automatically replace the URL displayed by the title of the Page name... While it is more beautiful that the display of the URL... the real link is now hidden, and most don't hove
-
Slow down the automatic transition
Hello! I'm working on an introductory presentation with automatic switching between slides. I want to slow down the presentation (I tried to put a 15 seconds delay) but it keeps on changing every second... Can someone help me? (I must say that my spe
-
When I send a message from my computer to another user using iMessage, my email address is. How can I change my phone number to?
-
index of Digial waveform on digital lines
I have trouble stripping the lines separated a 9401 cdaq map DAQ-9172 chassis. I have attached the vi I use and can get the separate line to view a chart, but cannot strip each output. I want to step through each line a dac and use your unique on the
-
Hi all! I'm looking to customize my laptop so that it can play Blu - Ray movies. Is "Slot Load Blu - Ray Disc" the thing I'm looking for?