A simple script for you, a giant script for me...
I like a lot of scripts, but script doesn't seem to like me! Can someone help me and write a script for me? What I need is:
1 unlink all of a double
2. a loop that goes through each block of text in the spread and, at the end of the text contained in each of these frames inserts an empty paragraph. (The frames contains text graphics and online)
This month of may seems strange, but I need.
Best regards and thanks in advance
Maria
I like a lot of scripts, but script doesn't seem to like me! Can someone help me and write a script for me? What I need is:
It is easier for you to show us what you have, and then we will fix it for you or tell you what the problem is. Next, you'll learn something!
1 unlink all of a double
This one is easy - unless you're worried about groups within groups?
app.activeWindow.activeSpread.groups.everyItem().ungroup()
If that's all-the-way-down groups, on the other hand, well, it might be more than one line...
Tags: InDesign
Similar Questions
-
Can someone provide me with a groovy script to make a simple alert for anythin
Can someone provide me with a script simple roovy which can be used to craete an alert for a threshold of data... I just need a simple script that I could use to define my own script.
down the line.
I do not know groovy and I'm NOT a person of java. So learning groovy is really hard for me.Deploying the dir fixed link:
{JBOSS_HOME}/server/default/deploy/hq.ear/hq.war/hqu -
I am looking for 2 very simple scripts, we're for a specific cluster 1, I want to list all the VMS that have 4 GB of memory or more.
Then a 2nd script for a specific cluster1, want to list VM which do not have the VM tools installed or are out of date and select the name, the tool vmware status and memory.
Can someone help please
Here is a line that I tried on a single host... and must work if you connect on a VC as well... people it will list all virtual machines with more than 4 GB of memory:
Get - VM | Where-Object {$_.} MemoryMB - gt 4096}
If you want just the name and memory, then:
Get - VM | Where-Object {$_.} MemoryMB - gt 4096} | Select Name, MemoryMB
For the other for the VMtools...
Get-VM | Get-View | Select-Object @{N="Name";E={$_.Name}},@{Name="ToolsStatus";E={$_.Guest.ToolsStatus}}
Concerning
-
simple script, does not. Help, please!
Hi all
I wrote a simple script to take the active layer in the current document, copy, paste in all open documents, and set the 'Color Dodge' blend mode:
var docRef = activeDocument;
var layerRef = docRef.activeLayer;
var Sindocs = documents.length;layerRef.copy ();
for (i = 0; i < = Sindocs-1; i ++)
{activeDocument = documents [i];
activeDocument.paste ();
activeDocument.activeLayer.blendMode.COLORDODGE;}
the script works, except for the change in merge mode. I tried to split the single command into components (for example, assign activeDocument.activeLayer to a temporary variable, then setting the blendMode on this variable). I guess I'm missing something stupid and simple, since this is my first Java script. Any help would be appreciated!
Oh, I use CS2 under WinXP.
Thanks again,
EPH
You can try this...
var docRef = activeDocument;
var Sindocs = documents.length;
docRef.selection.selectAll ();
docRef.selection.copy ();for (var i = 0; i)< ndocs;="">
activeDocument = documents [i];
activeDocument.paste ();
activeDocument.activeLayer.blendMode = BlendMode.COLORDODGE;
} -
I'm doing a simple script and I'll have a PET huge brain.
When I get to coach the 45 I want the playhead back to frame 1. I have the code below, but I'm getting errors. Can someone point my head in the right direction?
<><><>
{onFrame (45)
this.gotoAndPlay (1);
}<><><>
An error that says that "expected semicolon before or after the first brace...
second possible mistake is ' call to onFrame possible undefined method... ".
Need help.
If this is the first scene, in the last picture (45) simply by putting...
gotoAndPlay (1);
should work.
If it is not the first scene, then you the first image of the label and use the label instead of the chassis number...
gotoAndPlay ("firstFrameLabel");
-
Can someone help me understand this very simple script please?
I have a simple coding question that frustrates the heck out of me. . Basically, the script below moves button_mc. 100 px when you click top then down to 100px when you click it again. I know that the simple script below works but I do not know why
It seems that his say if the variable 'jumping' is 'true' move "button_mc" up to 100 px. "The part I do not understand why ' button_mc" move down to 100 px to second click.
seems to me that it ignores this first function, because 'Skip = false' run the second function and moves to the top of 100px. Then why in the second click it move down? wouldn t it theoretically just skip the first part of the function again?
I hope this makes sense and someone can help me.
I'm so frustrated!
Thank you!!!
var jump: Boolean = false;
button_mc.addEventListener (MouseEvent.CLICK, onClick);
function onClick(event:MouseEvent):void {}
If (Jumping)
{
Event.Target.y += 100;
jumping = false;
}
on the other
{
Event.Target.y-= 100;
jumping = true;
}
}button_mc.butonMode = true;
Whenever a movement occurs, the break value is passed to the opposite value. So if it starts wrong, it moves-100 pixels (which is the direction upwards) and the value is changed to true. Similarly, when you click again, it moves 100 + in the direction down.
-
simple driver for my hp DVDRAM GT80N
Why can not download a simple driver for my hp DVDRAM GT80N to hp.com without being charged for a service $99.99 event what a rip
Hello again jaxtrukNMkt,
Thanks for providing the necessary information. I've seen this kind of problem before and it was solved by using Microsoft Support document resolution 3: Your CD or DVD drive is not recognized by Windows or other programs and uninstall and reinstall iTunes. I would give you the 3rd resolution of this document a try and then uninstall iTunes from your programs and features and then download and reinstall iTunes.
Please re-post if you need extra support. Thanks for posting on the HP Forums. Have a great day!
-
I need the driver for communication controller simple pci for Aspire 4820TG laptop
I need the driver for communication controller simple pci for Aspire 4820TG laptop
In fact, im doing the first batch of updates to windows and the yellow of the magically missing Pavilion, so im good now, thanks for the reply!
-
Communication controller need simple pci for an old hp dc 5800 desktop
Original title: looking for always
communication controller need simple pci for an older hp dc 5800 desktop vista business 32-bit
Communication controller map Add-ons, are hard to find at low prices... Try this link.
http://www.serversupply.com/controllers/
This company has what it ever developed for a pc, new/used/rebuilt...
Also, look at the hardware of pc from amazon.com
-
(Help) I need simple code for Bluetooth connection in the Eclipse IDE
I need simple code for Bluetooth in the Eclipse IDE connection because I do not know tutorial http://docs.blackberry.com/en/developers/deliverables/11938/Use_a_Bluetooth_serial_port_connection_5...
Please help me, thanks for all
Use the tutorial for 5 SDK (or lower), each SDK has its own set of samples.
-
The place of simple script for Windows
I used a simple Applescript on my Mac of Indesign for years called Square Up CS installation. It's a handy little script that is by default an object selected into a simple retangle. I think this is extremely helpful when I missed a text box properties accidentally moving a corner or who need to return to a normal text box after changing his shape for some reason any. I am moving to a Windows computer full time and would like good port this script on my new computer, but I'm not a guru script and don't have no idea how to write this in Javascript. Anyone able to help?
Tell application "Adobe InDesign CS6"
'the class gbnd' selection value {a, b, c and d}
the value 'category plst' of 'class ppth' 1 selection to {{b, a}, {a}, {d, c}, {b, c}}
tell the end
Hi, Diane.
Step we must translate the Applescript coding in human readable Applescript, what make you it stick in the Applescript editor and pressing on the compilation. You get this:
tell application "Adobe InDesign CS6" set {a, b, c, d} to geometric bounds of selection set entire path of path 1 of selection to {{b, a}, {d, a}, {d, c}, {b, c}} end tell
Second step:
Here is the translation in Javascript. Note that in JavaScript, berries (geometric boundaries and paths) start the meter to zero, rather than one, both "path 1" becomes "paths [0]", etc. ; [in addition, we refer to ' app.selection [0 '] instead of 'selection', because there may be multiple selections and AppleScript lets say 'selection' as meaning first, but JavaScript requires you to be explicit:
var abcd, a, b, c, d; abcd = app.selection[0].geometricBounds; a=abcd[0]; b=abcd[1]; c=abcd[2]; d=abcd[3]; app.selection[0].paths[0].entirePath = [ [b,a], [d,a], [d,c], [b,c] ];
I'm not 100% sure what is your test case, so if it turns out that the order of the numbers in the entirePath table is different between Javascript and AppleScript, then something can go wrong. I don't think, but please test it od.
-
simple script for the list of all data warehouses properties
I searched a lot of scripts to get information about my data stores. I can quickly export most the properies of that I need right to a csv file vCenter. A flagrant lack room is the 'space Proviosoned' display of list of data store. I look at the properties of each data store to see this information. Y at - it a script that can get this information? For this script, I don't reallt care about the news at the virtual machine level.
Until they solve this problem, you can use something like this
Get-Datastore | where {$_.Type -eq "VMFS"} | Select Name, @{N="Status";E={$_.Extensiondata.OverallStatus}}, @{N="Device";E={$_.Extensiondata.Info.Vmfs.Extent[0].DiskName}}, @{N="Capacity";E={"{0:f2} GB"-f ($_.CapacityMB /1KB)}}, @{N="Free";E={"{0:f2} GB"-f ($_.FreeSpaceMB /1KB)}}, @{N="Provisioned";E={"{0:f2} GB"-f (($_.ExtensionData.Summary.Capacity - $_.ExtensionData.Summary.FreeSpace + $_.ExtensionData.Summary.Uncommitted) /1GB)}}, @{N="Type";E={$_.Extensiondata.Info.Vmfs.Type.ToLower() + $_.Extensiondata.Info.Vmfs.MajorVersion}}, @{N="Last Update";E={$_.Extensiondata.Info.Timestamp}}
-
??? Simple Script needed for Illustrator?
Greetings.
I was wondering if anyone knew a well-known script there that for Illustrator that could automate this process (see attachment).
Much appreciated!
as long as all boxes are aligned, then this should do the trick.
// number Items var doc = app.activeDocument; var items = doc.pathItems; var loc = []; for(var i = 0; i < items.length; i++){ var item = items[i]; loc.push([item.position[0], item.position[1], item]); } loc.sort(function (a, b) { if (a[1] > b[1]){ return -1; }else if (a[1] < b[1]){ return 1; }else{ if (a[0] < b[0]){ return -1; }else if (a[0] > b[0]){ return 1; } return 0; } }); for(i = 0; i < loc.length; i++){ var txt = doc.textFrames.add(); txt.contents = i+1; //alert(loc[1][2].left); txt.position = [loc[i][2].left+10,loc[i][2].top - 10]; }
-
Total newbie looking for help with a simple script
Hi people,
I'm totally new to Flash. I created a simple presentation that has 3 buttons invisible.
By releasing the button 1 the chronology goes to the framework 5 and poster image 5. Button 2 = 10 frame and key 3 = frame 15. It works very well in author mode, but when I publish (flash 7) it does nothing, IE it has just on frame 1
the script that I have attached to the buttons is as follows (AS2)
on (release) {}
f_btn.onRelease = function() {}
gotoAndStop (5);
};
}
Set thanks
Please ignore this message
-
Trim ID indicator
3Q 13 200 N
3Q 13 201 N
202 3Q 13 Y->
203 4Q 13 N
204 4Q 13 N
205 4Q 13 NI need a QUERY to get the id of the table. These are policies
for a quarter given, if there are multiple records with indicator = N, then take the max (id) - in the above example id 205 should be returned for the quarter 4Q 13.
If there are multiple records with indicator = N and one record with indicator = O then return the id with indicator = Y... There is only one flag Y less than a quarter. in this case 202 should be referred TO THE QUARTER 3Q 13
Thank you
Ann
Try this?
with w_data like)
Select code 200, qtr 'Q 3, 13', flag "n" of all the double union
Select id 201, qtr 'Q 3, 13', flag "n" of all the double union
Select id 202, qtr 'Q 3, 13', 'Y' union flag double all the
Select id 203, qtr 'Q 4, 13', flag "n" of all the double union
Select id 204, qtr 'Q 4, 13', flag "n" of all the double union
Select id 205, qtr "Q 4, 13", "n" of the double flag
),
w_base like)
SELECT id, qtr, flag,
ROW_NUMBER() over (partition qtr flag desc, id desc order) RID
of w_data
)
SELECT id, qtr, flag
of w_base
where rid = 1
/
ID QTR F
---------- ---- -
202 3Q 13 Y
205 4Q 13 N
Maybe you are looking for
-
Can not connect to macbook pro, that keeps asking for password to icloud I have reset too many times I do not remember. Reinstalled operating system still does not work. Think to screw up the laptop and get back to a Windows machine. Not impressed wi
-
I have suddenly a window talking when you watch a videao-how to cut?
How to disable Firefox speaking voice who keep me talking about the 'new window Firefox' and all move and click on that I do.I was not able to find a way to silence the voice.
-
HP C4580 not scan to PC. I need help to configure my Netgear router please :)
Hello I've read here, the threads that talk about this printer prints only not to or from a PC - my problem is that the C4580 go scan from my PC, but will not scan to PC. I found an answer from someone who has had the same problem earlier this year,
-
I am trying to install a game via a DVD and get a message "autorun.exe error - application that the application failed to initialize properly (oxc0000135) click on ok to close the application. I use Windows XP. Anyone would please any suggestions to
-
Hi all I just bought this beautiful media hub and would like to know some answers. I don't know how to connect the hub as an FTP server from linux. I put a username and password but I don't know what port I should use. I use router WAG320N and my old