How to fix objects below repeating frame?
hello all! I wonder how to fix the last elements such as signature area of a sale order report to the bottom of the last page?
i find the area always appear closely after the detail lines...i don't want this
Thanks for any help!
hi philipp!Thanks for your reply.
I am meaning that a have some text objects lower than a repeating frame which height is variable and i want to have the distance between the text objects and the bottom of the page to be fixed,instead of varying according to the height of the repeating frame.The text objects and the repeating frame are in a same container frame so i can't set the vertical elasticity of the frame to fixed.
Any idea?
Similar Messages
-
How to merge borders of repeating frame and frame objects?
Hi All,
I have a repeating frame inside a frame.
Can someone tell me how to merge borders of repeating frame and frame objects?
I have searched this forum and spent lot of time. But I think I am missing simple thing.
THanks,
SathishI think 'Flex' mode is on. Change to Off. Flex mode icon is on the paper layout editor. For more, search report help for
Changing the current mode -
A bug or feature - fail to control objects under repeating frame
Oracle Reports Help said:
"Objects below an object with Page Break Before set to Yes may not move to the next page. If an object is set to print on a page but is moved to the next page because of Page Break Before, other objects may be placed in the space where the object was originally set to print, if there is sufficient room."
My objects of b_label and b_field, which are designed to be UNDER the repeating frame R_G_xxxxxxxx, are randomly displayed either UNDER or INSIDE the repeating frame.
My repeating frame has properties:
R_G_xxxxxxxx
page break before No
page break after No
page protect Yes
I was advised that "It can be a trial-and-error to get this to work properly.
What often works is to put the repeating frame and b_label and b_field inside one group frame.
Or put a group frame (whole page width) around b_label and b_field."
I have tried very hard only to fail to get the expected results.
Anybody has any suggestion?
Just curious - I am using Reports Builder 10.1.2.0.2 and we are going to 11G. Reports Builder 11G will fix this bug or so-called "feature"?
Millions of thank for any help!!!
mzYou might try something like this:
1. Put b_label and b_field inside a page width-sized frame as suggested. This will force both b_label and b_field to be "pushed down" (or "pulled up") by the same amount as the content above expands (or shrinks).
2. Set the "Base Printing On" property of the new frame to "Anchoring Object". This assumes that the frame is implicitly (or explicitly) "anchored" to the repeating frame above.
3. Set the "Print Object On" property of the new frame to "Last Page". Together with 2, this should make the new frame print after the repeating frame.
Hope this helps. -
How can i collapse a Repeating frame
Hi friends,
My Problem is like this,
I have 3 repeating frames,
In Repeating frame one i have R.F two,
In Repeating frame two i have R.F three,
If i didnt find any data in Repeating frame
two and three i want to collapse all repeating frames,
How can i do this?
Please try to help me,
Thanks,
Have a great day,
srini
Note: In the data model
A single query on one table, with three groups of columns
nullSet the vertical elasticity to variable.
-
How to fix for maximizing minimizing frames when screen resolution changes
Hi, all
I guess this must be an old question, but please help me.
ThanksTo occupy maximum space for JFrame
Toolkit toolkit = Toolkit.getDefaultToolkit();
frame.setSize(toolkit.getScreenSize().width, toolkit.getScreenSize().height);(or)
frame.setExtendedState(JFrame.MAXIMIZED_BOTH); -
Power Efficiency Diagnostics Report - How to fix the below mentioned issues?
Power Efficiency Diagnostics Report
Computer Name
SONY-VAIO
Scan Time
2014-04-12T15:29:55Z
Scan Duration
60 seconds
System Manufacturer
Sony Corporation
System Product Name
VPCEH25EN
BIOS Date
04/19/2012
BIOS Version
R0200Z9
OS Build
7601
Platform Role
PlatformRoleMobile
Plugged In
false
Process Count
134
Thread Count
1477
Report GUID
{bd655715-c758-4329-9f37-029a6c41aa27}
Analysis Results
Errors
USB Suspend:USB Device not Entering Suspend
The USB device did not enter the Suspend state. Processor power management may be prevented if a USB device does not enter the Suspend state when not in use.
Device Name
USB Composite Device
Host Controller ID
PCI\VEN_8086&DEV_1C26
Host Controller Location
PCI bus 0, device 29, function 0
Device ID
USB\VID_12D1&PID_14DB
Port Path
1,1
USB Suspend:USB Device not Entering Suspend
The USB device did not enter the Suspend state. Processor power management may be prevented if a USB device does not enter the Suspend state when not in use.
Device Name
USB Mass Storage Device
Host Controller ID
PCI\VEN_8086&DEV_1C26
Host Controller Location
PCI bus 0, device 29, function 0
Device ID
USB\VID_0BB4&PID_0001
Port Path
1,3
USB Suspend:USB Device not Entering Suspend
The USB device did not enter the Suspend state. Processor power management may be prevented if a USB device does not enter the Suspend state when not in use.
Device Name
USB Root Hub
Host Controller ID
PCI\VEN_8086&DEV_1C26
Host Controller Location
PCI bus 0, device 29, function 0
Device ID
USB\VID_8086&PID_1C26
Port Path
USB Suspend:USB Device not Entering Suspend
The USB device did not enter the Suspend state. Processor power management may be prevented if a USB device does not enter the Suspend state when not in use.
Device Name
Generic USB Hub
Host Controller ID
PCI\VEN_8086&DEV_1C26
Host Controller Location
PCI bus 0, device 29, function 0
Device ID
USB\VID_8087&PID_0024
Port Path
1
CPU Utilization:Processor utilization is high
The average processor utilization during the trace was high. The system will consume less power when the average processor utilization is very low. Review processor utilization for individual processes to determine which applications and services contribute
the most to total processor utilization.
Average Utilization (%)
10.44
Platform Power Management Capabilities:PCI Express Active-State Power Management (ASPM) Disabled
PCI Express Active-State Power Management (ASPM) has been disabled due to a known incompatibility with the hardware in this computer.
Warnings
Platform Timer Resolution:Platform Timer Resolution
The default platform timer resolution is 15.6ms (15625000ns) and should be used whenever the system is idle. If the timer resolution is increased, processor power management technologies may not be effective. The timer resolution may be increased due to
multimedia playback or graphical animations.
Current Timer Resolution (100ns units)
10000
Maximum Timer Period (100ns units)
156001
Platform Timer Resolution:Outstanding Timer Request
A program or service has requested a timer resolution smaller than the platform maximum timer resolution.
Requested Period
10000
Requesting Process ID
2768
Requesting Process Path
\Device\HarddiskVolume3\Users\sony\AppData\Local\Google\Chrome\Application\chrome.exe
Platform Timer Resolution:Outstanding Timer Request
A program or service has requested a timer resolution smaller than the platform maximum timer resolution.
Requested Period
10000
Requesting Process ID
7268
Requesting Process Path
\Device\HarddiskVolume3\Users\sony\AppData\Local\Google\Chrome\Application\chrome.exe
Power Policy:802.11 Radio Power Policy is Maximum Performance (Plugged In)
The current power policy for 802.11-compatible wireless network adapters is not configured to use low-power modes.
CPU Utilization:Individual process with significant processor utilization.
This process is responsible for a significant portion of the total processor utilization recorded during the trace.
Process Name
SRService.exe
PID
2632
Average Utilization (%)
1.61
Module
Average Module Utilization (%)
\SystemRoot\system32\ntoskrnl.exe
1.34
\Device\HarddiskVolume3\Windows\SysWOW64\kernel32.dll
0.04
\Device\HarddiskVolume3\Windows\System32\wow64.dll
0.04
CPU Utilization:Individual process with significant processor utilization.
This process is responsible for a significant portion of the total processor utilization recorded during the trace.
Process Name
chrome.exe
PID
1728
Average Utilization (%)
1.40
Module
Average Module Utilization (%)
\Device\HarddiskVolume3\Users\sony\AppData\Local\Google\Chrome\Application\34.0.1847.116\chrome_child.dll
1.21
\SystemRoot\system32\ntoskrnl.exe
0.10
\Device\HarddiskVolume3\Windows\SysWOW64\ntdll.dll
0.01
CPU Utilization:Individual process with significant processor utilization.
This process is responsible for a significant portion of the total processor utilization recorded during the trace.
Process Name
chrome.exe
PID
5264
Average Utilization (%)
0.87
Module
Average Module Utilization (%)
\Device\HarddiskVolume3\Users\sony\AppData\Local\Google\Chrome\Application\34.0.1847.116\chrome.dll
0.33
\SystemRoot\system32\ntoskrnl.exe
0.27
\Device\HarddiskVolume3\Windows\SysWOW64\ntdll.dll
0.04
CPU Utilization:Individual process with significant processor utilization.
This process is responsible for a significant portion of the total processor utilization recorded during the trace.
Process Name
chrome.exe
PID
7268
Average Utilization (%)
0.59
Module
Average Module Utilization (%)
\Device\HarddiskVolume3\Windows\SysWOW64\nvd3dum.dll
0.15
\Device\HarddiskVolume3\Users\sony\AppData\Local\Google\Chrome\Application\34.0.1847.116\libglesv2.dll
0.08
\SystemRoot\system32\ntoskrnl.exe
0.07
CPU Utilization:Individual process with significant processor utilization.
This process is responsible for a significant portion of the total processor utilization recorded during the trace.
Process Name
System
PID
4
Average Utilization (%)
0.55
Module
Average Module Utilization (%)
\SystemRoot\system32\ntoskrnl.exe
0.36
\SystemRoot\System32\drivers\dxgmms1.sys
0.06
\SystemRoot\system32\DRIVERS\nvlddmkm.sys
0.02
CPU Utilization:Individual process with significant processor utilization.
This process is responsible for a significant portion of the total processor utilization recorded during the trace.
Process Name
svchost.exe
PID
860
Average Utilization (%)
0.44
Module
Average Module Utilization (%)
\SystemRoot\system32\ntoskrnl.exe
0.28
\Device\HarddiskVolume3\Windows\System32\rpcrt4.dll
0.04
\Device\HarddiskVolume3\Windows\System32\ntdll.dll
0.03
CPU Utilization:Individual process with significant processor utilization.
This process is responsible for a significant portion of the total processor utilization recorded during the trace.
Process Name
AvastSvc.exe
PID
1316
Average Utilization (%)
0.38
Module
Average Module Utilization (%)
\SystemRoot\system32\ntoskrnl.exe
0.13
\Device\HarddiskVolume3\Program Files\Alwil Software\Avast5\defs\14041100\algo.dll
0.05
\Device\HarddiskVolume3\Windows\winsxs\x86_avast.vc110.crt_2036b14a11e83e4a_11.0.60610.1_none_1d37a43bbfe1dc9c\msvcr110.dll
0.03
CPU Utilization:Individual process with significant processor utilization.
This process is responsible for a significant portion of the total processor utilization recorded during the trace.
Process Name
chrome.exe
PID
6232
Average Utilization (%)
0.29
Module
Average Module Utilization (%)
\Device\HarddiskVolume3\Users\sony\AppData\Local\Google\Chrome\Application\34.0.1847.116\chrome_child.dll
0.21
0.04
\SystemRoot\system32\ntoskrnl.exe
0.01
CPU Utilization:Individual process with significant processor utilization.
This process is responsible for a significant portion of the total processor utilization recorded during the trace.
Process Name
Apoint.exe
PID
4420
Average Utilization (%)
0.28
Module
Average Module Utilization (%)
\SystemRoot\system32\ntoskrnl.exe
0.14
\SystemRoot\System32\win32k.sys
0.06
\SystemRoot\system32\drivers\fltmgr.sys
0.02
CPU Utilization:Individual process with significant processor utilization.
This process is responsible for a significant portion of the total processor utilization recorded during the trace.
Process Name
explorer.exe
PID
4056
Average Utilization (%)
0.21
Module
Average Module Utilization (%)
\SystemRoot\System32\win32k.sys
0.09
\SystemRoot\system32\ntoskrnl.exe
0.07
\Device\HarddiskVolume3\Windows\winsxs\amd64_microsoft.windows.common-controls_6595b64144ccf1df_6.0.7601.17514_none_fa396087175ac9ac\comctl32.dll
0.00
Information
Platform Timer Resolution:Timer Request Stack
The stack of modules responsible for the lowest platform timer setting in this process.
Requested Period
10000
Requesting Process ID
2768
Requesting Process Path
\Device\HarddiskVolume3\Users\sony\AppData\Local\Google\Chrome\Application\chrome.exe
Calling Module Stack
\Device\HarddiskVolume3\Windows\SysWOW64\ntdll.dll
\Device\HarddiskVolume3\Windows\SysWOW64\winmm.dll
\Device\HarddiskVolume3\Users\sony\AppData\Local\Google\Chrome\Application\34.0.1847.116\chrome_child.dll
\Device\HarddiskVolume3\Windows\SysWOW64\kernel32.dll
\Device\HarddiskVolume3\Windows\SysWOW64\ntdll.dll
Platform Timer Resolution:Timer Request Stack
The stack of modules responsible for the lowest platform timer setting in this process.
Requested Period
10000
Requesting Process ID
7268
Requesting Process Path
\Device\HarddiskVolume3\Users\sony\AppData\Local\Google\Chrome\Application\chrome.exe
Calling Module Stack
\Device\HarddiskVolume3\Windows\SysWOW64\ntdll.dll
\Device\HarddiskVolume3\Windows\SysWOW64\winmm.dll
\Device\HarddiskVolume3\Windows\SysWOW64\d3d9.dll
\Device\HarddiskVolume3\Users\sony\AppData\Local\Google\Chrome\Application\34.0.1847.116\libglesv2.dll
\Device\HarddiskVolume3\Users\sony\AppData\Local\Google\Chrome\Application\34.0.1847.116\libegl.dll
\Device\HarddiskVolume3\Users\sony\AppData\Local\Google\Chrome\Application\34.0.1847.116\chrome_child.dll
Power Policy:Active Power Plan
The current power plan in use
Plan Name
OEM Balanced
Plan GUID
{381b4222-f694-41f0-9685-ff5bb260df2e}
Power Policy:Power Plan Personality (On Battery)
The personality of the current power plan when the system is on battery power.
Personality
Balanced
Power Policy:Video Quality (On Battery)
Enables Windows Media Player to optimize for quality or power savings when playing video.
Quality Mode
Balance Video Quality and Power Savings
Power Policy:Power Plan Personality (Plugged In)
The personality of the current power plan when the system is plugged in.
Personality
Balanced
Power Policy:Video quality (Plugged In)
Enables Windows Media Player to optimize for quality or power savings when playing video.
Quality Mode
Optimize for Video Quality
System Availability Requests:Analysis Success
Analysis was successful. No energy efficiency problems were found. No information was returned.
Battery:Battery Information
Battery ID
5950SONY Corp. VGP-BPS26
Manufacturer
SONY Corp.
Serial Number
5950
Chemistry
LION
Long Term
1
Design Capacity
45040
Last Full Charge
34940
Platform Power Management Capabilities:Supported Sleep States
Sleep states allow the computer to enter low-power modes after a period of inactivity. The S3 sleep state is the default sleep state for Windows platforms. The S3 sleep state consumes only enough power to preserve memory contents and allow the computer
to resume working quickly. Very few platforms support the S1 or S2 Sleep states.
S1 Sleep Supported
false
S2 Sleep Supported
false
S3 Sleep Supported
true
S4 Sleep Supported
true
Platform Power Management Capabilities:Adaptive Display Brightness is supported.
This computer enables Windows to automatically control the brightness of the integrated display.
Platform Power Management Capabilities:Processor Power Management Capabilities
Effective processor power management enables the computer to automatically balance performance and energy consumption.
Group
0
Index
0
Idle (C) State Count
3
Performance (P) State Count
14
Throttle (T) State Count
8
Platform Power Management Capabilities:Processor Power Management Capabilities
Effective processor power management enables the computer to automatically balance performance and energy consumption.
Group
0
Index
1
Idle (C) State Count
3
Performance (P) State Count
14
Throttle (T) State Count
8
Platform Power Management Capabilities:Processor Power Management Capabilities
Effective processor power management enables the computer to automatically balance performance and energy consumption.
Group
0
Index
2
Idle (C) State Count
3
Performance (P) State Count
14
Throttle (T) State Count
8
Platform Power Management Capabilities:Processor Power Management Capabilities
Effective processor power management enables the computer to automatically balance performance and energy consumption.
Group
0
Index
3
Idle (C) State Count
3
Performance (P) State Count
14
Throttle (T) State Count
8Hi,
What is the symptom of the issue you encountered? The report shows there's a "known incompatibility with the hardware" and all "USB Suspend:USB Device not Entering Suspend" errors are caused by the prevention of Power Management (which is disabled due to
hardware issue) so have you made any hardware change rencently?
You can also manually check the Power Management setting, control panel\power options\chang plan settings\change advanced power settings, scroll down to PCI Express (check if you can set it to "Moderate Power Savings") and Process Power Management(should be
active).
Yolanda Zhu
TechNet Community Support -
Repeating Frame over multiple pages
How can i streach a repeating frame over more pages without
getting: REP-1212 Object 'Body' is not fully enclosed by its
enclosing object ''In the object Navigator go to the Section in which this Repeating Frame exists (For example, "Main Section"). Double click to invoke it's property inspector. Increase the "Horizontal Panels per page" or "Vertical Panels per Page" as per your need. By default both will be 1.
Thanks,
-Siva B -
HD Graphics from After Effects Repeat Frames in FCP6 - Why & How Fix?
The details first:
Easy Set-up set to Kona 3 1080psf 23.98 10 bit Uncompr.
The AE HD Graphic is 23.98 1920x1080 Animation Codec
What Happens:
In the Finder Window the QT from AE plays perfectly
In Quicktime Pro this QT from AE plays perfectly
Once imported into FCP6, (both in the Viewer and after rendering in a sequence with the above settings) will repeat frames in this fashion - 3:2:3:2:2:3:2:2:3:2 in which the 2nd frame is repeated as the 3rd, etc etc.
This results in a "stuttering" playback which has been brought up several times on this forum but not answered yet. I have had other editors using FCP6 report this problem with no fix except to use an Image Sequence out of AE (a work-around but not a satisfactory one)
Also, I have brought in previous HD Graphics QTs from AE (BTW these are all full-frame animations w/ no alpha channel) that worked perfectly in FCP5 and they now show the same problem in FCP6.
Has anyone found a way to fix this? Is there some sort of bizarre pull-down action going on? Is there a way to customize an import into FCP6 of an AE QT? (All I got is File<Import<Clip) Or perhaps is there an export setting in AE that needs to be tweaked? My Graphics Department and I are going nuts here - any help would be greatly appreciated!
Much loveTo all who were interested and those who feared to reply because of ignorance - HERE IS THE FIX!!
Export out of After Effects at 23.976... NOT 23.98 and it will be as smooth as a baby's bottom (and you know how much your clients love baby bottoms!)
Thanks to Jeremy at Creative Cow -
How to control the position of b_text - to be under repeating frame
Hi. Any Guru:
I have a designed paper report layout:
repeating frame (vertical elasticity is variable)
b_label f_field
b_text
after report .rdf runs, b_label is not always under repeating frame. I tried anchor and frame and properties but could not solve the problem.
Thank you for any suggestion!
mz
Edited by: mz on Aug 26, 2011 10:06 AMOracle Reports Help said:
"Objects below an object with Page Break Before set to Yes may not move to the next page. If an object is set to print on a page but is moved to the next page because of Page Break Before, other objects may be placed in the space where the object was originally set to print, if there is sufficient room."
My objects of b_label and b_field, which are designed to be UNDER the repeating frame R_G_xxxxxxxx, are randomly displayed either UNDER or INSIDE the repeating frame.
My repeating frame has properties:
R_G_xxxxxxxx
page break before No
page break after No
page protect Yes
I was advised that "It can be a trial-and-error to get this to work properly.
What often works is to put the repeating frame and b_label and b_field inside one group frame.
Or put a group frame (whole page width) around b_label and b_field."
I have tried very hard only to fail to get the expected results.
Anybody has any suggestion?
Just curious - I am using Reports Builder 10.1.2.0.2 and we are going to 11G. Reports Builder 11G will fix this bug or so-called "feature"?
Millions of thank for any help!!!
mz -
Non repeating frame - when/how to use
Hi,
How do I use a non repeating frame on it's own.
I have one query in which I have selected 3 fields.
In the paper layout, I have placed 3 fields in a non repeating frame.
When I run the report, I get a REP-1213 error - Filed 'xxx' at frequency below its group.
When I place the 3 fields ina repeating frame, it works, because the repeating frame property inspector allows me to enter the group and the non repeating frame does not.
So, my question is, when and how does one use a non repeating frame.
I need to understand the principle behind it.
Thank you
iYou mainly use regular frames to group objects together or prevent them from being overwritten. Check the help on About Frames.
-
How do i make a frame a enclosing a repeating frame appear only on the last page of a report?
I have a frame that encloses a repeating frame. How so i make them print only on the last page?
Assuming you have other content, you could:
set the Print Object On property to be last page.
anchor it to the main content that repeats on every page, so this frame only prints after the other one is done
Assign a format trigger where you make it display only if current page is equal to total number of pages
create a trailer and move the frame there -
How to set the Title twice for Down/Across Repeating Frame?
Hi All,
I'm using a repeating frame with Down/Across value for Print Direction Property, and make it's size small enough to show the data twice in columns.
But how to specify it's titles? Even it is shown once or twice?
If the data is shown once I need to show the titles once and if the data is shown twice I need to show the titles twice
Don't hesitate to ask me any thing if there is something not clear please!
Note:
I'm using Reports 6i.So, you would like it like this?:
| title | title |
| no. 1 | no. 2 |
| | |
| no. 3 | no. 4 |
| | |
-----------------I don't think tihs will work, since the title above the repeating-frame will never know about the number of columns.
If your repeating frame has horizontal- and vertical-elasticity = fixed, you could do it like this:
| title | title |
| no. 1 | no. 2 |
| | |
| no. 3 | no. 4 |
| | |
-----------------You then have to create a format-trigger on "title" with the following code:
IF( mod( :rownum, 4 ) IN ( 1, 2 ) )
THEN
return( TRUE );
ELSE
return( FALSE );
END IF;The "4" stands for the max number of repeating-frames per page, the "1, 2" means the number of columns per page.
Regards
Markus -
How do I fix the below sync issue between iPhoto, iTunes, my iPad2/iPhones
I am having this issue with iPhoto'11. I had the issue at one point in iPhoto '09 but eventually I fixed it but I don't know how. I was told it's a problem with my iPhoto library.
Here's the problem: When syncing with either my iPad2/iPhone4/iPhone3GS it tells me not all photos were were synced to my devices because there is not enough space, even though there clearly is enough space. I don't think it happens with my AppleTV2 but maybe that's because it's streaming, not syncing, to my ATV2.
Any thoughts on how to fix? I'm also seeing that only the places and albums icons are included within the photo app on each device. Do I need to somehow repair my iPhoto library?Make a temporary, duplicate copy of the library and try the two fixes below in order as needed:
Fix #1
1 - delete the iPhoto preference file, com.apple.iPhoto.plist, that resides in your Home/Library/Preferences folder.
2 - delete iPhoto's cache files that are located in your Home/Library/Caches/com.apple.iPhoto folder.
3 - reboot, launch iPhoto and try again.
NOTE: If you're moved your library from its default location in your Home/Pictures folder you will have to point iPhoto to its new location when you next open iPhoto by holding the the Option key. You'll also have to reset the iPhoto's various preferences.
Fix #2
Launch iPhoto with the Command+Option keys depressed and follow the instructions to rebuild the library. Select options #1 and #6.
Click to view full size -
How to make arrays or repeat objects in circle?
Hello,
1 - How to make arrays without copying and pasting? Fig-1
2 - how to create objects repeated in circles? Fig-2
Regards and Thanks1) Patterns
2) One option is Scripting (or Actions).
http://forums.adobe.com/message/3472806#3472806
Edit: That was only for text layers, you could give this a try:
// xonverts to smart object, copies and rotates a layer;
// for photoshop cs5 on mac;
// 2011; use it at your own risk;
#target photoshop
////// filter for checking if entry is numeric and positive, thanks to xbytor //////
posNumberKeystrokeFilter = function() {
this.text = this.text.replace(",", ".");
this.text = this.text.replace("-", "");
if (this.text.match(/[^\-\.\d]/)) {
this.text = this.text.replace(/[^\-\.\d]/g, '');
posNumberKeystrokeFilter2 = function() {
this.text = this.text.replace(",", "");
this.text = this.text.replace("-", "");
this.text = this.text.replace(".", "");
if (this.text.match(/[^\-\.\d]/)) {
this.text = this.text.replace(/[^\-\.\d]/g, '');
if (this.text == "") {this.text = "2"}
if (this.text == "1") {this.text = "2"}
var theCheck = photoshopCheck();
if (theCheck == true) {
// do the operations;
var myDocument = app.activeDocument;
var myResolution = myDocument.resolution;
var originalUnits = app.preferences.rulerUnits;
app.preferences.rulerUnits = Units.PIXELS;
var dlg = new Window('dialog', "set circle-radius for arrangement", [500,300,840,450]);
// field for radius;
dlg.radius = dlg.add('panel', [15,17,162,67], 'inner radius');
dlg.radius.number = dlg.radius.add('edittext', [12,12,60,32], "30", {multiline:false});
dlg.radius.numberText = dlg.radius.add('statictext', [65,14,320,32], "mm radius ", {multiline:false});
dlg.radius.number.onChange = posNumberKeystrokeFilter;
dlg.radius.number.active = true;
// field for number;
dlg.number = dlg.add('panel', [172,17,325,67], 'number of copies');
dlg.number.value = dlg.number.add('edittext', [12,12,60,32], "30", {multiline:false});
dlg.number.value.onChange = posNumberKeystrokeFilter2;
dlg.number.value.text = "12";
// buttons for ok, and cancel;
dlg.buttons = dlg.add('panel', [15,80,325,130], '');
dlg.buttons.buildBtn = dlg.buttons.add('button', [13,13,145,35], 'OK', {name:'ok'});
dlg.buttons.cancelBtn = dlg.buttons.add('button', [155,13,290,35], 'Cancel', {name:'cancel'});
// show the dialog;
dlg.center();
var myReturn = dlg.show ();
if (myReturn == true) {
// the layer;
var theLayer = smartify(myDocument.activeLayer);
app.togglePalettes();
// get layer;
var theName = myDocument.activeLayer.name;
var theBounds = theLayer.bounds;
var theWidth = theBounds[2] - theBounds[0];
var theHeight = theBounds[3] - theBounds[1];
var theOriginal = myDocument.activeLayer;
var theHorCenter = (theBounds[0] + ((theBounds[2] - theBounds[0])/2));
var theVerCenter = (theBounds[1] + ((theBounds[3] - theBounds[1])/2));
// create layerset;
var myLayerSet = myDocument.layerSets.add();
theOriginal.visible = false;
myLayerSet.name = theName + "_rotation";
// create copies;
var theNumber = dlg.number.value.text;
var theLayers = new Array;
for (var o = 0; o < theNumber; o++) {
var theCopy = theLayer.duplicate(myLayerSet, ElementPlacement.PLACEATBEGINNING);
theLayers.push(theCopy);
// calculate the radius in pixels;
var theRadius = Number(dlg.radius.number.text) / 10 * myResolution / 2.54;
myDocument.selection.deselect();
// get the angle;
theAngle = 360 / theNumber;
// work through the layers;
for (var d = 0; d < theNumber; d++) {
var thisAngle = theAngle * d ;
var theLayer = theLayers[d];
// determine the offset for outer or inner radius;
var theMeasure = theRadius + theHeight/2;
// var theMeasure = theRadius + theWidth/2;
var theHorTarget = Math.cos(radiansOf(thisAngle)) * theMeasure;
var theVerTarget = Math.sin(radiansOf(thisAngle)) * theMeasure;
// do the transformations;
rotateAndMove(myDocument, theLayer, thisAngle + 90, - theHorCenter + theHorTarget + (myDocument.width / 2), - theVerCenter + theVerTarget + (myDocument.height / 2));
// reset;
app.preferences.rulerUnits = originalUnits;
app.togglePalettes()
////// function to determine if open document is eligible for operations //////
function photoshopCheck () {
var checksOut = true;
if (app.documents.length == 0) {
alert ("no open document");
checksOut = false
else {
if (app.activeDocument.activeLayer.isBackgroundLayer == true) {
alert ("please select a non background layer");
checksOut = false
else {}
return checksOut
////// function to smartify if not //////
function smartify (theLayer) {
// make layers smart objects if they are not already;
if (theLayer.kind != LayerKind.SMARTOBJECT) {
myDocument.activeLayer = theLayer;
var id557 = charIDToTypeID( "slct" );
var desc108 = new ActionDescriptor();
var id558 = charIDToTypeID( "null" );
var ref77 = new ActionReference();
var id559 = charIDToTypeID( "Mn " );
var id560 = charIDToTypeID( "MnIt" );
var id561 = stringIDToTypeID( "newPlacedLayer" );
ref77.putEnumerated( id559, id560, id561 );
desc108.putReference( id558, ref77 );
executeAction( id557, desc108, DialogModes.NO );
return myDocument.activeLayer
else {return theLayer}
////// radians //////
function radiansOf (theAngle) {
return theAngle * Math.PI / 180
////// rotate and move //////
function rotateAndMove (myDocument, theLayer, thisAngle, horizontalOffset, verticalOffset) {
// do the transformations;
myDocument.activeLayer = theLayer;
// =======================================================
var idTrnf = charIDToTypeID( "Trnf" );
var desc3 = new ActionDescriptor();
var idFTcs = charIDToTypeID( "FTcs" );
var idQCSt = charIDToTypeID( "QCSt" );
var idQcsa = charIDToTypeID( "Qcsa" );
desc3.putEnumerated( idFTcs, idQCSt, idQcsa );
var idOfst = charIDToTypeID( "Ofst" );
var desc4 = new ActionDescriptor();
var idHrzn = charIDToTypeID( "Hrzn" );
var idPxl = charIDToTypeID( "#Pxl" );
desc4.putUnitDouble( idHrzn, idPxl, horizontalOffset );
var idVrtc = charIDToTypeID( "Vrtc" );
var idPxl = charIDToTypeID( "#Pxl" );
desc4.putUnitDouble( idVrtc, idPxl, verticalOffset );
var idOfst = charIDToTypeID( "Ofst" );
desc3.putObject( idOfst, idOfst, desc4 );
var idAngl = charIDToTypeID( "Angl" );
var idAng = charIDToTypeID( "#Ang" );
desc3.putUnitDouble( idAngl, idAng, Number(thisAngle) );
executeAction( idTrnf, desc3, DialogModes.NO ); -
How to get the values from repeated frame?.
Hi
how to get the values from repeated frame?. i have to disply the first 3 digits in another place in my report.
i have field empno in repeated frame and i want to disply first 3 digits in another place in the same report.
thanksHow often do you need to display it? It sounds like you might want to base a summary on that formula with a function of first or last. If it's a per page basis, it can be a page level summary. If it's at a higher level repeating frame, then you can create the summary at that level. I'd suggest taking a look at the online help for summaries using the first/last functions.
Hope that helps,
Toby
Maybe you are looking for
-
Data is not available in report
Hi Experts, i have purchase order report created on multiprovider. Particular vender number data not showing in report but its available in Data target. suggest possible cusses?
-
Hey fellow Apple people, I'm looking to interview people who have the iPad 2 about the things they like and dislike about it for a Yahoo! news article. If you're interested please let me know! Thanks!
-
Home Hub 3 (A and B) Lost Count...
Hi all, HH2 vs HH3 could someone please shed some light on the quality differences of these two hubs? I'm, interested in the WIFI quality, stability, etc. I have lost count of how many routers I have had from BT. When BT receive my call and start wit
-
RAS phone pbk file slow in Windows 8(.1)
I upgraded my computer from Windows 7 Pro to Windows 8.1 Pro. I'm using a RAS phone pbk file on my desktop to connect to 1 of our 300 sites. In Windows 7 the 300 entries work well and opened quickly. In Windows 8.1 when I try to open the same file, i
-
Setting up iPad accounts for school teachers
I am working on rolling out iPads for 30 teachers at my school. Note that while I am my elementary school's instructional tech, I am not in any way a tech guru. Just the guy that was put in the position In a nutshell; we acquired 30 iPad 2 devices f