Question about Microsoft Windows Vista Home Premium with Service Pack 1: Windows

1 Answer

Action script for windows

I need to create an action script for windowswhich checks a value in text file if that value is there then do smome actions like open a dirctoy or set some remider like

Posted by on

  • jcoady
    jcoady May 11, 2010

    Please be a bit more specific.

    It's easy to check the contents of a file, especially text files, but the action you wish to take will determine if a batch file is sufficient, or if you should look to a more robust scripting solution - vbscript, or powershell for instance.



    Scheduling of the task may play a part in the decision as well. Is this a timed task (7:00 every Monday morning) or an event driven task (each time the file changes)?

×

Ad

1 Answer

  • Level 1:

    An expert who has achieved level 1.

    Hot-Shot:

    An expert who has answered 20 questions.

    Corporal:

    An expert that hasĀ over 10 points.

    Mayor:

    An expert whose answer gotĀ voted for 2 times.

  • Contributor
  • 31 Answers

Hi,

I think you need a FOR - DO Scriptcode.

example:
FOR /f %%f IN (actual.txt) DO echo %%f >> list.txt

"FOR" with Parameter "/F" means:
read in "actual.txt" every line as text, then save it in variable "%%f" and "DO" an "ECHO" in variable "%%f" which will be written in ">>" "list.txt"
Hope that helps.

Posted on Jun 15, 2009

Ad

1 Suggested Answer

6ya6ya
  • 2 Answers

SOURCE: I have freestanding Series 8 dishwasher. Lately during the filling cycle water hammer is occurring. How can this be resolved

Hi,
a 6ya expert can help you resolve that issue over the phone in a minute or two.
Best thing about this new service is that you are never placed on hold and get to talk to real repairmen in the US.
the service is completely free and covers almost anything you can think of.(from cars to computers, handyman, and even drones)
click here to download the app (for users in the US for now) and get all the help you need.
Goodluck!

Posted on Jan 02, 2017

Ad

Add Your Answer

Uploading: 0%

my-video-file.mp4

Complete. Click "Add" to insert your video. Add

×

Loading...
Loading...

Related Questions:

6 Answers

PhotoShop CS3 Droplet automation


Try the following steps
  1. Choose File => Automate => Create Droplet.
  2. Specify where to save the droplet. Click Choose in the Save Droplet In section of the dialog box and navigate to the location.
  3. Select the Action Set, and then designate which action you intend to use within the Set and Action menus. (Select the action in the Actions palette before you open the dialog box to preselect these menus.
  4. Set Play options for the droplet:
    a. Override Action “Open” Commands Open commands in the action refer to the batched files, rather than to the file names specified in the action. Deselect Override Action “Open” Commands if the action was recorded to operate on open files or if the action contains Open commands for specific files that are required by the action.
    b. Include All Subfolders Processes files in subdirectories.
    c. Suppress Color Profile Warnings Turns off display of color profile messages.
    d. Suppress File Open Options Dialogs Hides File Open Options dialog boxes. This is useful when batching actions on camera raw image files. The default or previously specified settings will be used.
  5. Choose a destination for the processed files from the Destination menu:
    a. None Leaves the files open without saving changes (unless the action includes a Save command).
    b. Save And Close Saves the files in their current location, overwriting the original files.
    c. Folder Saves the processed files to another location. Click Choose to specify the destination folder.

    Note: You can record an action that saves using a specified file name and folder. If you do this and deselect Override Action “Save As” Commands, the same file is overwritten each time. If you record your Save As step in the action without specifying a file name, the droplet saves it to the same folder each time but uses the file name of the document being saved.

  6. If the action includes a Save As command, choose Override Action “Save As” Commands to make sure files are saved to the folder you specified (or to their original folder if you chose Save And Close.) To use this option, the action must contain a Save As command, whether or not it specifies a save location or file name; otherwise, no files are saved.

    Some save options are not available in the Batch command (such as JPEG compression or TIFF options). To use these options, record them in the action, then use the Override Action “Save As” Commands option to make sure that your files are saved where you specify in the Batch command.

  7. If you chose Folder as the destination, specify a file-naming convention and select file compatibility options for the processed files:
    a. For File Naming, select elements from the pop‑up menus or enter text into the fields to be combined into the default names for all files. Elements include document name, serial number or letter, file creation date, and file extension. Starting Serial Number specifies the starting number for any serial number fields. Serial letter fields always start with the letter “A” for the first file.
    b. For Compatibility, choose Windows, Mac OS, and UNIX to make file names compatible with Windows, Mac OS, and UNIX operating systems.
  8. Select an option for error processing from the Errors pop‑up menu:
    a. Stop For Errors Suspends the process until you confirm the error message.
    b. Log Errors To File Records each error in a file without stopping the process. If errors are logged to a file, a message appears after processing. To review the error file, open it in a text editor after the Batch command runs.
Give it a try.........

Jul 30, 2009 | Computers & Internet

Tip

Ubuntu Nautilus in Action


1.Windows use Windows Explorer, its counterpart in Ubuntu
the Nautilus (file manager in Gnome environment).

2.Nautilus can offer us much more than that, it is enough
to wish to see Nautilus in real action.

3. Nautilus scripts are very powerful
they provide new ways to Handle files.
Right-clicking will become your new powerful weapon.

8e8c625.png

(1.A) Add a nautilus script:
System> Administration> Synaptic Package Manager
When you open it, you do Reload, Search and install:

nautilus-image-converter
nautilus-wallpaper
nautilus-script-manager
nautilus-script-collection-svn
Nautilus Subversion Management Scripts
nautilus-script-audio-convert
nautilus-share
nautilus-actions
nautilus-gksu
nautilus-open-terminal
rar
unrar


(1.B) After the installation:
Applications> Accessories> Terminal
When you open this copy it (when you ask for your password, type):

gconftool-2 --set --type=bool /apps/nautilus-open-terminal/desktop_opens_home_dir true

(1.C) Rise of Ubuntu and re-entry
System> Quit> Log Out


(1.D) Now you are quite prepared to see the Nautilus in Action

When you right-click, you get new opportunities in addiction,
whether you are on the desktop or in Nautilus, above pictures, etc..

Right-click easy to get:
-Set as wallpaper
change-size image
-open as root (administrator)
-Open Terminal here
-When you have over a file,
Right click> Create Archive. ZIP or. Rar ... the choice is yours ... etc.

on Jan 13, 2010 | Computers & Internet

Tip

Microsoft Excel tips


Auto sum shortcut key
Quickly create a Microsoft Excel formula to get the sum of all cells by highlighting the cells you wish to know the value of and pressing ALT and = .
Create hyper links in Excel
Quickly create hyper links in your Microsoft Word, Excel, or Front Page document by highlighting text and pressing "CTRL + K".
Close all open files at once
Close all open Microsoft Word and/or Excel files by holding down the shift key and clicking "File" and then "Close All".
Quickly open recently opened files
Quickly open the recent files by first pressing "ALT + F" to open the file Menu and press 1, 2, 3, or 4.
Create underlines without any text
This tip works with the majority of Microsoft Office applications. Easily create an underlined space by pressing CTRL + U to start the underline, then press SHIFT + Space for each underlined space you wish to create. An example of how this could be used is for printable forms, for example: Name: .
Print only sections of a document
Save on your printer ink by selectively printing in Windows programs such as Microsoft Word, Internet Explorer, WordPad, Outlook, etc. To do this highlight portions of text you wish to print and click print. In the printer dialog window under Page Range choose the option Selection. It is important to realize that not all programs or printer drivers support this feature.
Repeat recent action
Using the F4 key in Microsoft Office 2000 and above allows the user to repeat the last used action. For example, if you have changed the font of a selected text and wish to change another portion of text to the same font, pressing F4 will do this for you automatically.
Quickly undo
Quickly undo mistakes in the majority of most PC Windows program by pressing CTRL + Z.
Quickly above cell contents
In Microsoft Excel press CTRL + SHIFT + " to copy the above cells contents.
Using the Microsoft Excel Auto filter
Organize cells quickly by using Microsoft Auto filter. Columns that contains long listing of data can be easily sorted by using the Auto filter option, to use this option select the top rows of the columns you want to be used and select Data / Filter and Auto Filter. Once successfully completed you can use drop down arrows to filter the data automatically.

on Dec 27, 2009 | Computers & Internet

1 Answer

I have a series of .NEF RAW files photos from Nikon D50 digital camera. Need to take them into PhotoShop CS3 Camera RAW. I have one that has a grey card for balance and will use for color...


Droplets are simply actions contained within an icon in which you drag your images.

All those things are more appropriate for scripts. Actions can be a part of the script. You can learn about how to create them at PhotoshopSupport.com here. It takes some skill. But it can work out very nicely for you.

However, I recommend you consider Adobe Lightroom (LR) for your Raw files to help you go through and do quick edits. LR will export as any format, resolution and bit depth. Then you can fine tune them in Photoshop. LR can also exports DNG for you as well.

Jul 30, 2009 | Adobe Computers & Internet

1 Answer

I need a action script which checks a value in text file and if that file contains that value do some actions like reminder in PC or send a mail etc


just send me your mail address along with this problem in detail at searcherrate19@yahoo.com and believe me i will solve it in a jiffy.

May 23, 2009 | Computers & Internet

1 Answer

Connection from flash file to another file


If you are trying to create a text link that users can click on to send them to another page, then a single-click of the mouse is all you need. Here's what you do:
Text Link:
1) Use the Text Tool (T) to type some text.
2) Highlight all of the text and then open the Properties tab and next to the icon that looks like a chain link, enter the absolute (exact web address) of the file where you want the users to go.
3) Then, in the Target box, choose how you want the document to open. Use "_blank" to have it open in a new window, or "_self" to have it open in the current window.
Note: Certain web browsers will block the content if you are having the user download a document or zip file. Be sure to notify your users of this so they can take action to allow the file through.

Mar 18, 2009 | Computers & Internet

2 Answers

Unable to open .pps attachments from windows mail in windowsvista


If you have Windows XP:
Manual fix
  • Click Start, Run and type CONTROL FOLDERS
  • In the Folder Options applet that opens, select the File Types tab
  • Scroll down and locate the following entry:
PPS (Microsoft PowerPoint Slide Show)
ppsopen.png
  • Click Advanced
  • Click the New button
  • Type Open in the the Action: text box
  • In the Application used to perform action: field, type the following exactly:
For PowerPoint Viewer 2003:
"C:\Program Files\Microsoft Office\PowerPoint Viewer\pptview.exe" "%1"
For PowerPoint Viewer 2007:
"C:\Program Files\Microsoft Office\Office12\pptview.exe" "%1"
  • Uncheck the Use DDE box
  • Click OK, OK
  • Close the Folder Options dialog
-Tha Mp3 Doctor

Dec 31, 2008 | Microsoft Windows Vista Home Premium with...

1 Answer

Action script


Here is the simpliest of them all:

this.createTextField("myText", 1, 0, 0, 100, 25);
this.myText.text = "Hello world!";
This script writes Hello world! on the screen, and if you want to get to know ActionScript better, here is a great way to start:
http://en.wikipedia.org/wiki/ActionScript
Read that page, visit some of the external links you find there and later you may search Google for terms like "Action script tutorial" or "Action script examples"

Hope this helps. Ask again if you need more help.

Sep 12, 2008 | Microsoft Windows XP Professional With...

1 Answer

About flash action script


hi...

i am Victor From aura concepts worker

you have that script in about as

i tell that
creat the about after that you go to about layer select first frame select and go to action and clik stop after that you will go to about selct click "F8" then selected bottun select enter then go to about duble clike then you see that up, over, down, hit all frame "F6" clik then hit file go to about in drow to box the you come that back select the about action click that is script

on (press) {
gotoAndPlay(your frame);
}

thank you
email-victor181info@yahoo.com
my condact - 9900633192

Jan 15, 2008 | Macromedia Flash MX

9 Answers

Action script


I tried your script and it all checked out fine when I ran it. Make sure you click on the first frame of layer action and open the Action Script Panel (F9). Once this is accomplished. Click on the second frame of layer action and press F6 key. Like I said everything worked out when I tried using the script you posted so, if anything I would suggest starting from scratch.

Aug 24, 2007 | Macromedia Flash MX

Not finding what you are looking for?
Microsoft Windows Vista Home Premium with Service Pack 1: Windows Logo

Related Topics:

3,918 people viewed this question

Ask a Question

Usually answered in minutes!

Top Microsoft Computers & Internet Experts

micky dee

Level 3 Expert

2889 Answers

Piyal Perera
Piyal Perera

Level 3 Expert

528 Answers

Les Dickinson
Les Dickinson

Level 3 Expert

18409 Answers

Are you a Microsoft Computer and Internet Expert? Answer questions, earn points and help others

Answer questions

Manuals & User Guides

Loading...