Script to change name of author
Does anyone have a script which will:
1. Prompt for the name of the name of an author for mark-up eg underlining;
2. Change the name of the author.
The script would typically be deployed in the following circumstances:
1. you have a large document you want to analyse;
2. you apply mark-up to selected aspects
3. you change the name of the author to tag the relevant aspects thereby creating a series of themes
4. This gives you the ability to negotiate through the document by theme
answered
Similar Messages
-
Powershell Script to change the default user Account picture for all users in windows 7 and 8
Hello,
Can some sone help me with PS script to change user account pictures of all user account in windows 7 and windows 8 ?
I will deploy this through MDT TS as Custom TS after OSD.
Shailendra
Shailendra DevHello,
Can some sone help me with PS script to change user account pictures of all user account in windows 7 and windows 8 ?
I will deploy this through MDT TS as Custom TS after OSD.
Shailendra
Shailendra Dev
The default user account picture is stored here.
C:\programdata\Microsoft\User Account Pictures\user.bmp
It should just be a matter have copying the picture you want to that location and over writing what is there.
or....
Computer Configuration\Administrative Templates\Control Panel\User Accounts\Apply the default user logon picture to all users
You can also configure this by a registry setting;
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\Explorer]
UseDefaultTile = 1
The picture that you configure, will not be loaded until the user account will actually be created on the pc. Meaning the first time a >new< user will log on to a pc, they will have no picture shown at all using their login screen (this is default
behavior). Same will occur if you enable the policy don't display last user name. However, once they log in the picture will be shown in the start menu, and if they lock their pc the image will also be shown -
Powershell script to change the a column value of all documents in a site.
Hi,
I need a powershell script to change the value of a column (a site column which has been added to all document libraries) in all documents in a site,
For example:
-column 1 is a site column added to all libraries
the value of column 1 of all documents under this site: http://intranet.doman/ex1 should be equal to V1
the value of column 1 of all documents under this site: http://intranet.doman/ex2 should be equal to V2
So, if I can write a powershell script to change the value of all documents in a site, I can modify it for different site that I have and run it for each of them individually,cls
# Is dev version?
$dev = $false
# Configuration
$termStore = "Managed Metadata Service"
$group = "G1"
$subjectMatterTermSetName = "Subject Matter"
# Check if SharePoint Snapin is loaded
if((Get-PSSnapin | Where {$_.Name -eq "Microsoft.SharePoint.PowerShell"}) -eq $null) {
Add-PSSnapin Microsoft.SharePoint.PowerShell
[System.Reflection.Assembly]::LoadWithPartialName("Microsoft.SharePoint.Taxonomy") | Out-Null
function GetTermStore($site, $termStore, $group, $termSet) {
$session = New-Object Microsoft.SharePoint.Taxonomy.TaxonomySession($site)
$termStore = $session.TermStores[$termStore]
$group = $termStore.Groups[$group]
$termSet = $group.TermSets[$termSet]
return $termSet
if($dev) {
Write-Host "Running DEV version..."
$webUrl = "http://Site1"
$libraryName = "L1"
$subjectMatter = "C1"
} else {
$webUrl = Read-Host "Enter Site URL"
$libraryName = Read-Host "Enter Document Library name"
$subjectMatter = Read-Host "Enter Subject Matter"
try {
$web = Get-SPWeb $webUrl
$site = $web.Site
$library = $web.Lists[$libraryName]
$items = $library.GetItems()
$subjectMatterTermSet = GetTermStore $site $termStore $group $subjectMatterTermSetName
$subjectMatterTerm = $subjectMatterTermSet.GetTerms($subjectMatter,$true) | select -First 1
foreach($item in $items) {
if([string]::IsNullOrEmpty($item["Subject Matter"])) {
#Write-Host "Filename: $filename / Keywords: $keywords / Subject Matter: $subjectMatter / Document Type: $documentType"
Write-Host "Updating $($item["ows_FileLeafRef"])..."
# Set Subject Matter column
$subjectMatterField = [Microsoft.SharePoint.Taxonomy.TaxonomyField]$item.Fields["Subject Matter"]
$subjectMatterField.SetFieldValue($item,$subjectMatterTerm)
# Update Item
$item.SystemUpdate()
catch
$ErrorMessage = $_.Exception.Message
Write-Host "Something went wrong. Error: $ErrorMessage" -ForegroundColor Red -
Need a script to change the start time of meetings set by someone else...
Hello,
I have a series of events that someone else created and the start time is off by 1 hour in my timezone. Is there a script available to run and change these times or do I have to delete them and manually create them myself?What I ended up doing John is just simply deleting the original events from iCal then I went in to Outlook and manually changed the start/stop times of each event then went into the IMAP Calendar folder, clicked on that event and added it to my iCal. Thats sort of the process I use for getting my events to from Exchange to iCal anyway (can't wait for Snow Leopard) but that did the trick for me for these few items that were off. Fortunately I don't expect any changes from the author.
Thanks for responding!
JimN -
RE: 1) Changing name and IP address of an AIX 4.2 Server 2)Using NAT
Daniel,
you (normaly) just have to :
1) edit the $FORTE_ROOT/fortedef.sh fileand change the value of variable
FORTE_NS_ADDRESS
2) shutdown and restart forte environment
3) put the new values in the control panel of the client and run !
It worked on our site with the same configuration (Aix 4.2)
Good luck
De : Daniel[SMTP:[email protected]]
Répondre à : Daniel
Date : vendredi 18 juin 1999 13:08
A : [email protected]
Cc : Jose Ignacio
Objet : 1) Changing name and IP address of an AIX 4.2 Server 2)
Using NAT to reach forte
Hello Forte Users :
I have 2 questions to make:
1)
I've installed a Forte Server Central Node (Release 3.0.F.2) in an
IBM RS/6000 with OS AIX 4.2
(The name of the server is Name_1 and the IP address is
125.125.50.50 with mask 255.255.255.0)
Nowadays we had to change the name and IP address of this server
lets say to Name_2 and 125.125.60.60 with mask 255.255.255.0.
After that we try to find any reference to old name and IP address
in the forte directory and all of its subdirectories changing them to
the new ones.
After these changes we found than forte could'nt start the nodemgr
server.
We have too many reasons to avoid installing FORTE again.
Does anybody know if I have to change anything more to make
nodemgr server work.
2)
The second question is about NAT (Network Address Translation).
To reach a Forte Server Central Node from a Forte Client we have
to pass through a Firewall and NAT.
We are researching and at this moment we can not reach the server
from the client, has anybody any suggestion to correctly configure
Forte (Client and Server) to use NAT between them.
If anyone could help me I would be very pleased.
Thank you very much in advance,
Daniel GonzáLucas (EAM Sistemas Informáticos SL, Spain,
e-mail: [email protected])
To unsubscribe, email '[email protected]' with
'unsubscribe forte-users' as the body of the message.
Searchable thread archive <URL:http://pinehurst.sageit.com/listarchive/>>> 15 Mins is not enough for completely the replication.
>> use repadmin /syncall /aEpd - for force replication.
>> Wait 3 hrs minimum.
Regards,
Biswajit
MCTS, MCP 2003,MCSA 2003, MCSA:M 2003, CCNA, Enterprise Admin, ITIL F 2011
Blog:
Script Gallary:
LinkedIn:
Note: Disclaimer: This posting is provided & with no warranties or guarantees and confers no rights.. -
Urgent:How to modify a script without changing the print programme
Hi all,
Can any body pls tell me <b>How to modify a script without changing the print programme</b>
Give m esome real time examples.
Good points willbe rewarded
ThanksHi
You can write a external Subroutine to fetch the extra data into the script program
see the following sample code
How to call a subroutine form SAPscripts
The Form :
/:PERFORM CDE_CENT IN PROGRAM ZKRPMM_PERFORM_Z1MEDRUCK
/:USING &EKKO-EBELN&
/:CHANGING &CDECENT&
/:ENDPERFORM
The report :
REPORT zkrpmm_perform_z1medruck .
DATA : BEGIN OF it_input_table OCCURS 10.
INCLUDE STRUCTURE itcsy.
DATA : END OF it_input_table.
déclaration de la table output_table contenant les
variables exportées
DATA : BEGIN OF it_output_table OCCURS 0.
INCLUDE STRUCTURE itcsy.
DATA : END OF it_output_table.
DATA : w_ebeln LIKE ekko-ebeln,
w_vbeln LIKE vbak-vbeln,
w_zcdffa LIKE vbak-zcdffa.
FORM CDE_CENT
FORM cde_cent TABLES input output.
it_input_table[] = input[].
it_output_table[] = output[].
READ TABLE it_input_table INDEX 1.
MOVE it_input_table-value TO w_ebeln.
CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
EXPORTING
input = w_ebeln
IMPORTING
output = w_ebeln.
SELECT SINGLE zcdffa FROM ekko
INTO w_zcdffa
WHERE ebeln = w_ebeln.
it_output_table-name = 'CDECENT'.
MOVE w_zcdffa TO it_output_table-value.
MODIFY it_output_table INDEX 1.
output[] = it_output_table[].
ENDFORM.
COPING SCRIPT
There are some Standard Sap Scripts in SAP. We cant directly execute them in scripts we have to use some T-codes and by giving some input to the required fields we can see the output printform.
I will show one example. There are some Standard Sap Scripts such as MEDRUCK which is a standard Sap Script for Purchase Order and RVINVOICE01 for billing and so on...
To see oupt of MEDRUCK go to T-code ME9F give purchase order number and execute select one number and click on dislplay messages button on application tool bar you can find the print form of MEDRUCK.
You cannot change the Standard Sap Scripts but you can use Standard Sap Scripts and Copy them to userdefined Script and can make changes to them and replace standard Sap Script with usedefind script.
Ex: Go to SE71,
on menu bar u find Utilities->copy from Client. click on it u ll find new screen showing
Form name:
Source Clinet:
Target Form:
give Form name as usedefined form name EX: ZFORM1
Source client as 000 and
Target form as MEDRUCK.
execute.
Now, the standard from MEDRUCK is copyied to your form ZFORM1.
NOW, go to SE71 and give form name as ZFORM1 and do some changes to the form such as adding logo any thing. save and Activate.
Now, you have done changes to the Form ZFORM1 and u have to replace your form with standard SAP Script.
Go to NACE Transaction.
on Applications select EF for purchase order and click Output types button on application tool bar.
now select NEU as output types dobule click on Processing Routines.
now click on Change option on application tool bar and on right side u find MEDRUCK in form place replace MEDRUCK with ZFORM1 and SAVE.
go back twice and now go to T-code ME9F give the purchase order number and execute and select one option and click on display messges button .
you will find the changes that you have done in ZFORM1. so we cant chage the standard Sap Scripts by copying the Standard Sap Scripts we can chage and replace with our forms
Refer
https://forums.sdn.sap.com/click.jspa?searchID=4089895&messageID=3239299
Regards
Message was edited by:
Kiran Sure(skk) -
Script to change Safari Preferences
Hello,
I'm trying to build a script to change Safari Preferences :
"Tell Application Safari"
Set the default browser as "Safari"
End Tell
But it does not work...
I will need it to make this change on a lot of Macs from Apple Remote Desktop.
Do you know where are located the Apple Script Commands in Safari ?
Thank you
MarcHi krsmes
Try this GUI script, make sure enable for assisted devices is on in all your macs.
activate application "Safari"
tell application "System Events"
tell process "Safari"
click menu item "Preferences…" of menu 1 of menu bar item "Safari" of menu bar 1
click button "General" of tool bar 1 of window 1
tell pop up button 2 of group 1 of group 1 of window "General"
click
click menu item 6 of menu 1 -- change the number 6 to what ever number controls safari as default browser for you
delay 1
--tell application "System Events"
--if (name of processes) contains "Safari" then tell application "Safari" to quit
--end tell
--or
tell application "System Events"
if (name of processes) contains "Safari" then tell application "Safari" to close window "General"
end tell
end tell
end tell
end tell
Budgie
Message was edited by: Budgie
tested on G5PPC 10.4.11 -
Change name of signal from the funktionge​nerator?
Hello,
the output signal is "signal out". The received signal in DIAdem is "Untitled". Now I will change the name of the rectangle signal into "hall_signal".
Can anyone help me?Hi,
I couldn't figure out the problem clearly.. but i suppose you are asking to change the signal name w.r.t different signals..
as function generator generates different types of signal so it's output is commonly written as "signal out". You can use the property node of graph or chart watever you are using as indicator to dynamically change the label of Y axis..
as per DIAdem is concern you can write in script to change the name as you want...
If you wanna ask something different then plz elaborate your requirement..
Regards
HS -
How can I uniquely identify computers on the same network/account specifically for airdrop use? When I change name on one computer under contacts it changes on all computers. I would like to change icon and name for each computer.
you would need to setup a VPN and tunnel into your office.
FYI..the default ports are 3283 and 5900. -
Is it possible to script language change in OSX Lion ?
I recently purchased a Disney game (Cars 2) from the App Store, which advertises being available in 5 languages. It seems now that the game has no in-app options to change language, but selects the language based on OSX settings (but otherwise the app doesn't use ANY of the GUI elements from the OS).
My Mac's are all set up in English, in the account on which my kid plays the game doesn't have administrator rights (for good reasons). He doesn't master the English language enough and would like to play the game in dutch. On the other hand, when using Safari and other apps, he is used to the English user interface.
Is it possible to create a script that changes the Finder language to Dutch, then forces Finder Quit, then launches the App, and after quitting the App reverses the Finder Change ? (or if not in one step, maybe in a number of subscripts), so that I can let my kid enjoy his game in dutch without me having to be present each time to change the system settings ?
Thanks in advance.
PhilipTom, thanks, this works perfectly. In older days, I have been a programmer on Mac (long before even the PowerMac days), and back then I would have used ResEdit to do something similar as what you suggested. Since those days are long gone, I was not sure if it was possible to change the resources of an app without extensive coding software, but the trick you just showed me seems to be the current-day equivalent of ResEdit ...
Anyways, you saved our day ... thanks alot
Philip -
Hi,
I have a customized SharePoint page that takes user input data, validate some of the data, then writes the data to a SharePoint list. If an exception occurs, it will write the error to the ULS.
All was working well in the test environments.
However, recently we noticed that in the QA environment, when it's trying to write to ULS, it causes another issue:
Insufficient SQL database permissions for user 'Name: NT AUTHORITY\IUSR SID: S-1-5-17 ImpersonationLevel: Impersonation' in database 'SP_F1_Config' on SQL Server instance 'SQL01'. Additional error information from SQL Server is included below. The EXECUTE
permission was denied on the object 'proc_putObjectTVP', database 'SP_F1_Config', schema 'dbo'.
I've traced through the code and found that it fails on the line:
SPDiagnosticsServiceBase.GetLocal<LoggerError>();
where LoggerError is the logger class inheritng SPDiagnosticsServiceBase
I have also googled around today, but the most positive solution provided
on this page was to manually modify SQL object permission, which I believe we should not do, and would not be supported by Microsoft.
So the questions are:
Why is AUTHORITY\IUSER used for SPDiagnosticsServiceBase.GetLocal()? Should that account actually be allowed to access SharePoint databases? (This is an intranet environment and using claim based/Windows authentication, no no anonymous access would be allowed
anyway).
I've checked the Application Pool account permissions in SQL, comparing the environment that works and the one that doesn't work, and the permissions/roles/schemas look identical on server and database level. Where else can I check?
On the environment that works, I logged on as SharePoint administrator, created a new SharePoint Visual Web Part solution in Visual Studio, just to test writing to ULS. Then I press F5 in Visual Studio to debug it. It also has the same problem.
It just seems like somehow the user's identity (or whatever the identity SharePoint required) was not passed to SPDiagnosticsServiceBase.
Any suggestions, or even better, solutions would be really really much appreciated!Hi,
Thanks for your sharing, it will be userful to the people who stuck with the same issue.
Best regards
Patrick Liang
TechNet Community Support -
[JS, CS3] a script to change language in all paragraph styles
Hi,
I made a script to change the language in all paragraph styles to "French", but when I run it I get the error: "Invalid request on root style". Could you please tell me what am I missing?
myDoc = app.activeDocument;
myStyles = myDoc.paragraphStyles;
for (i = 0; i < myStyles.length; i++)
myStyle = myStyles[i];
myStyle.appliedLanguage = "French";Thanks a lot!
The problem is solved
Ola -
Converting Video to iPod, can you change name of file
When you convert Video to iPod format, can you change name of the new file or put some "marker" so one can tell which is the orginal and which is the new file?
Currently it is difficult to tell between the orignal and the new file.
thanks in advance
RohitYou'd probably be better off doing this sort of editing in iTunes, and letting it move the files appropriately.
Go to the preferences, Advanced tab, and check the box to 'Keep iTune Music folder organized'. Then any changes you make to song names or other info (within iTunes) will automatically be applied. -
In Firefox 2.0+ you can go to Advanced JavaScript Settings and check a box to allow scripts to change status bar text. How do I do this is Firefox 10.0.1?
Two items in the Advanced JavaScript window were removed as of the Firefox 4.0 version, but they are still available thru about:config .
Type '''about:config''' in the URL bar and hit Enter. <br />
''If you see the warning, you can confirm that you want to access that page.''
Filter = '''dom.disable_window_status_change''' = double-click to toggle to '''false''' to allow websites to mess with status text. -
Scripts for changing the address of the user when they have been in the box for 6 months
Scripts for changing the address of the user when they have been in the box for 6 months
If users are in a folder for deactivated users and disabled users in Active Directory, and been there for 6 moths do: change email address in exchange to existing email address.old
Anyone have suggestions on how I can go about it?What is this "box"? What is this "folder" you're asking about? You'll likely get a better answer if you use standard terminology.
Ed Crowley MVP "There are seldom good technological solutions to behavioral problems."
Maybe you are looking for
-
After I installed firefox four a pop up dialog box started showing imediatley and clicking OK made it dissappear and return a split second later, over and over again. I typed in my eamil address to contact firefox about it in the dialog box for that
-
I am having trouble connecting to my in-home internet via my wireless router. The IPad says I'm connected to the router, but I am unable to receive email, Facebook and Safari. I run through Charter Cable. This only occurs on my IPad. My desktop work
-
Hello to everybody, I just bought Lenovo P70 4G LTE, in which the Gallery app is playing Videos automaticlly while scrolling. Is this a special feature or problem. if it is a feature then how it can be disabled. I read in some of the Phone specificat
-
Hi, I installed JDBC driver- ojdbc14.jar for oracle 10.2 and it is working,now I want install JDBC driver ojdbc14.jar for oracle 9.2 (I am on Unix & PI 7.1) for that I add the ojdbc14.jar file in .SDA file and deploy it using JSPM. but still the ser
-
How to overwrite certain drop down menu items
Hi, i have a dropdown menu where i disabled custom text entry. the last item in the dropdown is the "Other" option where I want the user to write extra details. I was wondering if there's a way to pop up a text field when the "Other" option is select