Problem of size of Script Ancrable
I have this simple script here and the limits do not work for the size of the window. I also want to make the long text to the low blow a line down to a certain length so that the window is not super long. Any suggestions?
{ function myScript(thisObj){ function myScript_buildUI(thisObj){ var myPanel = (thisObj instanceof Panel) ? thisObj : new Window("palette", "Script Size Problems", [400, 350, 500, 500], {resizeable:true}); res = "group{orientation:'column',\ groupOne: Group{orientation:'row',\ titleText: StaticText{text:'Title Text'},\ },\ groupTwo: Group{orientation:'row',\ effectText: StaticText{text:'More Random Text'},\ },\ groupThree: Group{orientation:'row',\ lorumIpsumText: StaticText{text:'Hey, this is a long sentence that I hope I can make into several lines instead of one long window. Here are more words to drag out the amount of sentence on this, English is a language blah blah blah'},\ },\ }"; myPanel.grp = myPanel.add(res); myPanel.layout.layout(true); return myPanel; } var myScriptPal = myScript_buildUI(thisObj); if (myScriptPal != null && myScriptPal instanceof Window){ myScriptPal.center(); myScriptPal.show(); } } myScript(this); }
Dockables scripts do not use the option limits because the code is placed in a Panel to be used and resized in the interface of AE. These limits would only take effect if your script has been launched from the Scripts menu and not the window menu. How it would be run as a floating window and then join your limits settings.
For the StaticText, you can add the StaticText property "multiline: true.
lorumIpsumText: StaticText {text: 'YOUR TEXT LONG', properties: {multiline: true}}, \
It will then end your text based on the width of the container.
Tags: After Effects
Similar Questions
-
In addition to what I said. I even uninstalled and install a fresh Firefox. Always be flooded to the script. I spend more time trying to put an end to those that I can on a Web site.
I left Chrome after 3 years because of the questions on the page does not have in the hope that by returning to Firefox, everything would be good.
My cache is empty and I've done everything suggested that Firefox and still unable to go to a Web site with this question.
Have you added any of these sites to the block list in YesScrpt?
This extension is not a bitch at all until the user configures the blocking for each Web site where they get this message.I think that your problem is with a script that take too long to run, and that Firefox is you say that. You can try changing that 'time' a script is allowed to run before the message is triggered with this preference.
http://KB.mozillazine.org/DOM.max_script_run_timeTry 15 or 20 and see how it works.
-
problem of size for the file cfspreadsheet
When I read in a list of spreadsheets Excel, sorted by size.
with < cfspreadsheet >, everything goes well until the tag hits a file
more than 2MB. That's when I get this error:
An error occurred when reading the Excel: org.apache.poi.hssf.record.RecordInputStream$ LeftoverDataException: initialization of the 0xFF folder left 6 bytes remaining to be read still...
This invariably produces a file size of 2 MB. The files are Excel 2003. The important factor only that I can see, is that I have quite a few columns in my spreadsheet. The columns go completely to "CX".
Fact < cfspreadsheet > have some sort of limit when it comes to the size of the file and/or the columns?
TIA
Zach
I don't know what the cause of the problem. But after reading the much larger files, with more columns, I am not yet convinced that it is only a problem of size.
-Can you read any of the files over 2 MB, or those with a similar number of lines and columns?
-Strange characters or involved charsets?
-No idea what program produced the files? Either display the metadata or the headers?
When I saw this problem a few months back, I poured
hours up and down search it on Google and found very
little.
Have you ever tried crossing the POI BiffViewer files?
-
ProgressBar to the problem of the user script interface
Hi friends
I m trying to add a window with a simple progress bar. But I m of 2 problems. To explain I made a simple example that reproduces the intention:
#target bridge
var d1 = new window ('dialogue', 'Show images', [0,0,0,0])
D1. Size = [600 290]
D1. Center()
var d1.add = exec ('Button', [0,0,0,0], 'Run', {name: 'ok'})
exec. Size = [80,30]
exec. Location = [410 240]
exec.onClick = function () {}
D1. Close() //first problem is here
var d2 = new window ('dialog', 'Progress', [0,0,0,0])
D2. Size = [230,80]
D2. Center()
var bProgress = d2.add ('progressbar', [0,0,0,0], 0)
bProgress.size = [200.20]
bProgress.location = [15.20]
Var comment = d2.add ('statictext', [0,0,0,0], 'Race numbers')
Comment.Size = [200.20]
Comment.Location = [15,45]
D2. Show()
for (var g = 0; g < 10; g ++) {}
bProgress.value = bProgress.value + 10
Alert (g)
}
}
D1. Show()
Have I m the 2 problems are:
1: when pressing OK in the first dialog... to perform the action. I placed an order to close the dlg1. And it does not close (you get 2 dialog boxes keep open at the same time)
2: progress bar does not work. It s expected me to close the dlg2 to start running the cycle 'for '.
--
What Miss me?
Thank you very much for the help
Best regards
Gustavo
Post edited by: Gustavo Del steep
There are some examples here...
http://www.PS-scripts.com/BB/viewtopic.php?f=13&t=786&SID=7222ff525179a4b47ee49b70d787342e
A progress bar is normally performed as an a range not a dialog box...
#target bridge app.bringToFront(); var d1 = new Window ("dialog", "Show images", [0,0,0,0]); d1.size = [600,290]; var exec = d1.add ("button", [0,0,0,0], "Run", {name:"ok"}); exec.size = [80,30]; exec.location = [410,240]; exec.onClick = function (){ d1.visible=false; d1.close(); var value = 0; var win = new Window("palette{text:'Please be patient...',bounds:[100,100,580,140]," + "progress:Progressbar{bounds:[20,10,460,30] , minvalue:0,value:" + value + "}};" ); var d = win.graphics; d.backgroundColor = d.newBrush(d.BrushType.SOLID_COLOR, [0.00, 0.00, 0.00, 1]); win.progress.maxvalue = 10; Count =10; while(Count > 0){ win.center(); win.show(); Count--; win.progress.value++; win.layout.layout(true); alert(Count); } } d1.center(); d1.show();
-
A new old problem of a few weeks. When I print from Firefox, the result is a very small image printed in the upper part of the page. If I change the settings, it has chopped every page in 4 pages and prints a quarter on every page. I don't have this problem if I print from IE, so not a printer problem. I lived every step in the help topic relating to printing problems and an important step in response to a question from the forum. No joy.
If Firefox does not use the entire sheet of paper, it can result from after having extracted Windows incorrect paper size settings when reading data from the print driver. Compensation it may involve conclusions some mask parameters, but here goes:
(1) in a new tab, type or paste Subject: config in the address bar and press ENTER. Click on the button promising to be careful.
(2) in the search above the list box, type or paste print and make a pause so that the list is filtered
(3) for each parameter of the problem printer, right click and reset The fastest way is to click with the mouse and press the r key on the keyboard with your other hand.
Note: In some other discussions involving printers Brother, the preference printer_printer_name.print_paper_data was established in 256 and when the user changed it to 1 that solved the problem of paper size. If you see a 256 here, you can change the value by double-clicking it or by using the right click > modify.
Any improvement?
-
Gmail and Yahoo mail are very slow to load. I get a message from the script almost whenever instruct me to continue or to stop the script. Everything I have shut down or restart the browser goes blank and hangs. So, I have to restart Firefox. I followed suggestions on the help pages for the slow e-mail accounts or issues. (cleared cache etc, reset etc.) nothing solves the problem. I only noticed the problem since the first update of FF25. Scripts to stop even on these pages is not acceptable, because you are directed to the pages who insist you must restart scripts. It's a nightmare! Gmail both Yahoomail are very slow to respond to clicks more.
Your list of details of the system shows that you have a user.js file in the profile folder to initialize some preferences at each start of Firefox.
The user.js file appears only if you or another software created, therefore, normally, he wouldn't be here.
You can check its contents with a text editor if you do not create this file yourself.The user.js file is read whenever you launch Firefox and initializes the preferences to the value specified in this file, so set of preferences via user.js can be changed temporarily for the current session.
You can rename or delete the prefs.js file and numbered possible prefs-# .js and the file user.js to reset all default prefs.
You can use this button to go to the Firefox profile folder:
- Help > troubleshooting information > profile directory: see file (Linux: open the directory;) Mac: View in the Finder)
Note that the folder "Application Data" in XP/Win2K and the "AppData" folder in Windows Vista and Windows 7 and later versions are hidden folders.
-
Problem of size (120 DPI) fonts in Vista
Hi all. I have problem with vista 120 DPI font size. You can see on the screenshots - I can't drag and drop icons from the office down. May is ' t because of the screen. I do not know. My model of Nooteboom - 'A300 15J.
http://img254.imageshack.us/done.php?l=img254/167/screenshot001um8.jpg
http://img227.imageshack.us/done.php?l=img227/8205/screenshot002ni4.jpg
http://img227.imageshack.us/done.php?l=img227/4055/screenshot003iq3.jpg
http://img227.imageshack.us/done.php?l=img227/6862/screenshot004zj6.jpg
http://img154.imageshack.us/done.php?l=img154/7615/screenshot005ys7.jpg
http://img158.imageshack.us/done.php?l=img158/9546/screenshot006ig9.jpg
http://img380.imageshack.us/done.php?l=img380/1167/screenshot007iv1.jpgHow to solve it?
Hello
I don't know what you're doing with your desktop computer, but if you want to customize the shortcuts click with the right button of the mouse on the desktop > view > change icons options
If you want to move shortcuts on automatic deactivation the preferred position to organize and alignment options grid. -
the problems associated with writing script
Hi all
I use DIAdem 10.2
(1) I write the Script for the declaration of my scada system. In my report model, there are some common text as user field, period reoprt, designation, report, etc. etc... I designed the dialog box to ask these details in starting, and now I wanted to transfer these details on each page of the report. Is it possible to connect these details with the report model?
(2) I am facing problem in the allocation of train paths within the script... Is it possible to get rid of problems that arise due to movement of files from file *.sud or *.tdr. It will be great if diadem automatiocally search inside the folder in which the script is saved... so whenever we are going to move the complete file of any statement. It won't create any problem condition save us all files in a folder.
(3) I crushed my script different system or sometimes need to distribute it. Is it possible to make my script running on another system where tiara is not installed... sort of it, even making available using any platform of programming such as LabVIEW, Measurement studio, CVI etc. etc.
Thank you very much!
HS
HS Hello!
(1) you can use global variables to solve this task. There are some predefined as "T1" or - I prefer - assign them in the Script with the command GlobalDim and fill them in your data. In the report, you can use the expression '@T1 @' or ' @@MyGlobalDimVar @ ' in the text fields to display the content.
(2) you can use the AutoActPath variable to all access to the files compared to the running script. If you put all your files next to the script, you can move the package wherever you want in the file system. In all commands of loading like PicFileLoad you must use AutoActPath.
(3) you can run Scripts DIAdem and dialogs only in DIAdem.
Matthias
-
Problem with 'size of available shrink space' when you try to partition disk
I spent a good amount of time trying to partition my drive hard so that I can start in Windows Vista and XP, but I am still unable to do so. My ultimate goal is to improve the transition from Vista to Windows 7 (with the upgrade disk), while being able to boot Windows XP.
I have a 320 HDD with 170 GB free. There currently have Vista Business 64 - bit installed on it. Initially the shrink size was only 280 MB. I read online that I would need to defragment that I did.
I tried to defrag the hard drive with Perfect Disk 10 and Disk Defragmenter Vista several times. However, the only amount that was released, totaled at least 1 GB.
I tried shrinking the HDD again, make a separate 984 MB partition. Unfortunately, this is the largest size I amable to get.
In addition, I tried of using DiskPart to shrink, what with the same problems.
Can someone help me please?
Thank you
VaioDownstateSystem files it would be arrested.
See if the help above as a workaround.
See you soon. Mick Murphy - Microsoft partner
-
RWIN / TCP problem window size
Hello.
I have a problem with Windows Vista Ultimate x 64 - whenever I have try to download anything through IE, Opera and FireFox I get a download speed of a few KB of 30-50, even though I have a 5 Mbit ADSL connection.
Now, I tried also test my download speed on torrents and with managers of download and when I use these I get my full download speed (~ 500 KB)-this is because when I download via torrent or download managers, I have multiple connections to the file so I can get full speed.
So the problem is that I have a strange connection download speed limit (and browsers use only one socket when downloading files). I guess that the melody of Vista Auto is not changing my RWIN or TCP window size, so I need a way to manually change this somehow.
I also tried to turn the auto tuning to restricted and the disabled, but it did not help. Also, when I put it to the test, I have no internet at all.
P.S. I use my Intel DP35DP motherboard integerated network adapter.
Hi SeW800,
We will try a few things here. First of all, check Intel site and make sure all the drivers for the motherboard and BIOS are up-to-date.
WARNING: Changing the BIOS / semiconductor (CMOS) to complementary metal oxide settings can cause serious problems that may prevent your computer from starting properly. Microsoft cannot guarantee that problems resulting from the configuration of the BIOS/CMOS settings can resolved e. Changes to settings are at your own risk.
Once everything is up to date, you might want to try to enable and disable these settings to see if it will work better:
Provider of Congestion Vista - for TCP connections with a large receive window size and a band bandwidth-delay product, Compound TCP (CTCP) in the TCP/IP stack new generation greatly increases the amount of data sent at a time by monitoring the bandwidth product / time, variations in delay and packet losses. CTCP also ensures that its behavior does not negatively affect other TCP connections. In testing performed internally at Microsoft, large file backup times have been reduced nearly in half for a 1 Gigabit per second connection with a 50 milliseconds round-trip time. Connections with bandwidth product / more time can have even better performance.
Activate - netsh interface tcp set global congestionprovider = ctcp
Disable - netsh interface tcp set global congestionprovider = nonenetsh interface tcp set global ecncapability = toggle
netsh interface tcp set global congestionprovider = ctcp / no
netsh interface tcp set global rss = toggle
netsh interface tcp set global autotuninglevel = normal
netsh interface tcp set global chimney = toggleThank you
Kevin
Engineer Microsoft Support answers visit our Microsoft answers feedback Forum and let us know what you think. -
Printer problem install with VB Script
Hi all
I hope you guys can help me with a problem I have. For a customer, we are trying to install printers via a script run when connecting. We got it working on 32-bit workstations, but I won't work on 64-bit workstations.
We know that the problem is by removing the printer before connecting. With the script we have now it works only in 32 bits, but we need a solution that works on both. Or a script that checks the architecture of the en PC runs the script for 32 or 64 bit.
The script:
Option Explicit
Dim FSO, strUserName, WSHNetwork, strUserDomain, ObjGroupDict, varenv, strVarUserName
Dim objNetwork, strComputer, objWMIService, colInstalledPrinters, objPrinter, strLocal
Dim strUNCPrinter1, strUNCPrinter2, strUNCPrinter3, strUNCPrinter4
Dim strUNCPrinter5
Sun printers
Dim counterSet WSHNetwork = WScript.CreateObject ("WScript.Network")
Set varenv = WScript.CreateObject ("WScript.Shell")
Set FSO = CreateObject ("Scripting.FileSystemObject")
strVarUserName = EnvVar.ExpandEnvironmentStrings("%username%") ""Wait for the user to connect
strUserName = «»
While strUserName = «»
WScript.Sleep 100
strUserName = WSHNetwork.UserName
Wend
strUserDomain = WSHNetwork.UserDomainSet ObjGroupDict = CreateMemberOfObject (strUserDomain, strUserName)
'Create printers '.
strUNCPrinter1 = "\\s-exch\P50 - A4 Dubbel (Kleur)"
strUNCPrinter2 = "\\s-exch\P50 - A4 Dubbel (Z - W)"
strUNCPrinter3 = "\\s-exch\P50 - A4 Enkel (Kleur)"
strUNCPrinter4 = "\\s-exch\P50 - A4 I (Z - W)"
strUNCPrinter5 = "\\s-exch\P50 - TCE - Briefpapier (Z - W)" "'Delete printers '.
Set objNetwork = CreateObject
objNetwork.RemoveWindowsPrinterConnection "\\s-exch\P50 - A4 Dubbel (Kleur)"
objNetwork.RemoveWindowsPrinterConnection "\\s-exch\P50 - A4 Dubbel (Z - W)"
objNetwork.RemoveWindowsPrinterConnection "\\s-exch\P50 - A4 Enkel (Kleur)"
objNetwork.RemoveWindowsPrinterConnection "\\s-exch\P50 - A4 I (Z - W)"
objNetwork.RemoveWindowsPrinterConnection "\\s-exch\P50 - TCE - Briefpapier (Z - W)" "' Create printermappings based on groupmembership
If MemberOf (ObjGroupDict, "P50" ") then
Set objNetwork = CreateObject
objNetwork.AddWindowsPrinterConnection strUNCPrinter1
End IfIf MemberOf (ObjGroupDict, "P50" ") then
Set objNetwork = CreateObject
objNetwork.AddWindowsPrinterConnection strUNCPrinter2
End IfIf MemberOf (ObjGroupDict, "P50" ") then
Set objNetwork = CreateObject
objNetwork.AddWindowsPrinterConnection strUNCPrinter3
End IfIf MemberOf (ObjGroupDict, "P50" ") then
Set objNetwork = CreateObject
objNetwork.AddWindowsPrinterConnection strUNCPrinter4
End IfIf MemberOf (ObjGroupDict, "P50" ") then
Set objNetwork = CreateObject
objNetwork.AddWindowsPrinterConnection strUNCPrinter5
End IfFunction MemberOf (ObjDict, strKey)
MemberOf = CBool (ObjGroupDict.Exists (strKey))
End FunctionFunction CreateMemberOfObject (strDomain, strUserName)
Dim objUser, objGroup
Set CreateMemberOfObject = CreateObject ("Scripting.Dictionary")
CreateMemberOfObject.CompareMode = vbTextCompare in
Set objUser = GetObject ("WinNT: / /" & strDomain & "/" & strUserName & ", user")
For each objGroup in objUser.Groups
CreateMemberOfObject.Add objGroup.Name, «»
Next
Set objUser = Nothing
End FunctionHello Miesjel,
Welcome to the Microsoft Community Forum.
The question you posted would be better suited to the Technet community. Please visit the link below to find a community that will provide the support you want.
Microsoft TechNet
http://social.technet.Microsoft.com/forums/scriptcenter/en-us/home?category=scriptingHope the helps of information. Let us know if you need help with Windows related issues. We will be happy to help you.
Happy new year!
Thank you
-
Problems with failure of script TCL AS5350XM
Hi all
We are facing problems using AS5350XM as an IVR server to our network, where it is used as a server MGCP with Cisco BTS 10200 to meet the demand of the customer. What we have seen is the gateway that struck after a while, and the error in the debug level is
Jun 11 10:28:16.260: / / 5550 / / AFW_: / AFW_FSM_Drive: Tcl_Eval driving WSF inside modulespace Tcl code = 1 code = ERROR
16.260: TCL script failure
Result:
Illegal parameters. Ord1 and Ord2 are the same 55495550
:<191>198118:079727: 10:28:16.260 Jun 11: TCL script failure errorInfo:
<191>198119: illegal parameters. Ord1 and Ord2 are the same 55495550
<191>198120: when running
<191>198121: 'connection create $incLeg $outLeg '.
<191>198122: (procedure "do_ignore" line 30)
<191>198123: called from inside
<191>198124: "do_ignore."
This shows the failure of TCL script. Your help means a lot to us will wait for your help.
Concerning
Yasser yasin
Start the update of IOS.
You can also use 'catch' to avoid crashing on "create a link".
191>191>191>191>191>191>191> -
Problem with InDesign startup script does not import XML images
I'm doing an XML import automatically from a startup script when a document is loaded. I managed to get most of the content to fill, but the images are ignored. Everything works, including images, when I do a manual 'Import XML' through the user interface or a manual script.
Here's my manual script:
var myDocument = app.activeDocument; var xmlFile = File('/c/Full/Path/To/data.xml'); myDocument.importXML(xmlFile);
But the goal is to do at startup. Here's my startup script:
#targetengine "session" app.addEventListener('afterOpen', function(myEvent) { if (myEvent.target.constructor.name !== 'Document') { return; } var myDocument = myEvent.target; var xmlFile = File('/c/Full/Path/To/data.xml'); myDocument.importXML(xmlFile); });
Here is the XML tag for the image:
<Image href="file:///C:/Full/Path/To/Image/02.png" />
I wonder there is a problem with the
'afterOpen'
event reminder, and it is the reason why it works manually using the same method, but not in the startup script.I solved it by avoiding the event quite listener:
main(); function main () { // create a path for a file object var curFile = File('/c/Path/To/file.indd); var xmlFile = File('/c/Path/To/data.xml'); // close app if files don't exist if (!curFile.exists || !xmlFile.exists) { app.quit(SaveOptions.NO); } // open the file var curDoc = app.open(curFile); // import the xml curDoc.importXML(xmlFile); // create a new file object var pdfFile = new File(curFile.parent + '/' + curFile.name + '.pdf'); // export to pdf curDoc.exportFile(ExportFormat.PDF_TYPE, pdfFile); // close app app.quit(SaveOptions.NO); }
-
Problem to run the script from cron
I have a script I want cron to run every day and it works fine if I connect at the VMAs and run it from the command line, but cron raise fair return "unavailable server version to... /usr/lib/perl5/5.10.0/VMware/VICommon.pm line 545. And the thing is, he has worked for cron too before update us the vMA to 5.0.0.1 build 643553.
Any ideas how to solve this problem?
Try adding
{PERL_LWP_SSL_VERIFY_HOSTNAME} $ENV = 0;
-
Problem with size of ipa after changing assets
Some really weird problems with the size of the file.
Cooked a development version of our application yesterday, and the file API is released in 596 MB. We felt this is MUCH too big to be useful, so we took each picture and it reduced to 72 DPI to the pixel accurate and compressed with as small jpg dimensions that we could bring.
Then generate the app today, and the IPA file out to 822 MB...
How is that even possible!
We have reduced the file size of all our assets by nearly 90% and the application of INCREASES file size!
[redacted]
Someone at - it any idea on why DPS seems to be defying all logic?
I'll try and do understand:
(1) size of InDesign departure document is not serious. Use in 1024 x 768 or 2048 x 1536.
(2) make your folio to Panel Builder Folio a folio of PD with a size of 1024 x 768
It is the only approach that you can take to get a slip in a simple editing application that will work on the HD and SD devices with reasonable performance and display quality.
Do not have a folio of 2048 x 1536. This size is huge and will not work on iPad devices 2.
Neil
Maybe you are looking for
-
How to remove documents and data in the iphone app podcast 6
I know how to remove each podcast, but how do I remove "documents and data" in the application of podcast? I have more than 4 GB of data and documents.
-
How can I download a lot of songs
Almost all of my music is in the cloud. I want to download several thousand songs so I can sync to my iPod Classic. How can I download fr Massie without clicking on each individual song?
-
HP laptop - 15-ba079dx: SD card reader does not work after update
I've owned this machine for less than a week, and the SD card reader was working fine until the latest Automatic update. Now it will not register that there is a card in there. I tried several maps and none have worked while they worked on other comp
-
Tecra S1 beep code then LCD is dark
Ive these on my tecra 2 short beeps then a long, then the brake, then runs 3 signals. Then, the lcd screen is dark. I think that there is a problem with the video card. do I'have any chance to fix it (or let) this problem? or is it another problem?Th
-
Empty text box value when reading about the LV2012 development system but no Production
Development platform: 32-bit Windows 7, LV2012 Professional Development System. Production of platforms: Windows XP. We have a test application, we have developed (in haste, I might add) who has a curious problem. As part of the installation for eac