Call the cmd line in VB to JS (Some Indesign autour :))
Hi all
I called a shell script in applescript once but I cannot get it to work in VB. I said that I don't know a thing in VB so all I tried was copy and paste the code.
I have to launch a command window to transfer files (or at least set up a line of cmd, the helpdesk will give me). This call will come at the end of a writing of indesign (here go us).
My intention is to use doScript and run applescript or vb depending on the system. May biggest concern is the call of the cmd from windows with VB.
Any ideas?
TIA Loïc
Hey love!
Try this:
var scpt = "Dim oShell\ Set oShell = CreateObject (\"WScript.Shell\")\ oShell.run \"cmd /K CD C:\ & Dir\"\ Set oShell = Nothing"; app.doScript(scpt, ScriptLanguage.visualBasic);
It works here
--
tomaxxi
http://indisnip.WordPress.com/
Tags: InDesign
Similar Questions
-
How to determine the version of ogg of the cmd line
I am writing a perl script to check the inventory of the machine and so far I can't find the software installed on the machine but
I have trouble finding if ogg is installed and it has version. So far I'm capturing the output of two commands:My $rpmResult is qx (rpm - qa - queryformat '% {SIZE} % {NAME} % {VERSION} \n');.
My $opatchResult = qx (opatch lsinventory-detail);
How can I capture information from ogg?
Thank you
Paul.
From the command line, "-v" option.
All ggsci, mgr, extract, etc. must report the same version in a single installation. Example:
$ ./ggsci -v Oracle GoldenGate Command Interpreter for Oracle Version 11.2.1.0.6 16211226 OGGCORE_11.2.1.0.6_PLATFORMS_130418.1829_FBO Linux, x64, 64bit (optimized), Oracle 11g on Apr 18 2013 23:36:41 Copyright (C) 1995, 2013, Oracle and/or its affiliates. All rights reserved. $ ./extract -v Oracle GoldenGate Capture for Oracle Version 11.2.1.0.6 16211226 OGGCORE_11.2.1.0.6_PLATFORMS_130418.1829_FBO Linux, x64, 64bit (optimized), Oracle 11g on Apr 18 2013 23:45:44 Copyright (C) 1995, 2013, Oracle and/or its affiliates. All rights reserved.
The installation of GG type is also included, for example, "Oracle 11 g" means that GG is for Oracle database v11g (11 GR 1 material) or 11 GR 2 and not on the MySQL, SQL Server, Oracle, 12 c, etc.
-
to access shared folders on the cmd line?
Hi, I'm trying to copy files to the shared folders on the command line. some research I found a few references to use the net use command to associate files with a virtual drive:
NET use z:
. host\y (where there is the shared folder)or
NET use z:
. host\shared folders\yHowever, the syntax is wrong, or this is the wrong approach entirely. pointers would be much appreciated
Thank you!
Either you use:
"NET use."
VMware-host\Shared files.This will be the map a network drive that contains folders in it...
... or you use the deep link:
"NET use."
VMware-host\Shared Folders\vmware»to directly map a shared folder as a network drive.
BTW: The best way to know what you need on the command line is to map the "Shared Folders" in law by clicking on it in Windows Explorer and then run "net use" to see how it has been mapped.
André
-
Like BACK in the old days, I am trying to print directories of a multitude of CD of my printer LPT1 in order to have a way to watch the CD without having to load them. If possible, please give explicit orders - I'm terrible at understanding the "jargon" directions.
Although this has nothing to do with the subject of this forum, order the freeware utility PrintFolders you can download via my web site,
writing in the new message: * e-mail address is removed from the privacy... * Like BACK in the old days, I am trying to print directories of a multitude of CD of my printer LPT1 in order to have a way to watch the CD without having to load them. If possible, please give explicit orders - I'm terrible at understanding the "jargon" directions.
Mayor Graham - Word MVP
www.gmayor.com
Posted by bridge communities
http://communitybridge.codeplex.com/ -
In a sequence of CTF, is it possible to obtain a text file of clips in sequences display (name and duration)? There is a display of text file for clips (cmd-9). Zoom the timeline makes this visible annotation for shorts, cancels but the ability to see the whole sequence of the time line. Of course, it would help my editing.
TIA
In Final Cut Pro 7, you can use editing > find command to search on used clips in the sequence. See if there is an equivalent command in FCE. Unfortunately, I can't determine that at first hand on my system. (In addition, if you are still interested whereas FCP X, there the so-called Timeline index which provides quick access to a list of markers, clips, effects, etc..)
Good luck.
Russ
-
I'm using Firefox on a Windows 7 computer. Firefox does not open after the last update. I read the help articles and it seems that I need to create a new profile because my settings were probably corrupted. I'm unable to open the profile technical, even when you use the directory in cmd line path. I tried the following commands in the command line:
Firefox Pei
"C:\Program Files (x 86) \Mozilla" PEINothing happens with every order.
I am also running Norton Internet Security. I read a help of virtual navigation features Re article that can cause a problem. The article says to check the setting of virtualization in the internet security software and to clear the virtual cache. I went through all the menus of settings in Norton Internet Security version 21.6.0.32 and I don't see anything that looked like in "virtualization" settings, so I guess that does not apply to me. "
If you have any ideas, I had appreaciate that your expertise!
Hello arcandl, at the launch of the firefox is not after you double-click the shortcut, it is sometimes also a sign of active malware on a system.
you might want to try running a scan with some various other security like the free version of malwarebytes and adwcleaner tools that are specialized to remove the adware and browser hijackers. -
How to close a cmd window 'call the executable '.
Hello
I have the following sequence in the 2013 Teststand
1. the installation program
"Call the executable" call a java program in a cmd window. --> This step works
2 main
A call to the java program "n" dll .net times--> this step works
3 cleaning
How to close the cmd window opened by "executable call?
TKS
You can create another not executable call. The file path is TASKKILL and arguments are "/F /IM cmd.exe/t. This will close all open windows cmd.
-
Use the command line to call EX60/C40
Hello
I'm looking to use the command line or xml to call extensions of our EX60 and C40. I want to automate the call made by the devices. We use 9.1 CM and TC6.
In addition, if someone knows if it is possible to configure ERA/Hot Dial so when a user picks up the phone on the EX60 it automatically connect an extension? I tried through dialing SIP and ERA rule in CUCM.
Thank you
Kaleb
To dial the command line, you can use the command 'xcommand dial.
xCommand Dial
Dial a number from the system. Returns information on the CallId and ConferenceId, which are necessary for some other commands.
Number: Enter the number or address.
Protocol: Select the Protocol h.323 or SIP.
CallRate: Fix a rate of call.
CallType: Select the type of audio or video call.
BookingId: any identifier that an external booking system (e.g., TMS, CTS - MAN) can use for its own references to match calls placed with the internal identifier systems of booking for a meeting. This can be any string, for example, a GUID. The reservation Id will be provided in the call connects, events of appeal etc. for the call.
Requires the user role: USER
Parameters:
Number (r):
Protocol:
CallRate:<64..6000>
CallType:
BookingId:Example:
xCommand Dial number: 543210 Protocol: h323
64..6000>
Ok
* r DialResult (status = OK):
CallId: 2
ConferenceId: 1
* end -
extra line after calling the model..? Call@:header? >;
Hi all
Whenever I call the RTF model, there is an additional features created after this call. For example there is an additional output of the call@header and ABC features although there are no spaces in the rtf. Is there a way to remove these additional lines?
<? call@:header?
<? Model: header? > region, address... <? end header? >
ABC
Thank you
Sushil
Use
Thank you
Bipuser
-
Can the vcenter server that an ESX host is connected to determine through query of the esx host cmd line?
All points will be awarded. Thxs.
Look in
/etc/opt/vmware/vpxa/vpxa.cfg
you will see that the IP VCMS listed something like
1.1.1.1 -
To implement a conditioner creative cloud deployment of Acrobat Pro, I wanted to include the changes made by the Customization Wizard, as described here:
http://helpx.Adobe.com/creative-cloud/Packager/deploying-Acrobat.html
When I deployed earlier versions of Acrobat, I simply added in Transforms = filename.mst to the command line so that the changes take effect. With creative cloud conditioner and Deployer of Exceptions command-line syntax, I'm not clear on how to call the .mst file during installation. Is it still possible?
Currently, I use the following two commands:
- exceptiondeployer.exe - workflow = install - mode = pre - installlanguage = en_US
- MsiExec.exe /i Acrobat_x64.msi
While normally I would add the syntax to turn to the second command, it does not seem right in this case that the transformation is a change of the MSI, which is part of the folder 'exceptions '.
Hi sszczygiel,
Please try this command instead of deployeur Exception
"MSIEXEC /I
TRANSFORMS = \AcroPro.msi" \AcroPro.mst "/ SB Please let us know if it helps.
Kind regards
Abhijit
-
Calling Custom Page from the advance line table
Hello
My need is,
Advance in Standard page table.
I need to add the column to the table of the advance and the column will be a link that is mean picture that calls the Custom Page.
Once I select the line using RadioButton and click on the Image, the custom page name and
I want to move the page setting custom Standard
How to get there?
I hope that you will have my need.
ThanxCreate the column through customization on the Page Std and the bean of the image, set the destination as URL:
Code snippet OA.jsp?page=/
/oracle/apps/ak/employee/webui/EmpDetailsPG&employeeNumber={@EmployeeId} At runtime, the OA Framework substitutes the current row's view instance attribute values for the tokens inside the curly braces. So, for example, &employeeNumber={@EmployeeId} becomes &emloyeeNumber=1234. Thank you
-Anil
http://oracleanil.blogspot.com/ -
"Call the executable" allows the environment variable "path"?
Hello
It seems that when you use the step type "call the executable" you need to enter the absolute path of the executable, or the absolute working directory, in the definition of "call settings" step. I seem not to be able to put in a *.exe by himself in the path and have the command is found, even if I can't enter this same command on the command line (windows 7). Is it possible to configure this step to use the windows ' path' environment variable to search for the executable?
David J.
You can do the following:
(1) specify cmd.exe for the file path.
(2) specify "/c yourexe.exe" for the argument expression
This will launch a command window and tell it to run your application with the simple file name.
The reason why you can't put just yourexe.exe in the path of file is that TestStand made its own resolution of file path that is different from what the window command. It uses its directories to search to resolve relative paths. If you do not have to specify an absolute path for the file path parameter, but it must be compared to a TestStand search directory or the current sequence file.
Hope this helps,
-Doug
-
call the default Java methods UCM services?
Hello!
I have a custom Java method that I call the definition of custom service UCM. This method of Java, one of the tasks is to call standard UCM UPDATE_DOCINFO service to update the metadata for that document. What is the right way to call the AAU services the default JAVA methods?
Thanks a lot for your help!
I use the lines below...
DataBinder binder = new DataBinder(); String cmd = "
"; this.m_requestImplementor.executeServiceTopLevelSimple(binder, cmd, this.m_userData); You can add the parameter to the service of "binder".
binder.putLocal("
", " "); This doesn't cause pollution data.
-
How to call ScheduleBatch.cmd to external server
I'm looking to launch a series of reports of Hyperion after loading the data to the Essbase. Currently, our data warehouse is loaded and then triggers a bat file that loads Essbase using a MAXL script. I want to add the automatic sending of Hyperion financial reports until the end of this process using ScheduleBatch.cmd. I can do it from the report server, but the Bat/Maxl exists on a separate server. Is it possible to call the ScheduleBatch.cmd from an external server? If not, is there another way to do this?
Thanks for your help.
HeatherI do something similar, in my environment, although I use esscmd.
First, I exported the lot for the planning of the command line, which generates an XML file. In my case, I stored the XML in c:\bin\financial_reporting\batch_reports\exported_batch.xml
Then, I created a bat file that executes the package (content of the italic command file)
REM START_BATCH_FILE
d:
CD D:\Hyperion\products\biplus\bin
D:\Hyperion\products\biplus\bin\ScheduleBatch C:\bin\financial_reporting\batch_reports\exported_batch.xml>
REM END_BATCH_FILEI created a scheduled task on the report server that runs the task, but the task is not enabled.
At the end of my load, I initiates a call to the report server to run the job (batch file which don't load and performs the task in italics).
LOADING REM. CMD
ESSCMD F:\DataLoads\Scripts\SCR\Load_and_AGG. ESSSCRIPTC:\WINDOWS\system32\schtasks.exe/run /tn Run_Scheduled_Batch/s
> / u >------ > / > p
REM END_DATALOAD. CMDI don't know if I did anything else to make this work (done this just now).
I hope this helps.
Thank you
Dan
Maybe you are looking for
-
Until the week last Firefox coasted reasonably little pop-up (windows 10), now it crashes immediately. I reinstalled, ticked hardware acceleration (it starts in safe mode), but is not fixed. Any ideas?
-
Screen goes black after the HP logo
I have not received an answer back since yesterday morning and I really need help! I want to 2ce2502rs6 series dv6 product b6b49av. It starts with hp logo and goes to black screen. I tried to fix it before and it didn't work. I tried hard reboot and
-
Officejet j4580 printing problems
I'm under win 7 HP all in one machine Officejet J4580 Implementation on the newer computer, I find that FAX works OK Scanner works OK Printer will print OK test page Printing documents No.. I'm trying to print documents in the following Notepad - ins
-
I just bought a basic model X 51 R3. I want to get a GTX970 for her. What is the best for this system? I know there are size limitations, but also the limits of power. I could go with this one. EVGA GeForce GTX 4 970 GB SC GAMING ACX 2.0, 26% Coo
-
Adobe flash installation breaks down
MacBook Pro OS X version 10.9.4 Safari version 7.0.5The flash installer download is successful, but when it is launched, the installer crashes automatically.Apple told me that program re-rail encoding hundreds of times until it crashes. Some applicat