SCRIPT PC editor
in scripts :
when i wrie a stmt in editor,
eg:
/: IF <> OR <>
/: OR <> ( IF STMT EXTENDING TO NEXT LINE, WHAT IS COMMAND IS IT /: OR SPACE OR =)
HELP ME OUT PLS
Hi Rama,
YOu can continue writing your commands in the next line like this
/: IF A <> 0 0R B <> 0
/: OR C <> 0
/: OR D <> 0.
<b>Close the thread once the problem is resolved.</b>
Regards,
SP.
Similar Messages
-
Line numbers in Script Logic editor
Hi everybody,
when using the default Script Logic editor in BPC NW I can not see any Line Numbers (or Column Numbers) in the edited script.
When an error is detected by the system after validating the script, the error message sometimes refers to a certain Line Number where the error occured.
Is there a better way than manually counting the lines from the top (which can be quite a task when editing, say 500 lines) ?
Do I miss something here or are you all using alternative editors ?
Please give me some input.
Regards.
WolfgangHi Nilanjan,
thanks for the quick answer.
That would mean that I always need to switch from BPC frontend Script Editor into BW and start a transacion and program there. I would have hoped, that simole line numbers would be a standard feature in the BPC frontend editor itself. Nevertheless...
Best regards.
Wolfgang -
SCRIPT/TRIGGER editor not working correctly - red box - codearea.htc
Hello,
I have installed HTMLDB on my computer, and everything works fine, except when I try to edit or create a procedure, script, or trigger, instead of the blue box which allows edit happening it is instead a red box. This box cannot be edited. When trying to compile code already uploaded, a javascript error is produced: Length value is null.
Please help me. I think that I might have a problem with the type of editor( codearea.htc)You will need to setup the MIME types properly in your HTTP server configuration. Please take a look into the Oracle HTML DB Installation guide / chapter 4: Oracle HTML DB post-installation tasks.
Hope this helps,
Regards,
Marc -
Hi All there,
In SAP-Script when I am writing in commands in form editor it shows half part of the page and outside the editor it shows '>' which indicate there are line exist how to go o the end of lines.
Regards
SagarHi
Place your cursor in the line, Press Shift+F8.
Regards,
GP -
Error when attempting to download pl/sql script in Editor
Greetings,
I'm getting the following error:
ORA-06502: PL/SQL: numeric or value error: character string buffer too small
when clicking the download button located within the script editor. and ... while i've got your attention, why dont the cut and paste operations (right clicking the mouse) work within the edit window. I seem to have some MINIMAL luck using the ctrl-c/ctrl-v but only within that edit window. Attempting to paste outside into another application is useless. (I moved to the editor because I was just working within the SQL window inside HTMLDB, but I could not cut and paste out of it or save the SQL I was working with either for that matter). I like the editor, but mouse operation could be much more enhanced. Not a rant, but just some thoughts.
Thanks in Advance,
Cliff Moonbump
-
Can i delete standard Adobe's Script from editor?
Hello
I put a around 60 drop down fields in my_subform in my_form, well.
Now, the requirements got changed, hence i need to change all of them into a TEXT FIELDs, so instead of deleting all drop downs and placing again 60 new text fields, my idea is as below,
1) Just change the OBJECT TYPE from drop down to a text field in object tab by just selecting the text field entry
2) As TEXT FIELDs don't have any standard Adobe's inbuilt Scripts (either JS or FormCalc), i will delete all the drop down's associated stanadrd Adobe's JS (example, Pre-Open event JS) in the editor
Pls. let me know,
1 - is it OK? i mean, is it safe?
2 - any other poiints i need to consider while am doing my approach?
Thank youHello Moore,
We are a multi national private company, located in Washington DC, we are looking for a expert LC developer with excellent JS expertise, its 3 months project, pls. reply ASAP if you are available, interviews will be immediate (no remote work pls.)
Thank you -
Hi Folks,
I have an allignment problem w.r.t the text editor in a Script.
C5 ,,&printtab-wt_qsshh(IC)&
<b>/: IF &PRINTTAB-BUDAT(ICZ)& NE '..'
C5 ,, &printtab-BUDAT(ICZ)&
/: ELSE
C5
/: ENDIF
= ,,,,&printtab-wt_qbshh(IC)&,,&printtab-qsatz(IC)&</b>
The bold ones are getting printed in a new line.I want all the four to get printed in the same line but wt_qsshh is getting printed in one line and the rest all in a new line.I gave = and tried too but in vain.
K.Kiran.
Message was edited by:
Kiran KC5 ,,&printtab-wt_qsshh(IC)&,,
/: IF &PRINTTAB-BUDAT(ICZ)& NE &SPACE&
= &printtab-BUDAT(ICZ)&
/: ELSE
=
/: ENDIF
= ,,,,&printtab-wt_qbshh(IC)&,,&printtab-qsatz(IC)&
this got to work.
Message was edited by:
Florian Kemmer
Message was edited by:
Florian Kemmer -
In SAP script Graphical PC editor i wrote some code and by pressing enter after line end
new blank line is created. how to delete blank line from Griphical PC editor.Hi unidentified ERP_SAP__USER,
rumours have been spread that DEL or BACK button on keyboard may help, too.
Regards,
Clemens -
Hi Gurus,
i am getting problm with changee editor in sap script.
when i do some changes in scrip it not saving new changes .
can any one tel me how modifty text in change editor and how save text in change ediot.
Rameshhi
ur prob could be not refreshing the form - most time it wont be correctly saved refresh complete apps
else
go to editor and change it again
shiva -
Home SQL SQL Scripts SQL Editor [ScriptName] enter doesn't load script.
Hello. The above sequence always leaves the blinking cursor at the end of the Script Name and does not load the script into the empty script editor space displayed below. I'm new to Oracle and APEX. What am I doing wrong? Thanks!
You can execute using @ only
C:\mydir>dir
Volume in drive C has no label.
Volume Serial Number is E428-B6D9
Directory of C:\mydir
04/23/2012 09:26 PM <DIR> .
04/23/2012 09:26 PM <DIR> ..
04/23/2012 09:28 PM 117 a.sql
04/23/2012 09:27 PM <DIR> sub1
04/23/2012 09:27 PM <DIR> sub2
1 File(s) 117 bytes
4 Dir(s) 34,951,799,808 bytes free
C:\mydir>more a.sql
PROMPT Calling a.sql
SELECT 1 FROM DUAL
PROMPT Calling b.sql
@sub1/b.sql
PROMPT Calling c.sql
@sub2/c.sql
C:\mydir>cd sub1
C:\mydir\sub1>more b.sql
PROMPT Executing b.sql
SELECT 2 FROM DUAL
C:\mydir\sub1>cd ../sub2
C:\mydir\sub2>more c.sql
PROMPT Executing c.sql
SELECT 3 FROM DUAL
C:\mydir\sub2>cd ..
C:\mydir>sqlplus / as sysdba
SQL*Plus: Release 10.2.0.1.0 - Production on Mon Apr 23 21:30:30 2012
Copyright (c) 1982, 2005, Oracle. All rights reserved.
Connected to:
Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
With the Partitioning, OLAP and Data Mining options
SQL> @a.sql
Calling a.sql
1
1
Calling b.sql
Executing b.sql
2
2
Calling c.sql
Executing c.sql
3
3
SQL> -
Scripting Applescript Editor and saving files
I've created an Applescript that generates a smaller, simpler script. I've gotten everything to work, but when I tell Applescript Editor to save the file, it doesn't work. It doesn't error out, it acts like it finished properly, but nothing shows up in the location I told it to save. Here's the snippet that's giving me problems:
tell application "AppleScript Editor"
activate
make new document
set contents of document 1 to fnlScrpt
compile document 1
save document 1 in "Macintosh HD:" as "application"
close document 1 without saving
end tell
I'm going to define a more specific save location once I get it working, but for now it just saves to the top level. It needs to save as an application, and close the script without saving it. Any help is appreciated!Hi all, I'm a little late to this thread in an attempt to get some scripts working in Lion. Thanks for the help. I noticed the way you set your globals, and the way you're having variables get passed on to recompiled scripts.
I take a different approach, by writing my Applescript as text, in quotation marks, and then relying on fields getting filled in when the Applescript Editor is run, and the new script has the correct data. I make one text entry called "QT_multiliner" and fill in variables using quotation marks and ampersands.
THIS FIRST SCRIPT is used to take variables given to it by a database, and generate a custom applescript for any given record in the database.
set yyyymmdd to (((year of (current date)) * 10000) + ((month of (current date)) * 100) + (day of (current date))) as text
set mmdd to (text items 5 through 8 of (yyyymmdd)) as text
set qtPath to "/path/to/folder/" & mmdd & "/"
set RenderPrefix to "filename_of_choice"
set TGA_path to "/path/to/folder_with_files/" & mmdd & "/" & RenderPrefix & "/" as text
set appletPath to "/path/to/folder/applet_name_" & RenderPrefix & ".app"
set temp_doc to POSIX file appletPath
--write the applet in Script Editor. Variables will be filled in and compiled in Script Editor.
set QT_multiliner to "tell application \"Finder\"
set thePath to \"" & TGA_path & "\" as string
activate
make new Finder window
set target of Finder window 1 to (POSIX file thePath)
set theSequence to get first file of the front window as alias
close window 1
end tell
set sequenceName to \"" & RenderPrefix & ".mov\"
tell application id \"com.apple.quicktimeplayer\"
activate
open image sequence theSequence frames per second 23.98
set savePath to \"" & qtPath & "/\" & sequenceName
tell movie 1
with timeout of 2400 seconds
export to (POSIX file savePath) as QuickTime movie using settings alias \"path:to:settings:file\"
end timeout
close saving no
end tell
quit
end tell"
-- Write the script to its own applet
tell application id "com.apple.ScriptEditor2"
set x to make new document
set x to the front document
set the text of document 1 to QT_multiliner
compile document 1
save document 1 as "application" in (temp_doc)
quit
end tell
...now, when that is run, the following applescript is generated with all of the variables filled in.
--This applet was saved by the previous script, and is saved as /path/to/folder/applet_name_filename_of_choice.app
tell application "Finder"
set thePath to "/path/to/folder_with_files/0112/filename_of_choice/" as string
activate
make new Finder window
set target of Finder window 1 to (POSIX file thePath)
set theSequence to get first file of the front window as alias
close window 1
end tell
set sequenceName to "filename_of_choice.mov"
tell application id "com.apple.quicktimeplayer"
activate
open image sequence theSequence frames per second 23.98
set savePath to "/path/to/folder/0112//" & sequenceName
tell document 1
with timeout of 2400 seconds
export to (POSIX file savePath) as QuickTime movie using settings alias "path:to:settings:file"
end timeout
close saving no
end tell
quit
end tell
I really liked Camelot's "script / end script" function, it's better, but I just couldn't get it to pipe variables through from one script to another. Since I need to run this script on any one of dozens of computers, I need the variables to be compiled and saved within each applet.
all the best,
Vic -
Error ! sap script pc editor
Hello friends ,
I am changing a form but when i try to open in graphical pc editor . It is not able to do so and takes me to the normal editor .
My IF ...condition is really long . I have written the command as
/: IF a = b or c = d
/ or e = f ....
/ or g = h .
The second line after the command line is not getting excecuted as a command but getting printed on the form as is .
Please advise on this . What should be the next line after the command line if it is the continuation of the IF ....
ThanksHello Hari,
Press Shift+F8 the editor line will be exetended. there u can continue with the if condition.
To return back press the same key.
Hope this will solve ur problem.
Dön't forget to reward points,
Regards,
Vasanth -
Script editor doesn't work (Ubuntu, firefox)
Hi all.
I have installed Oracle Express Edition and locally logged into the control interface. When I try to display an uploaded script, the editor shows an empty field, in which I can't write or see anything. The same happens when I try to create a new script.
Any ideas?
Cheers.Hi,
XE Apex version is 2.1, and that is quite old.
It might not support all latest browsers.
See this posts for possible solution
Re: Apex - unable to edit rows with CLOB fields
Regards,
Jari -
Scripting Illustrator actions, incorporating calls to Excel
Hello all, I need some help...
I am building a series of logos — based on word strings — using Illustrator CS4 with a combination of Actions, but also retrieving the word string from an Excel file.
Normally for one or two iterations of the process, I would not hassle with a script, but this is a mind-numbing repetitive task, and I have to make 6,000 logos!! Seems the ideal use for a script.
We have tried to work with ExtendScript Toolkit (ESTK) but we can't get our heads around how to make it do certain things, and I can't find anyone who really knows how to use ESTK correctly.
I have a MAC, so the script has to be written in Java Script or Apple Script.
Here's what I need to do:
Execute Action: Open a Master Illustrator doc. This doc is already configured with art board, pre-defined type box (Area Type Optioned), Charater Styles, Drop Shadow parameters set. <pause Action>
Run Script: Retrieve the word string from a cell in Excel worksheet (or CSV??). Some are single words, first letter capped. Some are two to four words Camel Cased. Example: "DinnerPartiestm". There are two additional charaters "tm" at the end of the word string that will be acted upon (remember these two characters for item 7 below)
Run Script: Place this WordString into the predefined type box in the Illustrator Master doc. That is, in Illustrator, "select" the type box so the cursor is at first position and place the word string — copy from Excel & paste into Illustrator? <pause Script>
Execute Action: Apply character style 1— font with point size, letter spacing, stroke and colour (It just happens to be red). Example: DinnerPartiestm <pause Action>
Run Script: Select all caps in word string. Example: DinnerPartiestm <pause Script>
Execute Action: Apply character style 2 — Caps Only (selected) — New point size, baseline offset. Example: DinnerPartiestm <pause Action>
Run Script: Select last two letters of word string. Example: DinnerPartiestm <pause Script>
Execute Action: Apply character style 3 — last two letters only (selected) — New point size, change colour, baseline offset. Example: DinnerPartiestm <pause Action>
Run Script: Select text box. <pause Script>
Execute Action: Apply Stylize > Drop Shadow — On contents of text box, preset DS parameters in either Appearence panel or Effect menu.
Execute Action: File > Save As .ai document. <at Save As dialog, pause action>
Run Script: Retrieve file name from Excel and place in Save As dialog (copy & paste?). In next column in Excel doc, same row, is a SEO-friendly file name. Example: word string is "DinnerParties"; file name (next column) is "logo-dinner-parties"
Run Script: Select folder to save the .ai doc into. Example: Folder is "Logos AI". <pause Script>
Execute Action: Complete Save As. Example: in Folder "Logos AI" now we have the file "logo-dinner-parties.ai"
Execute Action [assumes that the Saved As document — logo-dinner-parties.ai — is now the active one in Illustrator]: Save for Web & Devices. Preset to PNG24/Transparent. Correct file name will NOT be in Save field. <at Save dialog, pause action>
Run Script: Repeat retrieval process to get same file name from Excel.
Run Script: Select new folder to save the .png doc into. Example: Folder is "Logos PNG". <pause Script>
Execute Action: Complete Save for Web. Example: in Folder "Logos PNG" now we have the file "logo-dinner-parties.png"
Execute Action: Close
Repeat steps 1 though 19 until all word strings processed: Script has to know to go to next word string (next row) in Excel doc.
This is a tricky one, but there's got to be a way to automate the process... otherwise I'll go crazy doing this manually!!
IS THERE ANYBODY OUT THERE WHO CAN HELP?
Thanking you in advance for any assistance.
All the best.IS THERE ANYBODY OUT THERE WHO CAN HELP?
Depends on what you mean by "help." Are you asking someone to do the whole thing for you (would require more detail), or do you intend to do it yourself, but are stuck on something? (You say you "tried to work with ESTK" and "can't find anyone who really knows how to use ESTK correctly"; but you don't say specifically what you're struggling with in ESTK.)
...doc is already configured with art board, pre-defined type box (Area Type Optioned), Charater Styles, Drop Shadow parameters set.
Much of what can be done with any approach depends largely upon what Appearances and/or Effects are involved, and where. You imply that you want all of the "logo" to be contained in a single textFrame object. But Drop Shadow Effect cannot be applied at the character level, so it can't be included in a Character Style.
So if you don't want all the text to have the same drop shadow, you will be involving multiple textFrame objects. That will lead to the complication of having to position the two textFrames relative to each other, depending on their dimensions after the varying text is inserted.
Retrieve the word string from a cell in Excel worksheet (or CSV??)
With scripting, it would be inefficient and unnecssary to go back-and-forth to the spreadsheet to extract values one at a time. Typically, you would create an array containing the full set of values, and then iterate through the elements of the array.
Some are single words, first letter capped. Some are two to four words Camel Cased. Example: "DinnerPartiestm".
So you're going to need a sub-routine of some kind (in Javascript, a function) to find capital letters.
There are two additional charaters "tm" at the end of the word string that will be acted upon...
If this is the same in each instance, and if you are going to script this, there is no need to include it in the data. Insert the "tm" programmatically.
That is, in Illustrator, "select" the type box so the cursor is at first position and place the word string — copy from Excel & paste into Illustrator?
Using script, you don't have to select the textFrame, copy, or paste in order to insert content. You would declare a variable, assign its value (from the above-mentioned array), add the variable's value as text to textFrame's content.
Apply character style 1— font with point size, letter spacing, stroke and colour (It just happens to be red). Example: DinnerPartiestm
Here you will run into a difficulty inherent in Illustrator's poor implementation of stroked text. You can apply a Stroke at the Character level and include that Appearance in a Character Style. But Illustrator always positions such strokes in front of the fill--something you almost never want, because it "chokes" the fills, wrecking the shape of the characters. The workaround is to Add New Stroke and position that below the Characters listing in the Appearance Palette. But script provides no access to added strokes or fills and Added Strokes cannot be applied at the character level.
Select all caps in word string. Example: DinnerPartiestm
Illustrator cannot select discontiguous text strings. Again, script does not have to select objects in order to change their properties.
Apply character style 2 — Caps Only (selected) — New point size, baseline offset. Example: DinnerPartiestm
Apply character style 3 — last two letters only (selected) — New point size, change colour, baseline offset. Example: DinnerPartiestm
The applyTo method of the CharacterStyle object. Or, just set the size and baselineShift properties of the characterAttributes property of the textRange directly.
Apply Stylize > Drop Shadow — On contents of text box
Drop Shadow Effect cannot be applied to the contents (character level) of a textFrame--only to the textFrame object itself.
My very limited understanding of ESTK is that it is a scripting tool for use in Illustrator.
It's a script text editor included with the Creative Suite. You can use it to build scripts for any of the CS products (or entirely other purposes, for that matter). Or, you can choose to not use it at all. A Javascript is just a text file. Tools like ESTK add conveniences, references, etc., geared toward scripting.
So, I'm only acting on the word string....
But I am also not a coder...
Which is why I would look into simpler already-built methods before jumping into a tedious solution scripted for Illustrator. For example: Many, if not most, AI users are familiar with InDesign. InDesign provides a proper dataMerge feature that can handle ordinary tab-delimited text. It's handling of strokes on text is correct, unlike Illustrator. If you set it up accordingly, it can create all the separate pages for you.
You would:
1. Draw the fixed graphic in Illustrator.
2. Place the Illustrator graphic on InD's master page.
3. Set and style the text objects. Insert DataMerge tags.
4. Import the data and run the Merge function.
InD builds individual pages for each row of the data. You're done. Export to PDF. InD and Acrobat also have their own scripting models. Either one can handle the specific naming convention, if really needed.
Again, it depends on what exactly is "special" about the text object(s) you are manipulating with variable content. For example, if you're using an AI-specific Warp effect, you'd be back to Illustrator.
Anyway, you want a paying gig?
I do some freelance work as time permits and interest strikes, but I'm not cheap, and that's not why I frequent these forums.
Scripting your solution entirely in AI may very well be possible, but whoever does it will need to see the specific objects, styles, etc., involved to avoid unnecessary guessing and time-consuming round-tripping. Why don't you post an image and/or an AI file?
JET -
How can i move the position of the element in Script From ?
Dear Guru ,
I am developing one SCRIPT FORM for the purchase order in ECC6 system .
And i found it is very diffult to move the element position because i am adding the space in the editor for the position moving ...
Please see my stupid code :
/E ITEM_HEADER_F
UL &ULINE(105)&
IL Item Material Description Unit Qty
Price Per Net Value Delivery Date
UL &ULINE(105)&
IL &EKPO-EBELP& &EKPO-MATNR& &EKPO-TXZ01&
&EKPO-MEINS& &EKPO-MENGE& &EKPO-NETPR&
&*T006A-MSEHT& &EKPO-NETWR& &EKET-EEIND&
I thought there must have another good idea to control the posiion of the element in script form editor .
Has someone knew that ?
Thanks a lot .
Best Regards,
CarlosHi Carlos,
Tabs :
You can define as many tab positions as you require for each paragraph format. The text can be aligned in different ways:
u2022 Left-aligned with LEFT
u2022 Right-aligned with RIGHT
u2022 Centered with CENTER
u2022 At the sign with SIGN
u2022 At the comma or decimal point with DECIMAL
You can control the tab feed in a paragraph with tab positions. The tab stops you define in the paragraph format replace the tab spacing you defined in the header data of the form.
The tab stops are represented as, , in the text editor.
Eg:
/E ITEM_HEADER
IL <TI>Item,,Material,,Description</>
IP <TI>,,,,Quantity,,,,Price,,Price unit,,,,,,Value</>
/ &ULINE(71)&
/E ITEM_LINE
IL &VBDPA-POSNR&,,&VBDPA-MATNR&,,&VBDPA-ARKTX&
,,&VBDPA-IDNKD& &VBDPA-POSEX&
Regards,
Chandra Kavali
Maybe you are looking for
-
How much does it cost to fix the iPad cracked screen
MY iPad screen broke. How much does it cost to fix it?
-
Parse Lock clarification.
Folks - I read the following in a website: Oracle Breakable Parse Locks A SQL statement (or PL/SQLprogram unit) in the shared pool holds a parse lock for each object referenced. Parse locks are gotten so that the associated shared SQL area can be inv
-
How do I get my security questions answers
I forgot my security questions
-
E-Commerce 5 - changes not visible after Check In
Hello all, I have made some changes to a few .jsp files on the SHRWEB development components. To do so we did the following procedure . Our Basis created a track and I imported it to the Netweaver. I created a project for the inactive version of the
-
Windows 7 backup error 0x81000037
Try to do backup on Windows 7 machine to network share on SBS2008. Was working fine. Now, recieve this error emssage "The backup was not successful. The error is: Windows Backup failed while trying to read from the shadow copy on one of the volumes b