Had at the height of a chart inside had more than padding height adjustment
Hello comrades,.
I'm trying to set a permanent background fill between an anchored frame and a graphical object (embedded Visio) located inside the anchored frame.
However, instead of getting that padding under the chart, had become really small and only 20% of the image is exposed.
The code goes like this:
...
VFrame SET = vCurrentDoc.FirstGraphicInDoc;
While (vFrame) loop
IF vFrame.ObjectName = "Eu".
SET vFrame.AnchorType = AnchorBelow;
SET vFrame.GraphicIsSelected = 1;
SET vGraphic = vFrame.FirstGraphicInFrame / / select the 1st graph in the framework
SET vFrame.Width = vFrame.TextLoc.InTextObj.Width;
SET vFrame.Height = vGraphic.Height + 5mm; Here are the 5mm padding
Set vGraphic.LocY = 0mm;
Set vGraphic.LocX = (vFrame.Width - vGraphic.Width) / 2;
ENDIF
...
Please, advise!
Thank you!
Hi Roman,
(1) you must always organize your scripts in functions. Each function can be a small task. This keeps your scripts organized and easy to follow. It makes the code easier test and solve problems. And functions make it easier to reuse code in other scripts. You can easily copy and paste this function in another script and make changes that would be appropriate for this script.
(2) all the variables that are used within functions must be declared the so that they do not interfere with all the variables outside the function (or in another function). You don't have to set it to 0, but I used to do as a matter of preference.
(3) the reason why I use FirstSelectedGraphicInDoc is so I can test the function with an anchored frame selected to make sure it works. I don't want to use a loop before it works on a single embedded image. Once the function is developed and tested, I can use a loop:
Set oGraphic = oDoc.FirstGraphicInDoc; Loop While(oGraphic) If oGraphic.ObjectName = 'AFrame' // Adjust the anchored frame size and graphic position. Set iResult = AdjustAFrameAndGraphic{oGraphic}; EndIf Set oGraphic = oGraphic.NextGraphicInDoc; EndLoop
This is another advantage of the use of the functions: I can follow the flow of my script and have a general idea of what he's doing in looking my function calls (lines 4-5). I didn't get bogged down with the details inside the functions.
The biggest script error I see is in scripts where all the code is in a big block of long. When something does not work, it is difficult to solve the problems. When the code is developed as a series of small tasks that are set functions, the whole process is easier.
-Rick
Tags: Adobe FrameMaker
Similar Questions
-
What happened to all my downloads? I've had more than a dozen. Now, I have only 2
When I went to check my downloads it showed that I had only 2. Whereas before a had more than a dozen. Where I get all my downloads?
See you again all downloads in the downloads folder in the library (history > view history)?
-
The sony handycam dcr-hc30 can endure more than the 512 MB original memory? Thank you.
The sony handycam dcr-hc30 can endure more than the 512 MB original memory? Thank you.
According to this table of compatibility: http://esupport.sony.com/perl/support-info.pl?&info_id=11 DCR-HC30 may use the following maps:
Memory Stick Duo Pro - 1 GB, 2 GB and 4 GB
Mark 2 Memory Stick Duo Pro - 1 GB, 2 GB and 4 GB.
You can read the table to make sure I was reading it correctly.
-
Since the Migration to ACS 5.5.0.46 we continue to see the following message appears in the Inbox of alarm
Cisco Secure ACS alarm (REVIEW): the physical size of ACS db is more than 50% of its actual size.
Cisco Secure ACS - Alarm Notification
Severity: critical
Name of the alarm
System alarm [purge the database]
Cause/trigger
The physical size of ACS db is more than 50% of its actual size.
Alarm details
The physical size of ACS db is more than 50% of its actual size de.the size will be reduced after the purge ACS transaction log and compress ACS db.
September
Mon Mar 17 05:00:06 THIS 2014
ACS view Compression and backup database is set up and runs without error:
The work of backup stores a maximum of 4 months to a FTP server.
Backup: monthly
Incremental: weekly
DB: Compression enabled
Purge and incremental backup history Name Start Time End Time Status DatabasePurge-Job Mon Mar 17 04:00 THIS 2014 Mon Mar 17 04:00 THIS 2014 Completed as far as I can see the CLI avoid a DB oversized:
ACS21/acsadmin(config-ACS) # acsview show-dbsize
Actual size of DB (bytes): 1585192960
Real DB size (GBs): 1.48
DB size (bytes): 1605386240
Physical size DB (GBs): 1.5
Physical ACSviewlog file size (GBs): 0
Output ACS21/acsadmin(config-ACS) #.ACS21 / admin # display the status of the acs application
Role of the ACS: PRIMARY
Process of database ' ' running
'Management' running process
'Runtime' running process
"Adclient" process running
'Ntpd' running process
"View-database" running process
"View-jobmanager' running process
"View-alertmanager' running process
"Notice-collector' running process
"View-logprocessor' running processLooking at the user guide:
"The ACS database must be compressed during the maintenance operation. You can run the command acsview-db-compress acs-config mode to reduce the physical size of the database of view when there is a difference between the physical size and the actual size of the database to view. ACS 5.5 stops only the collector newspaper services during compress the operation and will be operational after the compression operation is complete. You must enable the recovery of the newspaper feature retrieve messages received during the compression of database operation.
In ACS 5.5, database compression operation is automated. You can check the box enable ACS view compress database to compress the ACS database view automatically daily at 05:00 the compression of database operation is executed every day automatically at 05:00 whenever needed. »
I tried to manually compress DB by "acsview-db-compress' with no effect.
Hello
You are running in the CSCum51180bug. The alarm should be a warning, not criticism and should be triggered only when the physical size is greater than the actual size of more than one gigabyte (in your case, the difference is very small, 1.5 vs 1.48).
The fix must be present on a future update.
Javier Henderson
Cisco Systems
-
Other tools work well by also the single rectangular selection tool a problem whenever I try to adjust the size.
I tried ' see the box (shift + command + B) limit, but it still does not work.
Please help me with this problem and find attached photos.
The photos above are the captured screen, we could find on PC but on Mac size is not adjustable. :-(
Moves the discussion to Illustrator.
Thank you
Atul Saini
-
That Firefox is the winner when I try to sync more than one PC
I have Firefox on different PC, running Windows 7, and Linux Mint.
I have many favorites, sophisticated organized into folders to help me navigate effectively.
The amount of bookmarks are multiplying, and lately I've been a good cleaning work on my PC at home.
I hope that this beautiful new structure could spread on other computers in sync.
But I think THAT (though not of course not more) than my PC at home instead had TWO combined structures. And the Cleanup job more.I would like to make my PC at home the boss, and others just copy its structure of bookmark for a time, later sync as usual.
If this is not possible I need to export bookmarks from home and import them manually on each PC.
What is the solution?There is no "master" / "slave" setting for synchronization, all funds / portable computer devices are treated equally - fusion of data from and to all devices on the server. "Mobile" devices do not get the full 'sync' to the history of the bookmarks or tabs, and browsing history is limited on 'mobile', too - will Sync.
According to the number of involved bookmarks and the "nesting level' files, it may take an unreasonable amount of time [IMO] for bookmarks command merged between multiple devices. Even when the merger is complete, and the order may seem random. It seems that the more "order" a user introduced to their favorites, the worst results after having used Sync. I think that too much emphasis has been on the use of tags to organize and retrieve bookmarks - and those of us who do not use Tags suffer the most.
-
I've updated to Firefox 11 and now I can't open the PDFs Online. This has happened on more than 1 computer, using the two OS 10.6.8 and OS 7.0 and on more than one Web site. I tried to uncheck "block pop-up windows" in preferences, but which did not help.
When I use Safari to open the same file to pdf, they open fine. Everything worked fine with my Firefox until I did the upgrade.I prefer to continue to use Firefox, but I can't understand the root of the problem.
Has anyone else had this happen as well?
Thank you, gentlemen, to find a "solution" to this particular behavior of Firefox. It is really curious that even if the screen is blank, you can indeed save the .pdf Ghost and then open the saved file to view. What is amazing to me is that this issue does not seem to be what makes the hit parade of the problems currently experienced Mozilla. Not everyone will be willing to do a research project extended rather than leave the ship for Safari, etc..
-
How can I update readers on my graphics from AMD for 1) HP has not updated their more than 3 years and the vanilla AMD drivers do not work on HP laptop?
Model DV7t-6100
AMD Radeon 6100 m graphics card
Win 7 Home premium
If you know which driver you need to upgrade to, there is a way to install it, even if HP does not sgned offshore on the pilot. The problem with unsigned drivers is that they could lead to the instability of the system. If there are questions, HP you will have to roll back the driver to their official, until they will offer support. If you want to proceed with the installation of the driver from the site Web of AMD, I would recommend downloading their tool which scans your system, and shows you which driver is the right one for your system. It will take much of the guesswork out of the process. The worst thing you can do is use this process to install the wrong driver...
I used this process with an Intel driver, but the process will be the same, just the file names may be slightly different. If you have any questions, let me know and I will try to edit the list here to reflect the actual driver, you are wanting.
1. go to your site the graph of manufacturers (Intel, Nvidia or AMD) and download the utility which scans your system. If not, find the right driver for your system.
2. download the .zip, NOT the free installation package file and save it to your desktop for easy access.
3 extract the .zip file, so you can access the files inside.
4. go to Device Manager, expand "graphics cards", right-click on your graphics card and click on "Update Driver Software".
5. Select ' Browse my computer for driver software
6. choose "Let Me pick from a list of drivers on my computer".
7. Select 'Have disk' and in the box that appears, select Browse
8. go on the desktop, find the files extracted, select "Graphics".
9 select the file with a .inf extension. This is the real driver file.
10. click on open
-
Last night, I installed the updates for Windows 7 during the stop, as I normally do. He said there are four updates, and one went by pretty quickly. It seemed to get stuck on the second (even though he probably didn't want to - the blue ORB turned and the dots are moving, so I guess it's to large or slow) for a few minutes, three update took slightly less time and at the time he obtained for the release of four, I was paying attention just because I was so tired.
In any case, I went to start my laptop (Toshiba Satellite) and on black splash screen "starting windows" with the flag/banner, he said that he needed install/configure 360 some odd updates. I had seen this before, although I do not remember how recently, so I thought nothing of it. I still don't know if it meant something significant.
Now the problem is that my CPU usage is constantly at 100%, yet when I finally managed to open the Task Manager, NONE of the listed processes use anything more than 1%, and those who fluctuate. I can easily boot into safe mode, and from there, I have disabled the start of the process, such as taskbar support and itunes things google related, but I still boot normally to 100%.
Any ideas? It would be GREATLY appreciated. I'm going to College next year and I really don't want to worry about finding how to get a new machine.
Thank you!
Hi Renae92,
- You have security software installed on the computer?
- High CPU usage occurs after the boot process?
Method 1
As the problem does not persist in safe mode, then it is possible that some third-party programs installed on the computer is causing the problem.
I suggest that you put the computer in a clean boot state and check.
To help resolve the error and other messages, you can start Windows Vista or Windows 7 by using a minimal set of drivers and startup programs. This type of boot is known as a "clean boot". A clean boot helps eliminate software conflicts.
See section to learn more about how to clean boot.
How to troubleshoot a problem by performing a clean boot in Windows Vista or in Windows 7
http://support.Microsoft.com/kb/929135
Reset the computer to start as usual
When you are finished troubleshooting, follow these steps to reset the computer to start as usual:
(a) click Start, type msconfig in the search box and press ENTER.
(b) If you are prompted for an administrator password or for confirmation, type your password or click on continue.
(c) under the general tab, click the Normal startup option, and then click OK.
(d) when you are prompted to restart the computer, click on restart.
Method 2
If the previous step fails, then I suggest you run the troubleshooter of performance and check if it helps.
Open the troubleshooter of Performance
http://Windows.Microsoft.com/en-us/Windows7/open-the-performance-Troubleshooter
Ways to improve your computer's performance
http://Windows.Microsoft.com/en-us/Windows7/ways-to-improve-your-computers-performance
-
Not much more to report - sometimes I can not switch to other applications.
gel at regular intervals: see
I installed the extension, it seems that there are several options to solve the problems with the places.sqlite file, I ran each option one at a time. I think that it may have helped a little, kind of hard to say. But the symptoms you report seems closely related to what is seen in the blog.
As noted in the blog, uninstalled later expansion.
Also, I try to restart Firefox when the CPU get more than 1 hour because things really slow down when the firefox.exe gets nearly 2 hours. For that I use "Restartless Restart" (for Firefox 4.0 and more)
https://addons.Mozilla.org/firefox/addon/Restartless-restart/and I clear the cache in Firefox is restarted:
-
Hi all
My primary HARD drive recently failed. So, I went out and picked up a new internal drive from HGST 4TB to replace the dead drive.
I thought I'd use the opportunity to make a new new clean install of Windows 10. So I created, with the support of Microsoft tool, an installation of Windows 10 DVD.
Unfortunately, when I start the PC with the new Windows 10 installation disk (64-bit), it only allows me to create a new partition to a maximum size of 1768 Go.
Now I remember reading on a 4 gb limitation RAM BIOS/motherboard has, but I couldn't find any limitation on the size of the hard drive.
Although I found a few articles indicating that UEFI & GPT would be required to make it work for any HARD drive more than 2 TB, I have absolutely no idea how to proceed, or if this motherboard has a limitation.
Any help you could provide would be much appreciated, because I have been racking my brain for the last month trying to solve this problem.
What you do not have to disclose, is that the original BIOS was Vista. Than stated, you would not have a level of BIOS available for download that would have compatibility (UEFI BIOS) level 8 and options you need.
-
I got the blue screen watching a youtube video (more than 1,080 p)!
I got the blue scren just at the moment where I put the original video, can someane tell why? http://www.YouTube.com/watch?v=kmrlkPLnDpU
Follow the suggestions here to solve this BSOD error (it applies to these two videos (Intel and Radeon): http://www.sysnative.com/forums/bsod-kernel-dump-analysis-debugging-information/35-video-tdr-timeout-0x116-0x117.html#post29532 )
If you use more than an antivirus or a firewall, please stop and use only one of each. They can collide with each other and cause problems of competition with each other.
Please update these drivers. Links are included to help search for the source of the drivers. If it is impossible to find a update, please remove (uninstall) the program responsible for this driver. NOT manually delete/rename the driver since it can make the system unbootable. :
Hamachi.sys Thu Feb 19 05:36:41 2009 (499 D 3639)
Virtual LogMeIn Hamachi network interface driver
http://www.carrona.org/drivers/driver.php?id=hamachi.sys
exFAT. SYS MON Jul 13 19:23:29 2009 (4A5BC1F1)
exFAT file system driver
http://www.carrona.org/drivers/driver.php?id=exFAT.sysBSOD BUGCHECK SUMMARY
03:33:43.229 Saturday, December 15, 2012 (UTC - 05:00) *.
Loading dump file [C:\Users\John\_jcgriff2_\dbug\__Kernel__\121512-15147-01.dmp]
Windows 7 Kernel Version 7601 (Service Pack 1) MP (4 procs) free x 64
By: 7601.17944.amd64fre.win7sp1_gdr.120830 - 0333
System Uptime: 0 days 0:12:43.696
WARNING: Unable to verify timestamp for atikmpag.sys
ERROR: Module load completed but symbols can be loaded for atikmpag.sys
Probably caused by: atikmpag.sys (atikmpag + b 7, 78)
Error checking 116, {fffffa8001ff04e0, fffff88003017b78, 0, 2}
Bug check Info: VIDEO_TDR_FAILURE (116)
Arguments:
Arg1: fffffa8001ff04e0, optional pointer recovery environment internal TDR (TDR_RECOVERY_CONTEXT).
Arg2: fffff88003017b78, the pointer in the responsible device driver module (owner tag).
Arg3: 0000000000000000, optional error (NTSTATUS) of the last operation code failed.
Arg4: 0000000000000002, optional internal context dependent data.
BUGCHECK_STR: 0 X 116
DEFAULT_BUCKET_ID: GRAPHICS_DRIVER_TDR_FAULT
Nom_processus: System
FAILURE_BUCKET_ID: X64_0x116_IMAGE_atikmpag.sys
¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨`` -
Hi all
I'm stuck with this problem which, according to my research, seems to be related to the settings CALCBLOCKLOCK {H, L, D} and CALCCACHE {H, L, D}.
I changed and I rebooted the server, and I can see them in the properties of the Essbase server.
In any case I still can't allocate more than 3 blocks from the heap, it seems that nothing has changed. Can anyone advice for this?
Thank you
bidi
Try increasing the essbase database data cache, and then restart the essbase database.
See you soon
John
-
The list of all virtual machines with more than 2 virtual disks
Hello.
I want to list all virtual machines in a data center vCenter, who got more than 2 virtual disks. Here's the workflow, I am working on that:
1 get the view of data center
2. get the Cluster Data Center view like the 'begine_entity '.
3. for each view cluster overview the VirtualMachine bit cluster seen as 'begin_entity '.
4. for each VM view, this information: VirtualMachine-> config-> hardware-> device of
Above information is a table.
I need help in order to extract information from this table disk, then run an if condition where the VM who got more than 2 discs should print.
Could help you. I wrote the script to the point 4. just need advice for the posterior.
Thank you.
You can try one of the following values-
1 If ($vm-> {'summary.config.numVirtualDisks'} > 2) {...}
2 $diskCnt = grep {$_-> isa ('VirtualDisk')} @{$vm-> {'config.hardware.device'}};
The above assumes that you've got your $vm with a filter property as follows:
$vms = Vim::find_entity_views (view_type-online 'VirtualMachine'), the properties-online ['summary.config.numVirtualDisks', 'name', 'config.hardware.device'];
my $vm foreach (@{$vms}) {}
...
}
-
Analysis of the table in in. Long is more than 100% full
Hello
I have just run a query and got an unexpected result of session long ops
How a table scan can be more than 100% full? And it is still ongoing.Operation % Complete Elapsed Remaining Total Start Time Predicted End Time Table Scan 176.64 849 01.02.2011 13:34:30 01.02.2011 13:48:39 Table Scan 100 24 0 24 31.01.2011 22:28:06 31.01.2011 22:28:30 ...
Oracle Database 11 g Enterprise Edition Release 11.2.0.2.0 - 64 bit ProductionSELECT vsl.opname "Operation" ,ROUND(vsl.sofar / vsl.totalwork * 100,2) "% Complete" ,vsl.elapsed_seconds "Elapsed (Sec)" ,vsl.time_remaining "Remaining (Sec)" ,vsl.elapsed_seconds + vsl.time_remaining "Total (Sec)" ,TO_CHAR(vsl.start_time,'dd.mm.yyyy hh24:mi:ss') "Start Time" ,CASE WHEN vsl.time_remaining > 0 THEN TO_CHAR(SYSDATE + (vsl.time_remaining / (60 * 60 * 24)),'dd.mm.yyyy hh24:mi:ss') ELSE TO_CHAR(vsl.start_time + vsl.elapsed_seconds/86400,'dd.mm.yyyy hh24:mi:ss') END "Predicted End Time" FROM v$session_longops vsl WHERE vsl.sid = :SID ORDER BY vsl.start_time DESC
With partitioning, OLAP, Data Mining and Real Application Testing options
Concerning
Marcus
Edited by: Marwim the 01.02.2011 version added 14:01What are the actual values to SOFAR and TOTALWORK?
What are the values of LINES and the NUM_BLOCKS in DBA_TABLES for the Table being full analysis?
What is the value for the BLOCKS in DBA_SEGMENTS for the table (assuming that it is not a partitioned table)?et What is the request that the session is running?
Hemant K Collette
Published by: Hemant K grapple February 1, 2011 22:57
Maybe you are looking for
-
my iphone 5s problem could not complete touch setup ID come back please and try again... I need solve the problem... Thank you
-
Cannot access router wi - fi remote intelligent service said router offline.
I can't access router remotely by using smart WiFi. When I connect it says router is in offline mode. Wrt1200AC. Used to work and now it doesn't. I have an account setup smart wi - fi. I can connect locally on my network. I went to troubleshooting, d
-
Just upgraded to Win7. Cannot update, cannot download from the internet?
My main computer recently crashed so in the meantime, I took out an old computer, I have not used since 2011. It was in Vista, so I bought a Win 7 Pro license. I installed Win 7 and tried to run updates, but the model seems just look for updates for
-
SAP - mix and merge files into a single PDF
Hi allWe are working on a solution to merge the files into a single PDF.There are a few available alternatives to fill the need such as Merge PDF files in ABAP. RCSBut unfortunately other solutions are not very good optimized solution, according to t
-
Muse in the preview is not working. Doesn't have a prior view. Cannot establish a connection over HTTP. How can I fix? Antivirus protection does not block. Firewall disabled