I need help with Variable Manipulation
I've been searching on google for over an hour and a half to find Variable manipulation. It seems either you know how to do it or you don't. I'm trying to do 3 things:
I want a text box in which I enter text and it manipulates a variable so that when I press enter, the variable becomes that text.
I want to be able to at the click of a button either assign a variable or add to that variable, whether it be incrementing or adding larger numbers.
Finally, I want to be able to reveal those variable either at the click of a button or when the frame of the scene I'm making starts.
Could someone please explain to me either how to do it or where to look so I can teach myself?
Ok...after creating what you are looking for I think your confusion may be in global variables initialization with Director vs other languages. Within Director it is necessary to reintialize the global variable within each script you need to access it in.
So what I have done is create a two slide movie...for lack of better names slide 1 and slide 2.
Step 1: create the PrepareMovie Script - this script preloads the field (text box) with "type your name". In this case I just assigned "type your name" to the playerName global varialble.
On prepareMovie
global playerName
playerName="type your name"
member("fName").text=playerName
end
Step 2:
Place cast members into slide 1
your name - text cast member
fname - field cast member
continue - sprite button
Step 3:
Place cast members into slide 2
verify - text cast member
recall - sprite button
reveal - text cast member
Result should look something like this in the score:
Step 4: Scripts
Script 6 is nothing more than a "go to the frame" script to keep the play head in place.
on exitFrame me
go to the frame
end
Script 7 just under the Slider 2 Marker
on prepareframe me
global playerName
member("verify").text="Just to be certain your name is " & playerName
end
The Continue Button Script - attach this to the button as button script
on mouseUp
global playerName
---stuff within the field box
playerName=member("fname").text
go to next
end
The Reveal Button Script
on mouseUp me
global playerName
member("revealname").text=playerName
end
Thats it really....if its your first time using global variables inside director it can be a bit confusing if you are used to other programming languages.
Good luck
Similar Messages
-
Noob needs help with array manipulation
First off, I'd like to say hello to eveybody!
I'm trying to figure out how to search for a value in an array, delete the first occurence of it, and shift the rest of the array down one. Can anyone point me in the right direction of an algorithm, mabey?
Any help is most appreciated!first of all, let me comment that for this purpouse, you're better using the ArrayList class.
anyway, you would need to make a temporary array inside a method, and traverse the array in question using a loop. most people use a for loop.
Then, put all the values of the old array into the temporary one, except for the one you dont want.
after the loop, set the old array to equal the temporary array. -
[Help]Need help with variables php,Sql
I have a table users contain fiedls "old,new & total"
when submit , update users SET total = $total
where $total = $old+$new
I did this , I used echo to make sure it is ok , but it is not :
/* Variable to Count Total */
$old=$row_rs_users['old'];
$new=$row_rs_users['new'];
$total=$old+ $new;
echo $total;
if ((isset($_POST["MM_update"])) && ($_POST["MM_update"] == "doit_form")) {
$updateSQL = sprintf("UPDATE users SET total=%s WHERE id=%s",
$total,
GetSQLValueString($_POST['id'], "int"));
Thanks,Seeing only part of your code, it's impossible to debug.
However, your approach is wrong anyway. All you need to do is to add the new value to the old one in the SQL query.
$updateSQL = sprintf("UPDATE users SET total=(total+%s) WHERE id=%s",
GetSQLValueString($_POST['fieldName'], "double"),
GetSQLValueString($_POST['id'], "int"));
$_POST['fieldName'] is the new value being added. Use "double" if the value contains a decimal point. If it's an integer, change "double" to "int". -
New to After Effects - need help with text manipulation!
Hi all, I'm new to AE and this forum and I'm looking for some advice. I've been asked by the boss at work to create a short video clip, around 10-15 seconds, where text is displayed on the screen (3 words), after the few seconds, I want a 'forging' noise to happen and the final word in the text to be changed to another word and have a metallic effect applied, similar to the effect in this tutorial:
Create Hot Metallic Text in After Effects - After Effects - macProVideo.com Hub
Will this be difficult to do and do you guys think a complete beginner like myself can do it? I've got a lot of experience with the likes of PS, so I'm not too shy with Adobe software.
Thanks,
Johnjohnster1991 wrote:
Thanks for the advice, I appreciate it. So will it be difficult to have one word of text come onto the screen and overlay on top of the existing text, as if it's crashing over it? Any ideas on the steps I would use to do this? Thanks
As you begin your career of using AE, you will change your vocabulary. Overlay will be replaced with spatial references like in front or behind.
Designing text with surface styles like chrome or metal is not difficult. You can even import them from Photoshop if you have some PS chops or friends who can do it quickly.
TEXT ONE can be easily replaced with TEXT TWO in any of dozens of different ways but to drop TWO in front of ONE is easy, you're just setting position keyframes. The finesse of animation, though, lies in the illusion of motion, exaggeration, overshooting and recoil. Your TWO could fall and squish and rebound and bounce or it could raise a dust cloud as it hits or it could make the camera wiggle. These are the things that separate simple key framing from animation and motion graphics. -
I need help with variables (probably an easy fix).
These two programs are supposed to run together. Class "TheCracker" is supposed to guess the password of Class "ThePassword" until it gets it right.
public class TheCracker {
public static void main(String args[]) {
ThePassword password = new ThePassword();
int passwordentered;
int realpassword;
realpassword = password.realpassword;
do {
for (passwordentered = 0; passwordentered!=realpassword;passworden... {
System.out.print(passwordentered);
while (passwordentered != realpassword);
public class ThePassword {
public static void main(String args[]) {
TheCracker cracker = new TheCracker();
int passwordentered;
int realpassword;
realpassword = 45;
do {
System.out.print("What is the password?");
passwordentered = cracker.passwordentered;
if (passwordentered == realpassword) {
System.out.print("The password is correct");
else {
System.out.print("The password is incorrect");
} while (passwordentered != realpassword);
The error that occurs is that it cannot find symbol variable realpassword in the Class "TheCracker" and it cannot find symbol variable "passwordentered" in the Class "ThePassword"
Here are the two lines of code that the error occurs in:
realpassword = password.realpassword;
and
passwordentered = cracker.passwordentered;When you post code, use the CODE button or [code] and [/code] tags to preserve formatting and make your code readable. Copy/paste from your original source in your editor, NOT from your first post here, which has already lost all formatting.
-
Need Help with file manipulation
I need to read a file, insert data dynamically based on a user input in this file. How do I do it?
First of all, don't cross-post
http://forum.java.sun.com/thread.jsp?thread=296364&forum=4&message=1170079 -
Need help with accesing variable with xpath.
Hi All,
I need help with xpath in "Switch" BPEL construct. Switch is used to compare value assigned to output vairable and follow one path for "Deny" and another for "Approve". The following is data type for output variable.
<element name="processResponse">
<complexType>
<sequence>
<element name="result" type="string"/>
<sequence>
<complexType>
</element>
The following expressions in Switch statement throw lava.lang.Exception. It error is xpath internal error".
x20:compare('Deny',$outputvariable.payload/client:result)
x20:compare('Deny',bpws:getVariableData('outputvariable','payload','/client:processResponse/client:result')
It works with x20:compare('Deny','Deny'). So I assumed it must be accessing the variable.
Any help greatly appreciated.
Thanks,
SatishCany you try the following
x20:compare('Deny',string($outputvariable.payload/client:result))
x20:compare('Deny',string(bpws:getVariableData('outputvariable','payload','/client:processResponse/client:result'))
Regards
Albin I
http://www.albinsblog.com/ -
I need help with shooting in my flash game for University
Hi there
Ive tried to make my tank in my game shoot, all the code that is there works but when i push space to shoot which is my shooting key it does not shoot I really need help with this and I would appriciate anyone that could help
listed below should be the correct code
//checking if the space bar is pressed and shooting is allowed
if(evt.keyCode == 32 && shootAllow){
//making it so the user can't shoot for a bit
shootAllow = false;
//declaring a variable to be a new Bullet
var newBullet:Bullet = new Bullet();
//changing the bullet's coordinates
newBullet.y = tank_mc.y + tank_mc.width/2 - newBullet.width/2;
newBullet.x = tank_mc.x;
//then we add the bullet to stage
addChild(newBullet);
listed below is my entire code
import flash.display.MovieClip;
//declare varibles to create mines
//how much time before allowed to shoot again
var cTime:int = 0;
//the time it has to reach in order to be allowed to shoot (in frames)
var cLimit:int = 12;
//whether or not the user is allowed to shoot
var shootAllow:Boolean = true;
var minesInGame:uint;
var mineMaker:Timer;
var cursor:MovieClip;
var index:int=0;
var tankMine_mc:MovieClip;
var antiTankmine_mc:MovieClip;
var maxHP:int = 100;
var currentHP:int = maxHP;
var percentHP:Number = currentHP / maxHP;
function initialiseMine():void
minesInGame = 15;
//create a timer fires every second
mineMaker = new Timer(6000, minesInGame);
//tell timer to listen for Timer event
mineMaker.addEventListener(TimerEvent.TIMER, createMine);
//start the timer
mineMaker.start();
function createMine(event:TimerEvent):void
//var tankMine_mc:MovieClip;
//create a new instance of tankMine
tankMine_mc = new Mine();
//set the x and y axis
tankMine_mc.y = 513;
tankMine_mc.x = 1080;
// adds mines to stage
addChild(tankMine_mc);
tankMine_mc.addEventListener(Event.ENTER_FRAME, moveHorizontal);
function moveHorizontal(evt:Event):void{
evt.target.x -= Math.random()*5;
if (evt.target.x >= stage.stageWidth)
evt.target.removeEventListener(Event.ENTER_FRAME, moveHorizontal);
removeChild(DisplayObject(evt.target));
initialiseMine();
//declare varibles to create mines
var atmInGame:uint;
var atmMaker:Timer;
function initialiseAtm():void
atmInGame = 15;
//create a timer fires every second
atmMaker = new Timer(8000, minesInGame);
//tell timer to listen for Timer event
atmMaker.addEventListener(TimerEvent.TIMER, createAtm);
//start the timer
atmMaker.start();
function createAtm(event:TimerEvent):void
//var antiTankmine_mc
//create a new instance of tankMine
antiTankmine_mc = new Atm();
//set the x and y axis
antiTankmine_mc.y = 473;
antiTankmine_mc.x = 1080;
// adds mines to stage
addChild(antiTankmine_mc);
antiTankmine_mc.addEventListener(Event.ENTER_FRAME, moveHorizontal);
function moveHorizontal_2(evt:Event):void{
evt.target.x -= Math.random()*10;
if (evt.target.x >= stage.stageWidth)
evt.target.removeEventListener(Event.ENTER_FRAME, moveHorizontal);
removeChild(DisplayObject(evt.target));
initialiseAtm();
function moveForward():void{
bg_mc.x -=10;
function moveBackward():void{
bg_mc.x +=10;
var tank_mc:Tank;
// create a new Tank and put it into the variable
// tank_mc
tank_mc= new Tank;
// set the location ( x and y) of tank_mc
tank_mc.x=0;
tank_mc.y=375;
// show the tank_mc on the stage.
addChild(tank_mc);
stage.addEventListener(KeyboardEvent.KEY_DOWN, onMovementKeys);
//creates the movement
function onMovementKeys(evt:KeyboardEvent):void
//makes the tank move by 10 pixels right
if (evt.keyCode==Keyboard.D)
tank_mc.x+=5;
//makes the tank move by 10 pixels left
if (evt.keyCode==Keyboard.A)
tank_mc.x-=5
//checking if the space bar is pressed and shooting is allowed
if(evt.keyCode == 32 && shootAllow){
//making it so the user can't shoot for a bit
shootAllow = false;
//declaring a variable to be a new Bullet
var newBullet:Bullet = new Bullet();
//changing the bullet's coordinates
newBullet.y = tank_mc.y + tank_mc.width/2 - newBullet.width/2;
newBullet.x = tank_mc.x;
//then we add the bullet to stage
addChild(newBullet);
if (tank_mc.hitTestObject(antiTankmine_mc))
//tank_mc.gotoAndPlay("hit");
currentHP -= 10;
// remove anti tank mine
removeChild(antiTankmine_mc);
if (tank_mc.hitTestObject(tankMine_mc))
//tank_mc.gotoAndPlay("hit");
currentHP -= 10;
// remove anti tank mine
removeChild(tankMine_mc);
//var maxHP:int = 100;
//var currentHP:int = maxHP;
//var percentHP:Number = currentHP / maxHP;
//Incrementing the cTime
//checking if cTime has reached the limit yet
if(cTime < cLimit){
cTime ++;
} else {
//if it has, then allow the user to shoot
shootAllow = true;
//and reset cTime
cTime = 0;
function updateHealthBar():void
percentHP = currentHP / maxHP;
healthBar.barColor.scaleX = percentHP;
if(currentHP <= 0)
currentHP = 0;
trace("Game Over");
updateHealthBar();USe the trace function to analyze what happens and what fails to happen in the code you showed. trace the conditional values to see if they are set up to allow a shot when you press the key
-
I need help with my EtreCheck report
Hi All -
Thanks for taking the time -
I NEED HELP WITH MY EtreCheck report
Problem description:
running slow
EtreCheck version: 2.1.8 (121)
Report generated February 19, 2015 at 3:18:49 PM EST
Download EtreCheck from http://etresoft.com/etrecheck
Click the [Click for support] links for help with non-Apple products.
Click the [Click for details] links for more information about that line.
Hardware Information: ℹ️
MacBook Pro (15-inch, Mid 2012) (Technical Specifications)
MacBook Pro - model: MacBookPro9,1
1 2.6 GHz Intel Core i7 CPU: 4-core
8 GB RAM Upgradeable
BANK 0/DIMM0
4 GB DDR3 1600 MHz ok
BANK 1/DIMM0
4 GB DDR3 1600 MHz ok
Bluetooth: Good - Handoff/Airdrop2 supported
Wireless: en1: 802.11 a/b/g/n
Battery Health: Normal - Cycle count 130
Video Information: ℹ️
Intel HD Graphics 4000
Color LCD 1440 x 900
NVIDIA GeForce GT 650M - VRAM: 1024 MB
System Software: ℹ️
OS X 10.10.2 (14C109) - Time since boot: 0:12:52
Disk Information: ℹ️
APPLE HDD HTS547575A9E384 disk0 : (750.16 GB)
EFI (disk0s1) <not mounted> : 210 MB
Recovery HD (disk0s3) <not mounted> [Recovery]: 650 MB
Macintosh HD (disk1) / : 748.93 GB (362.64 GB free)
Core Storage: disk0s2 749.30 GB Online
MATSHITADVD-R UJ-8A8
USB Information: ℹ️
Apple Inc. FaceTime HD Camera (Built-in)
Apple Inc. Apple Internal Keyboard / Trackpad
Apple Computer, Inc. IR Receiver
Apple Inc. BRCM20702 Hub
Apple Inc. Bluetooth USB Host Controller
Thunderbolt Information: ℹ️
Apple Inc. thunderbolt_bus
Gatekeeper: ℹ️
Mac App Store and identified developers
Kernel Extensions: ℹ️
/System/Library/Extensions
[not loaded] com.AmbrosiaSW.AudioSupport (4.1.2 - SDK 10.6) [Click for support]
[not loaded] com.sony.filesystem.prodisc_fs (2.3.0) [Click for support]
[not loaded] com.sony.protocol.prodisc (2.3.0) [Click for support]
Launch Daemons: ℹ️
[loaded] com.adobe.fpsaud.plist [Click for support]
[loaded] com.adobe.versioncueCS3.plist [Click for support]
[loaded] com.ambrosiasw.ambrosiaaudiosupporthelper.daemon.plist [Click for support]
User Launch Agents: ℹ️
[failed] [email protected] [Click for details]
[loaded] com.google.keystone.agent.plist [Click for support]
[failed] com.jdibackup.ZipCloud.autostart.plist [Click for support] [Click for details]
[loaded] com.jdibackup.ZipCloud.notify.plist [Click for support]
User Login Items: ℹ️
RED Watchdog Application (/Applications/REDCINE-X Professional/Utilities/RED Watchdog.app)
GrowlHelperApp Application (/Library/PreferencePanes/Growl.prefPane/Contents/Resources/GrowlHelperApp.app)
GrowlHelperApp Application (/Users/[redacted]/Library/PreferencePanes/Growl.prefPane/Contents/Resources/Gr owlHelperApp.app)
iTunesHelper UNKNOWN Hidden (missing value)
QmasterStatusMenu Application (/Incompatible Software/Apple Qmaster.prefPane/Contents/Resources/QmasterStatusMenu.app)
SpyderUtility Application (/Applications/Datacolor/Spyder3Elite/Support/SpyderUtility.app)
Spyder3Utility Application (/Applications/Datacolor/Spyder3Elite/Spyder3Utility.app)
Google Drive Application (/Applications/Google Drive.app)
Google Chrome Application Hidden (/Applications/Google Chrome.app)
Internet Plug-ins: ℹ️
JavaAppletPlugin: Version: 15.0.0 - SDK 10.10 Check version
FlashPlayer-10.6: Version: 16.0.0.305 - SDK 10.6 [Click for support]
QuickTime Plugin: Version: 7.7.3
Flash Player: Version: 16.0.0.305 - SDK 10.6 [Click for support]
AdobePDFViewer: Version: 8.1.0 [Click for support]
Default Browser: Version: 600 - SDK 10.10
Silverlight: Version: 5.1.30514.0 - SDK 10.6 [Click for support]
iPhotoPhotocast: Version: 7.0
User internet Plug-ins: ℹ️
Google Earth Web Plug-in: Version: 7.0 [Click for support]
Audio Plug-ins: ℹ️
DVCPROHDAudio: Version: 1.3.2
3rd Party Preference Panes: ℹ️
Adobe Version Cue CS3 [Click for support]
Flash Player [Click for support]
Growl [Click for support]
REDcode [Click for support]
Time Machine: ℹ️
Time Machine not configured!
Top Processes by CPU: ℹ️
10% mds
5% WindowServer
0% Google Drive
0% Google Chrome
0% fontd
Top Processes by Memory: ℹ️
172 MB Google Chrome
155 MB mds_stores
155 MB Mail
103 MB Google Chrome Helper
94 MB Google Drive
Virtual Memory Information: ℹ️
4.52 GB Free RAM
2.72 GB Active RAM
451 MB Inactive RAM
895 MB Wired RAM
1.30 GB Page-ins
0 B Page-outs
Diagnostics Information: ℹ️
Feb 19, 2015, 03:03:40 PM Self test - passedWhy Put it off I say ... Here you go Linc
Start time: 12:05:29 02/20/15
Revision: 1250
Model Identifier: MacBookPro9,1
System Version: OS X 10.10.2 (14C109)
Kernel Version: Darwin 14.1.0
Time since boot: 2:42
UID: 504
I/O wait time (ms/s)
kernel_task (UID 0): 39
Font issues: 263
Trust settings: admin 4, user 4
TCP/IP
Subnet mask: 255.255.252.0
Listeners
cupsd: ipp
nfsd: 1023
rpc.lockd: 1017
rpc.rquotad: garcon
rpc.statd: exp1
rpcbind: sunrpc
System caches/logs
3319 MB: /System/Library/Caches/com.apple.coresymbolicationd/data
Diagnostic reports
2015-02-02 Mail crash
2015-02-04 Spyder3Utility crash
2015-02-20 Acrobat hang x3
2015-02-20 Final Cut Pro crash x2
HID errors: 22
Kernel log
Feb 20 10:20:53 Google Chrome He (map: 0xffffff801e1b7c30) triggered DYLD shared region unnest for map: 0xffffff801e1b7c30, region 0x7fff8aa00000->0x7fff8ac00000. While not abnormal for debuggers, this increases system memory footprint until the target exits.
Feb 20 10:31:10 ARPT: 3921.321063: MacAuthEvent en1 Auth result for: 00:19:92:35:03:01 Auth request tx failed
Feb 20 10:41:10 Google Chrome He (map: 0xffffff801e116870) triggered DYLD shared region unnest for map: 0xffffff801e116870, region 0x7fff8aa00000->0x7fff8ac00000. While not abnormal for debuggers, this increases system memory footprint until the target exits.
Feb 20 10:41:14 Google Chrome He (map: 0xffffff802265ee10) triggered DYLD shared region unnest for map: 0xffffff802265ee10, region 0x7fff8aa00000->0x7fff8ac00000. While not abnormal for debuggers, this increases system memory footprint until the target exits.
Feb 20 10:41:30 Google Chrome He (map: 0xffffff802265ee10) triggered DYLD shared region unnest for map: 0xffffff802265ee10, region 0x7fff8aa00000->0x7fff8ac00000. While not abnormal for debuggers, this increases system memory footprint until the target exits.
Feb 20 11:20:59 Google Chrome (map: 0xffffff801e116870) triggered DYLD shared region unnest for map: 0xffffff801e116870, region 0x7fff8aa00000->0x7fff8ac00000. While not abnormal for debuggers, this increases system memory footprint until the target exits.
Feb 20 11:20:59 Google Chrome He (map: 0xffffff802b72a960) triggered DYLD shared region unnest for map: 0xffffff802b72a960, region 0x7fff8aa00000->0x7fff8ac00000. While not abnormal for debuggers, this increases system memory footprint until the target exits.
Feb 20 11:20:59 Google Chrome He (map: 0xffffff802b72a3c0) triggered DYLD shared region unnest for map: 0xffffff802b72a3c0, region 0x7fff8aa00000->0x7fff8ac00000. While not abnormal for debuggers, this increases system memory footprint until the target exits.
Feb 20 11:20:59 Google Chrome He (map: 0xffffff8023819f00) triggered DYLD shared region unnest for map: 0xffffff8023819f00, region 0x7fff8aa00000->0x7fff8ac00000. While not abnormal for debuggers, this increases system memory footprint until the target exits.
Feb 20 11:21:01 Google Chrome He (map: 0xffffff802cdb0e10) triggered DYLD shared region unnest for map: 0xffffff802cdb0e10, region 0x7fff8aa00000->0x7fff8ac00000. While not abnormal for debuggers, this increases system memory footprint until the target exits.
Feb 20 11:21:01 Google Chrome He (map: 0xffffff8022da2e10) triggered DYLD shared region unnest for map: 0xffffff8022da2e10, region 0x7fff8aa00000->0x7fff8ac00000. While not abnormal for debuggers, this increases system memory footprint until the target exits.
Feb 20 11:21:01 Google Chrome He (map: 0xffffff8023819b40) triggered DYLD shared region unnest for map: 0xffffff8023819b40, region 0x7fff8aa00000->0x7fff8ac00000. While not abnormal for debuggers, this increases system memory footprint until the target exits.
Feb 20 11:30:46 Sandbox: fontworker(1439) deny file-read-data /Library/Fonts/MyriadPro-LightCond.otf
Feb 20 11:30:46 Sandbox: fontworker(1439) deny file-read-data /Library/Fonts/MyriadPro-LightCondIt.otf
Feb 20 11:49:11 Google Chrome (map: 0xffffff802b72a2d0) triggered DYLD shared region unnest for map: 0xffffff802b72a2d0, region 0x7fff8aa00000->0x7fff8ac00000. While not abnormal for debuggers, this increases system memory footprint until the target exits.
Feb 20 11:49:11 Google Chrome He (map: 0xffffff802cdb0780) triggered DYLD shared region unnest for map: 0xffffff802cdb0780, region 0x7fff8aa00000->0x7fff8ac00000. While not abnormal for debuggers, this increases system memory footprint until the target exits.
Feb 20 11:49:11 Google Chrome He (map: 0xffffff8022a63e10) triggered DYLD shared region unnest for map: 0xffffff8022a63e10, region 0x7fff8aa00000->0x7fff8ac00000. While not abnormal for debuggers, this increases system memory footprint until the target exits.
Feb 20 11:49:11 Google Chrome He (map: 0xffffff8022a63c30) triggered DYLD shared region unnest for map: 0xffffff8022a63c30, region 0x7fff8aa00000->0x7fff8ac00000. While not abnormal for debuggers, this increases system memory footprint until the target exits.
Feb 20 11:49:11 Google Chrome He (map: 0xffffff802cdb05a0) triggered DYLD shared region unnest for map: 0xffffff802cdb05a0, region 0x7fff8aa00000->0x7fff8ac00000. While not abnormal for debuggers, this increases system memory footprint until the target exits.
Feb 20 11:49:11 Google Chrome He (map: 0xffffff8022a63f00) triggered DYLD shared region unnest for map: 0xffffff8022a63f00, region 0x7fff8aa00000->0x7fff8ac00000. While not abnormal for debuggers, this increases system memory footprint until the target exits.
Feb 20 11:49:11 Google Chrome He (map: 0xffffff8022a63690) triggered DYLD shared region unnest for map: 0xffffff8022a63690, region 0x7fff8aa00000->0x7fff8ac00000. While not abnormal for debuggers, this increases system memory footprint until the target exits.
Feb 20 11:59:29 Sandbox: fontworker(1671) deny file-read-data /Library/Fonts/MyriadPro-LightCond.otf
Feb 20 11:59:29 Sandbox: fontworker(1671) deny file-read-data /Library/Fonts/MyriadPro-LightCondIt.otf
Feb 20 12:08:01 ARPT: 8890.600067: MacAuthEvent en1 Auth result for: 00:19:92:35:7d:e1 Auth request tx failed
Feb 20 12:08:01 ARPT: 8890.950534: MacAuthEvent en1 Auth result for: 00:19:92:35:03:01 Auth timed out
System log
Feb 20 11:24:49 WindowServer: CGXGetConnectionProperty: Invalid connection 125827
Feb 20 11:24:49 WindowServer: CGXGetConnectionProperty: Invalid connection 125827
Feb 20 11:24:49 WindowServer: CGXGetConnectionProperty: Invalid connection 125827
Feb 20 11:24:49 WindowServer: CGXGetConnectionProperty: Invalid connection 125827
Feb 20 11:24:49 WindowServer: CGXGetConnectionProperty: Invalid connection 125827
Feb 20 11:25:05 airportd: _handleLinkEvent: WiFi is not powered. Resetting state variables.
Feb 20 11:28:01 WindowServer: WSGetSurfaceInWindow Invalid surface 489574406 for window 1303
Feb 20 11:28:01 WindowServer: WSGetSurfaceInWindow Invalid surface 489574406 for window 1303
Feb 20 11:28:01 WindowServer: WSGetSurfaceInWindow Invalid surface 489574406 for window 1303
Feb 20 11:28:49 WindowServer: WSBindSurface Invalid surface 723885656 for window 1311
Feb 20 11:29:13 fseventsd: event logs in /Volumes/WDA_1T/.fseventsd out of sync with volume. destroying old logs. (461 2 59825)
Feb 20 11:29:13 fseventsd: log dir: /Volumes/WDA_1T/.fseventsd getting new uuid: UUID
Feb 20 11:30:16 bird: Assertion failed: ![_xpcClients containsObject:client]
Feb 20 11:30:16 bird: Assertion failed: ![_xpcClients containsObject:client]
Feb 20 11:32:32 bird: Assertion failed: ![_xpcClients containsObject:client]
Feb 20 11:32:32 bird: Assertion failed: ![_xpcClients containsObject:client]
Feb 20 11:32:32 bird: Assertion failed: ![_xpcClients containsObject:client]
Feb 20 11:36:11 WindowServer: _CGXSetWindowHasKeyAppearance: Operation on a window 0x18 requiring rights kCGSWindowRightOwner by caller Dashboard
Feb 20 11:36:11 WindowServer: _CGXSetWindowHasMainAppearance: Operation on a window 0x18 requiring rights kCGSWindowRightOwner by caller Dashboard
Feb 20 11:41:24 apsd: Failed entitlement check 'com.apple.private.aps-connection-initiate' for ManagedClientAgent[1532]
Feb 20 11:43:40 Mail: CoreText CopyFontsForRequest received mig IPC error (FFFFFFFFFFFFFECC) from font server
Feb 20 11:43:40 Mail: CoreText CopyFontsForRequest received mig IPC error (FFFFFFFFFFFFFECC) from font server
Feb 20 12:01:17 WindowServer: WSGetSurfaceInWindow Invalid surface 710322265 for window 1327
Feb 20 12:04:39 fseventsd: implementation_removed_client: did not find client 0x7f9eec210660 for path = '/.docid'
Feb 20 12:11:28 apsd: Failed entitlement check 'com.apple.private.aps-connection-initiate' for ManagedClientAgent[2262]
Console log
Feb 15 12:07:08 ReportCrash: Invoking spindump for pid=644 wakeups_rate=158 duration=285 because of excessive wakeups
Feb 15 12:55:36 ReportCrash: Invoking spindump for pid=754 wakeups_rate=200 duration=225 because of excessive wakeups
Feb 15 13:59:55 ReportCrash: Invoking spindump for pid=913 wakeups_rate=186 duration=242 because of excessive wakeups
Feb 15 16:54:59 ReportCrash: Invoking spindump for pid=964 wakeups_rate=188 duration=240 because of excessive wakeups
Feb 16 10:35:10 ReportCrash: Invoking spindump for pid=1059 wakeups_rate=337 duration=134 because of excessive wakeups
Feb 16 10:51:21 ReportCrash: Invoking spindump for pid=1080 wakeups_rate=161 duration=280 because of excessive wakeups
Feb 16 11:59:13 ReportCrash: Invoking spindump for pid=1168 wakeups_rate=243 duration=186 because of excessive wakeups
Feb 16 12:02:57 ReportCrash: Invoking spindump for pid=1175 wakeups_rate=382 duration=118 because of excessive wakeups
Feb 16 13:07:53 nsurlstoraged: The read-connection to the DB=/Users/USER/Library/Caches/com.ic.searchinstaller/Cache.db is NOT valid. Unable to determine schema version.
Feb 16 13:07:53 nsurlstoraged: ERROR: unable to determine file-system usage for FS-backed cache at /Users/USER/Library/Caches/com.ic.searchinstaller/fsCachedData. Errno=13
Feb 16 13:22:31 ReportCrash: Invoking spindump for pid=2237 wakeups_rate=326 duration=139 because of excessive wakeups
Feb 16 14:17:37 ReportCrash: Invoking spindump for pid=2420 wakeups_rate=228 duration=198 because of excessive wakeups
Feb 16 14:33:29 ReportCrash: Invoking spindump for pid=2438 wakeups_rate=240 duration=188 because of excessive wakeups
Feb 16 14:46:36 ReportCrash: Invoking spindump for pid=2454 wakeups_rate=305 duration=148 because of excessive wakeups
Feb 17 12:58:26 ReportCrash: Invoking spindump for pid=2894 wakeups_rate=689 duration=66 because of excessive wakeups
Feb 17 13:13:41 ReportCrash: Invoking spindump for pid=2914 wakeups_rate=487 duration=93 because of excessive wakeups
Feb 17 16:54:57 ReportCrash: Invoking spindump for pid=1965 wakeups_rate=162 duration=278 because of excessive wakeups
Feb 18 13:50:58 ReportCrash: Invoking spindump for pid=3869 wakeups_rate=160 duration=282 because of excessive wakeups
Feb 19 08:17:10 nsurlstoraged: The read-connection to the DB=/Users/USER/Library/Caches/com.apple.icloud.fmfd/Cache.db is NOT valid. Unable to determine schema version.
Feb 19 14:59:30 nsurlstoraged: The read-connection to the DB=/Users/USER/Library/Caches/com.apple.icloud.fmfd/Cache.db is NOT valid. Unable to determine schema version.
Feb 19 15:04:57 nsurlstoraged: The read-connection to the DB=/Users/USER/Library/Caches/com.apple.icloud.fmfd/Cache.db is NOT valid. Unable to determine schema version.
Feb 19 15:18:06 osascript: Error loading /Library/ScriptingAdditions/Adobe Unit Types.osax/Contents/MacOS/Adobe Unit Types: dlopen(/Library/ScriptingAdditions/Adobe Unit Types.osax/Contents/MacOS/Adobe Unit Types, 262): no suitable image found. Did find:
/Library/ScriptingAdditions/Adobe Unit Types.osax/Contents/MacOS/Adobe Unit Types: no matching architecture in universal wrapper
Feb 19 16:50:23 ReportCrash: Invoking spindump for pid=3308 wakeups_rate=189 duration=239 because of excessive wakeups
Feb 20 09:24:49 nsurlstoraged: The read-connection to the DB=/Users/USER/Library/Caches/com.apple.icloud.fmfd/Cache.db is NOT valid. Unable to determine schema version.
Daemons
com.adobe.fpsaud
com.adobe.versioncueCS3
com.ambrosiasw.ambrosiaaudiosupporthelper.daemon
com.apple.watchdogd
Agents
[email protected]
- status: 78
com.apple.Finder
- status: -15
com.google.keystone.user.agent
com.jdibackup.ZipCloud.autostart
- status: 1
com.jdibackup.ZipCloud.notify
- status: 1
User login items
RED Watchdog
- /Applications/REDCINE-X Professional/Utilities/RED Watchdog.app
GrowlHelperApp
- /Library/PreferencePanes/Growl.prefPane/Contents/Resources/GrowlHelperApp.app
GrowlHelperApp
- /Users/USER/Library/PreferencePanes/Growl.prefPane/Contents/Resources/GrowlHelp erApp.app
iTunesHelper
- missing value
QmasterStatusMenu
- /Incompatible Software/Apple Qmaster.prefPane/Contents/Resources/QmasterStatusMenu.app
SpyderUtility
- /Applications/Datacolor/Spyder3Elite/Support/SpyderUtility.app
Spyder3Utility
- /Applications/Datacolor/Spyder3Elite/Spyder3Utility.app
Google Drive
- /Applications/Google Drive.app
Google Chrome
- /Applications/Google Chrome.app
Firefox extensions
Live PageRank
Web Developer
Exif Viewer
iCloud errors
bird 418
cloudd 65
Continuity errors
sharingd 21
Restricted files: 335
Lockfiles: 48
Contents of /Library/LaunchDaemons/com.adobe.versioncueCS3.plist
- mod date: Oct 20 14:05:00 2009
- checksum: 714202969
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>GroupName</key>
<string>wheel</string>
<key>Label</key>
<string>com.adobe.versioncueCS3</string>
<key>OnDemand</key>
<true/>
<key>ProgramArguments</key>
<array>
<string>/Library/Application Support/Adobe/Adobe Version Cue CS3/Server/bin/VersionCueCS3d</string>
</array>
<key>RunAtLoad</key>
<false/>
<key>ServiceDescription</key>
<string>Adobe Version Cue CS3</string>
<key>UserName</key>
<string>root</string>
</dict>
</plist>
Contents of /Library/LaunchDaemons/com.ambrosiasw.ambrosiaaudiosupporthelper.daemon.plist
- mod date: Dec 21 11:32:33 2012
- checksum: 1980407752
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Label</key>
<string>com.ambrosiasw.ambrosiaaudiosupporthelper.daemon</string>
<key>ProgramArguments</key>
<array>
<string>/System/Library/Extensions/AmbrosiaAudioSupport.kext/Contents/MacOS/amb rosiaaudiosupporthelper</string>
</array>
<key>KeepAlive</key>
<false/>
<key>Disabled</key>
<false/>
<key>LaunchEvents</key>
<dict>
<key>com.apple.iokit.matching</key>
<dict>
<key>AmbrosiaAudioSupport</key>
<dict>
<key>IOMatchLaunchStream</key>
<true/>
<key>IOProviderClass</key>
<string>com_AmbrosiaSW_AudioSupport</string>
</dict>
...and 4 more line(s)
Contents of /Library/LaunchDaemons/com.apple.qmaster.qmasterd.plist
- mod date: Aug 25 21:24:23 2010
- checksum: 681742547
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Label</key>
<string>com.apple.qmaster.qmasterd</string>
<key>ProgramArguments</key>
<array>
<string>/usr/sbin/qmasterd</string>
</array>
<key>OnDemand</key>
<false/>
</dict>
</plist>
Contents of /private/etc/hosts
- mod date: Sep 20 11:46:00 2013
- checksum: 1921340845
127.0.0.1 localhost
255.255.255.255 broadcasthost
::1 localhost
fe80::1%lo0 localhost
Contents of Library/LaunchAgents/[email protected]
- mod date: Sep 15 12:18:45 2009
- checksum: 2526625188
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>KeepAlive</key>
<false/>
<key>Label</key>
<string>[email protected]</string>
<key>LimitLoadToSessionType</key>
<string>Aqua</string>
<key>LowPriorityIO</key>
<true/>
<key>Nice</key>
<integer>10</integer>
<key>ProgramArguments</key>
<array>
<string>/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices .framework/Versions/A/Support/CSConfigDotMacCert</string>
<string>-l</string>
<string>/Users/USER/Library/Logs/[email protected]</string>
<string>-u</string>
<string>@me.com</string>
<string>-t</string>
<string>SharedServices</string>
<string>-s</string>
</array>
...and 4 more line(s)
Contents of Library/LaunchAgents/com.google.keystone.agent.plist
- mod date: Nov 28 13:56:29 2014
- checksum: 3826001454
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Label</key>
<string>com.google.keystone.user.agent</string>
<key>LimitLoadToSessionType</key>
<string>Aqua</string>
<key>ProgramArguments</key>
<array>
<string>/Users/USER/Library/Google/GoogleSoftwareUpdate/GoogleSoftwareUpdate.bu ndle/Contents/Resources/GoogleSoftwareUpdateAgent.app/Contents/MacOS/GoogleSoftw areUpdateAgent</string>
<string>-runMode</string>
<string>ifneeded</string>
</array>
<key>RunAtLoad</key>
<true/>
<key>StartInterval</key>
<integer>3523</integer>
<key>StandardErrorPath</key>
<string>/dev/null</string>
<key>StandardOutPath</key>
<string>/dev/null</string>
</dict>
</plist>
Contents of Library/LaunchAgents/com.jdibackup.ZipCloud.autostart.plist
- mod date: Feb 19 15:00:08 2015
- checksum: 2356528749
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Label</key>
<string>com.jdibackup.ZipCloud.autostart</string>
<key>ProgramArguments</key>
<array>
<string>open</string>
<string>/Applications/ZipCloud.app/Contents/Resources/Utility.app</string>
<string>-n</string>
<string>--args</string>
<string>9</string>
<string>-l</string>
</array>
<key>StandardOutPath</key>
<string>/Users/USER/Library/Logs/ZipCloud/lagent_out.log</string>
<key>StandardErrorPath</key>
<string>/Users/USER/Library/Logs/ZipCloud/lagent_err.log</string>
<key>RunAtLoad</key>
<true/>
</dict>
</plist>
Contents of Library/LaunchAgents/com.jdibackup.ZipCloud.notify.plist
- mod date: Feb 19 15:00:08 2015
- checksum: 1841511774
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Label</key>
<string>com.jdibackup.ZipCloud.notify</string>
<key>ProgramArguments</key>
<array>
<string>open</string>
<string>/Applications/ZipCloud.app/Contents/Resources/Utility.app</string>
<string>--args</string>
<string>7</string>
<string>1</string>
</array>
<key>StandardOutPath</key>
<string>/Users/USER/Library/Logs/ZipCloud/lagent_out.log</string>
<key>StandardErrorPath</key>
<string>/Users/USER/Library/Logs/ZipCloud/lagent_err.log</string>
<key>StartInterval</key>
<integer>1200</integer>
<key>RunAtLoad</key>
<false/>
</dict>
</plist>
Extensions
/System/Library/Extensions/AmbrosiaAudioSupport.kext
- com.AmbrosiaSW.AudioSupport
/System/Library/Extensions/FAMProtocol.kext
- com.sony.protocol.prodisc
/System/Library/Extensions/JMicronATA.kext
- com.jmicron.JMicronATA
/System/Library/Extensions/prodisc_fs.kext
- com.sony.filesystem.prodisc_fs
Applications
/Applications/Adobe Acrobat 8 Professional/Acrobat Distiller.app
- com.adobe.distiller
/Applications/Adobe Acrobat 8 Professional/Acrobat Uninstaller.app
- com.adobe.Acrobat.Uninstaller
/Applications/Adobe Acrobat 8 Professional/Adobe Acrobat Professional.app
- com.adobe.Acrobat.Pro
/Applications/Adobe Bridge CS3/Bridge CS3.app
- com.adobe.bridge2
/Applications/Adobe Device Central CS3/Device Central.app
- com.adobe.devicecentral.application
/Applications/Adobe Dreamweaver CS3/Dreamweaver.app
- com.adobe.dreamweaver-9.0
/Applications/Adobe Extension Manager/Extension Manager.app
- com.adobe.ExtensionManager
/Applications/Adobe Fireworks CS3/Adobe Fireworks CS3.app
- com.macromedia.fireworks
/Applications/Adobe Flash CS3 Video Encoder/Adobe Flash CS3 Video Encoder.app
- com.macromedia.FLVEncoder
/Applications/Adobe Flash CS3/Adobe Flash CS3.app
- com.adobe.flash-9.0-en_us
/Applications/Adobe Flash CS3/Players/Debug/Flash Player.app
- com.macromedia.Flash Player.app
/Applications/Adobe Flash CS3/Players/Debug/Install Flash Player 9 UB.app
- com.MindVision.VISEX
/Applications/Adobe Flash CS3/Players/Flash Player.app
- com.macromedia.Flash Player.app
/Applications/Adobe Flash CS3/Players/Release/Flash Player.app
- com.macromedia.Flash Player.app
/Applications/Adobe Flash CS3/Players/Release/Install Flash Player 9 UB.app
- com.MindVision.VISEX
/Applications/Adobe Help Viewer 1.0.app
- com.adobe.Adobe Help Viewer
/Applications/Adobe Help Viewer 1.1.app
- com.adobe.Adobe Help Viewer
/Applications/Adobe Illustrator CS3/Adobe Illustrator.app
- com.adobe.illustrator
/Applications/Adobe Illustrator CS3/Scripting.localized/Sample Scripts.localized/AppleScript/Analyze Documents.localized/Analyze Documents.app
- N/A
/Applications/Adobe Illustrator CS3/Scripting.localized/Sample Scripts.localized/AppleScript/Calendar.localized/Make Calendar.app
- N/A
/Applications/Adobe Illustrator CS3/Scripting.localized/Sample Scripts.localized/AppleScript/Collect for Output.localized/Collect for Output.app
- N/A
/Applications/Adobe Illustrator CS3/Scripting.localized/Sample Scripts.localized/AppleScript/Contact Sheet Demo.localized/Contact Sheets.app
- N/A
/Applications/Adobe Illustrator CS3/Scripting.localized/Sample Scripts.localized/AppleScript/Export Flash Animation.localized/Export Flash Animation.app
- N/A
/Applications/Adobe Illustrator CS3/Scripting.localized/Sample Scripts.localized/AppleScript/Web Gallery.localized/Web Gallery.app
- N/A
/Applications/Adobe Photoshop CS3/Adobe Photoshop CS3.app
- com.adobe.Photoshop
/Applications/Adobe Premiere Pro CS3/Adobe Premiere Pro CS3.app
- com.adobe.AdobePremierePro
/Applications/Adobe Stock Photos CS3/Adobe Stock Photos CS3.app
- com.adobe.stockphotos-1.5
/Applications/Audacity/Audacity.app
- net.sourceforge.audacity
/Applications/Beak.app
- com.flyosity.beak
/Applications/Buzzbird.app
- org.buzzbird.buzzbird
/Applications/Celtx.app
- ca.greyfirst.celtx
/Applications/Datacolor/Spyder3Elite/Spyder3Elite.app
- com.datacolor.spyder3elite
/Applications/Datacolor/Spyder3Elite/Spyder3Utility.app
- com.datacolor.spyder3utility
/Applications/Datacolor/Spyder3Elite/Support/SpyderUtility.app
- com.datacolor.spyderutility
/Applications/Disk Inventory X.app
- com.derlien.DiskInventoryX
/Applications/Epson Software/Print CD/Print CD.app
- jp.co.epson.PrintCD2
/Applications/FileZilla.app
- de.filezilla
/Applications/FlashVideo Converter.app
- com.geovid.
/Applications/Gorilla Folder/Gorilla Program 4.0.0/Gorilla 4.0.0
- N/A
/Applications/HandBrake.app
- org.m0k.handbrake
/Applications/Levelator.app
- org.conversationsnetwork.levelator
/Applications/OpenOffice.org.app
- org.openoffice.script
/Applications/RecBoot.app
- com.lepidu.RecBoot
/Applications/Smultron.app
- org.smultron.Smultron
/Applications/TouchCopy.app
- N/A
/Applications/Uninstall MM Scheduling/Uninstall MM Scheduling.app
- N/A
/Applications/Utilities/Adobe Utilities.localized/Adobe Updater5/Adobe Updater.app
- "com.Adobe.ESD.AdobeUpdaterApplication"
/Applications/Utilities/Adobe Utilities.localized/ExtendScript Toolkit 2/ExtendScript Toolkit 2.app
- com.adobe.estoolkit-2.0
/Applications/Utilities/Bluetooth Firmware Update.app
- com.apple.updaters.btfirmwareupdate201
/Applications/Utilities/FAM Driver Tool.app
- com.sony.famdrivertool
/Applications/VLC.app
- org.videolan.vlc
/Applications/XDCAM Transfer.app
- com.sony.bprl.xdcamtransfer
/Applications/YouSendIt Desktop App.app
- com.yousendit.YouSendIt
/Applications/YouSendIt.app
- com.yousendit.YouSendItExpress
/Applications/gedit.app
- org.gnome.gedit
/Applications/iWork '08/Keynote.app
- com.apple.iWork.Keynote
/Applications/iWork '08/Numbers.app
- com.apple.iWork.Numbers
/Applications/iWork '08/Pages.app
- com.apple.iWork.Pages
/Developer/Applications/Utilities/MacPython 2.5/Build Applet.app
- org.python.buildapplet
/Developer/Applications/Utilities/Python 2.6/Build Applet.app
- org.python.buildapplet
/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS4.2.sdk/System/Li brary/CoreServices/MobileStorageMounter.app
- N/A
/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS4.2.sdk/System/Li brary/CoreServices/SpringBoard.app
- N/A
/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS4.2.sdk/System/Li brary/CoreServices/VoiceOverTouch.app
- N/A
/Developer/Platforms/iPhoneOS.platform/DeviceSupport/3.0/Symbols/System/Library /CoreServices/SpringBoard.app
- N/A
/Developer/Platforms/iPhoneOS.platform/DeviceSupport/3.0/Symbols/System/Library /CoreServices/VoiceOverTouch.app
- N/A
/Developer/Platforms/iPhoneOS.platform/DeviceSupport/3.1.2/Symbols/System/Libra ry/CoreServices/SpringBoard.app
- N/A
/Developer/Platforms/iPhoneOS.platform/DeviceSupport/3.1.2/Symbols/System/Libra ry/CoreServices/VoiceOverTouch.app
- N/A
/Developer/Platforms/iPhoneOS.platform/DeviceSupport/3.1.3/Symbols/System/Libra ry/CoreServices/SpringBoard.app
- N/A
/Developer/Platforms/iPhoneOS.platform/DeviceSupport/3.1.3/Symbols/System/Libra ry/CoreServices/VoiceOverTouch.app
- N/A
/Developer/Platforms/iPhoneOS.platform/DeviceSupport/3.1/Symbols/System/Library /CoreServices/SpringBoard.app
- N/A
/Developer/Platforms/iPhoneOS.platform/DeviceSupport/3.1/Symbols/System/Library /CoreServices/VoiceOverTouch.app
- N/A
/Developer/Platforms/iPhoneOS.platform/DeviceSupport/3.2.1/Symbols/System/Libra ry/CoreServices/MobileStorageMounter.app
- N/A
/Developer/Platforms/iPhoneOS.platform/DeviceSupport/3.2.1/Symbols/System/Libra ry/CoreServices/SpringBoard.app
- N/A
/Developer/Platforms/iPhoneOS.platform/DeviceSupport/3.2.1/Symbols/System/Libra ry/CoreServices/VoiceOverTouch.app
- N/A
/Developer/Platforms/iPhoneOS.platform/DeviceSupport/3.2.2/Symbols/System/Libra ry/CoreServices/MobileStorageMounter.app
- N/A
/Developer/Platforms/iPhoneOS.platform/DeviceSupport/3.2.2/Symbols/System/Libra ry/CoreServices/SpringBoard.app
- N/A
/Developer/Platforms/iPhoneOS.platform/DeviceSupport/3.2.2/Symbols/System/Libra ry/CoreServices/VoiceOverTouch.app
- N/A
/Developer/Platforms/iPhoneOS.platform/DeviceSupport/3.2/Symbols/System/Library /CoreServices/MobileStorageMounter.app
- N/A
/Developer/Platforms/iPhoneOS.platform/DeviceSupport/3.2/Symbols/System/Library /CoreServices/SpringBoard.app
- N/A
/Developer/Platforms/iPhoneOS.platform/DeviceSupport/3.2/Symbols/System/Library /CoreServices/VoiceOverTouch.app
- N/A
/Developer/Platforms/iPhoneOS.platform/DeviceSupport/4.0.1/Symbols/System/Libra ry/CoreServices/MobileStorageMounter.app
- N/A
/Developer/Platforms/iPhoneOS.platform/DeviceSupport/4.0.1/Symbols/System/Libra ry/CoreServices/SpringBoard.app
- N/A
/Developer/Platforms/iPhoneOS.platform/DeviceSupport/4.0.1/Symbols/System/Libra ry/CoreServices/VoiceOverTouch.app
- N/A
/Developer/Platforms/iPhoneOS.platform/DeviceSupport/4.0.2/Symbols/System/Libra ry/CoreServices/MobileStorageMounter.app
- N/A
/Developer/Platforms/iPhoneOS.platform/DeviceSupport/4.0.2/Symbols/System/Libra ry/CoreServices/SpringBoard.app
- N/A
/Developer/Platforms/iPhoneOS.platform/DeviceSupport/4.0.2/Symbols/System/Libra ry/CoreServices/VoiceOverTouch.app
- N/A
/Developer/Platforms/iPhoneOS.platform/DeviceSupport/4.0/Symbols/System/Library /CoreServices/MobileStorageMounter.app
- N/A
/Developer/Platforms/iPhoneOS.platform/DeviceSupport/4.0/Symbols/System/Library /CoreServices/SpringBoard.app
- N/A
/Developer/Platforms/iPhoneOS.platform/DeviceSupport/4.0/Symbols/System/Library /CoreServices/VoiceOverTouch.app
- N/A
/Developer/Platforms/iPhoneOS.platform/DeviceSupport/4.1/Symbols/System/Library /CoreServices/MobileStorageMounter.app
- N/A
/Developer/Platforms/iPhoneOS.platform/DeviceSupport/4.1/Symbols/System/Library /CoreServices/SpringBoard.app
- N/A
/Developer/Platforms/iPhoneOS.platform/DeviceSupport/4.1/Symbols/System/Library /CoreServices/VoiceOverTouch.app
- N/A
/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator3.2 .sdk/Applications/MobileAddressBook.app
- N/A
/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator3.2 .sdk/Applications/MobileSafari.app
- N/A
/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator3.2 .sdk/Applications/MobileSlideShow.app
- N/A
/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator3.2 .sdk/Applications/Preferences.app
- N/A
/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator3.2 .sdk/Applications/Web.app
- N/A
/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator3.2 .sdk/System/Library/CoreServices/MobileStorageMounter.app
- N/A
/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator3.2 .sdk/System/Library/CoreServices/SpringBoard.app
- N/A
/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator3.2 .sdk/System/Library/CoreServices/VoiceOverTouch.app
- N/A
/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.0 .sdk/Applications/AdSheet.app
- N/A
/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.0 .sdk/Applications/Contacts.app
- N/A
/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.0 .sdk/Applications/Game Center.app
- N/A
/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.0 .sdk/Applications/MobileSafari.app
- N/A
/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.0 .sdk/Applications/MobileSlideShow.app
- N/A
/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.0 .sdk/Applications/Preferences.app
- N/A
/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.0 .sdk/Applications/TrustMe.app
- N/A
/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.0 .sdk/Applications/Web.app
- N/A
/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.0 .sdk/Applications/WebSheet.app
- N/A
/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.0 .sdk/Applications/iPodOut.app
- N/A
/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.0 .sdk/System/Library/CoreServices/MobileStorageMounter.app
- N/A
/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.0 .sdk/System/Library/CoreServices/SpringBoard.app
- N/A
/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.0 .sdk/System/Library/CoreServices/VoiceOverTouch.app
- N/A
/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.1 .sdk/Applications/AdSheet.app
- N/A
/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.1 .sdk/Applications/Contacts.app
- N/A
/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.1 .sdk/Applications/Game Center~iphone.app
- N/A
/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.1 .sdk/Applications/MobileSafari.app
- N/A
/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.1 .sdk/Applications/MobileSlideShow.app
- N/A
/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.1 .sdk/Applications/Preferences.app
- N/A
/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.1 .sdk/Applications/TrustMe.app
- N/A
/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.1 .sdk/Applications/Web.app
- N/A
/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.1 .sdk/Applications/WebSheet.app
- N/A
/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.1 .sdk/Applications/iPodOut.app
- N/A
/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.1 .sdk/System/Library/CoreServices/MobileStorageMounter.app
- N/A
/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.1 .sdk/System/Library/CoreServices/SpringBoard.app
- N/A
/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.1 .sdk/System/Library/CoreServices/VoiceOverTouch.app
- N/A
/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.2 .sdk/Applications/AdSheet.app
- N/A
/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.2 .sdk/Applications/AdSheet~ipad.app
- N/A
/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.2 .sdk/Applications/Camera.app
- N/A
/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.2 .sdk/Applications/Contacts~ipad.app
- N/A
/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.2 .sdk/Applications/Contacts~iphone.app
- N/A
/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.2 .sdk/Applications/DataActivation.app
- N/A
/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.2 .sdk/Applications/Game Center~ipad.app
- N/A
/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.2 .sdk/Applications/Game Center~iphone.app
- N/A
/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.2 .sdk/Applications/MobileSafari.app
- N/A
/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.2 .sdk/Applications/MobileSlideShow.app
- N/A
/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.2 .sdk/Applications/Preferences.app
- N/A
/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.2 .sdk/Applications/TrustMe.app
- N/A
/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.2 .sdk/Applications/Web.app
- N/A
/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.2 .sdk/Applications/WebSheet.app
- N/A
/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.2 .sdk/Applications/iPodOut.app
- N/A
/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.2 .sdk/System/Library/CoreServices/MobileStorageMounter.app
- N/A
/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.2 .sdk/System/Library/CoreServices/SpringBoard.app
- N/A
/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.2 .sdk/System/Library/CoreServices/VoiceOverTouch.app
- N/A
/Library/Application Support/Adobe/Adobe Asset Services CS3/AssetServicesCS3.app
- com.adobe.assetServicesCS3
/Library/Application Support/Adobe/Adobe Version Cue CS3/Server/bin/VersionCueCS3.app
- com.adobe.versioncueCS3.VersionCueCS3
/Library/Application Support/Adobe/Adobe Version Cue CS3/Server/bin/VersionCueCS3Status.app
- com.adobe.versioncueCS3.VCStatusMenu
/Library/Application Support/Adobe/Installers/UUID/Setup.app
- com.adobe.Installers.Redirector
/Library/Application Support/Adobe/Installers/R1/Setup.app
- com.adobe.Installers.Setup
/Library/Application Support/Intuit/QuickBooks/2007/JHandShake.app
- com.intuit.JHandShake
/Library/Application Support/Microsoft/Silverlight/OutOfBrowser/SLLauncher.app
- com.microsoft.silverlight.sllauncher
/Library/Application Support/ProApps/MIO/RAD/Plugins/ReadMe(Image Handling Library).app
- jp.co.canon.DocumentLauncher
/Library/Application Support/iWork '08/iWork Tour.app
- com.apple.iWorkTour
/Library/Documentation/User Guides And Information.localized/Apple Hardware Test Read Me.app
- com.apple.AppleHardwareTestReadMe
/Library/Printers/EPSON/InkjetPrinter/AutoSetupTool/EPIJAutoSetupTool.app
- com.epson.ijprinter.EPIJAutoSetupTool
/Library/Printers/EPSON/InkjetPrinter/Filter/rastertoescp.app
- com.epson.ijprinter.rastertoescp
/Library/Printers/EPSON/InkjetPrinter/Utilities/EPSON Printer Utility3.app
- com.epson.ijprinter.Utility3
/Library/Printers/hp/Fax/fax.backend
- com.hp.fax
/Library/Printers/hp/Fax/rastertofax.filter
- com.hp.rastertofax
/Library/Printers/hp/cups/filters/pdftopdf.filter
- com.hp.print.cups.filter.pdftopdf
/Users/USER/Documents/iPhone Apps/Archivers/build/Debug-iphonesimulator/Archivers.app
- N/A
/Users/USER/Documents/iPhone Apps/Archivers_test/build/Debug-iphonesimulator/Archivers.app
- N/A
/Users/USER/Documents/iPhone Apps/DateCell/build/Debug-iphonesimulator/DateCell.app
- N/A
/Users/USER/Documents/iPhone Apps/EasyCustomTable/build/Debug-iphonesimulator/EasyCustomTable.app
- N/A
/Users/USER/Documents/iPhone Apps/Grids/build/Debug-iphonesimulator/Grids.app
- N/A
/Users/USER/Documents/iPhone Apps/Metalsmith Suite/build/Debug-iphoneos/Metalsmith Suite.app
- N/A
/Users/USER/Documents/iPhone Apps/Metalsmith Suite/build/Debug-iphonesimulator/Metalsmith Suite.app
- N/A
/Users/USER/Documents/iPhone Apps/Metalsmith Suite/build/Debug/Metalsmith Suite.app
- com.yourcompany.Metalsmith-Suite
/Users/USER/Documents/iPhone Apps/Metalsmith Suite/build/Distrobution-iphoneos/Metalsmith Suite.app
- N/A
/Users/USER/Documents/iPhone Apps/Scrolling/build/Debug-iphonesimulator/Scrolling.app
- N/A
/Users/USER/Documents/iPhone Apps/UICatalog/build/Debug-iphonesimulator/UICatalog.app
- N/A
/Users/USER/Documents/iPhone Apps/WebViewTutorial/build/Debug-iphonesimulator/WebViewTutorial.app
- N/A
/Users/USER/Documents/iPhone Apps/XML/build/Debug-iphonesimulator/XML.app
- N/A
/Users/USER/Documents/sites/nvrslp.com/dev/the_lab/ns_resize
- N/A
/Users/USER/Documents/sites/zoomify/Zoomifyer EZ v3.1/Zoomifyer EZ.app
- N/A
/Users/USER/Library/Application Support/Google/Chrome/Default/Web Applications/_crx_apdfllckaahabafndbhieahigkjlhalf/Default apdfllckaahabafndbhieahigkjlhalf.app
- com.google.Chrome.app.Default-apdfllckaahabafndbhieahigkjlhalf-internal
/Users/USER/Library/Application Support/Google/Chrome/Default/Web Applications/_crx_bepbmhgboaologfdajaanbcjmnhjmhfn/Default bepbmhgboaologfdajaanbcjmnhjmhfn.app
- com.google.Chrome.app.Default-bepbmhgboaologfdajaanbcjmnhjmhfn-internal
/Users/USER/Library/Application Support/Google/Chrome/Default/Web Applications/_crx_blpebaehgfgkcmmjjknibibbjacnplim/Default blpebaehgfgkcmmjjknibibbjacnplim.app
- com.google.Chrome.app.Default-blpebaehgfgkcmmjjknibibbjacnplim-internal
/Users/USER/Library/Application Support/iPhone Simulator/3.1.2/Applications/UUID/Metalsmith Suite.app
- N/A
/Users/USER/Library/Application Support/iPhone Simulator/3.1.3/Applications/UUID/Metalsmith Suite.app
- N/A
/Users/USER/Library/Application Support/iPhone Simulator/3.1.3/Applications/UUID/Metalsmith Suite.app
- N/A
/Users/USER/Library/Application Support/iPhone Simulator/3.1.3/Applications/UUID/UICatalog.app
- N/A
/Users/USER/Library/Application Support/iPhone Simulator/3.1.3/Applications/UUID/WebViewTutorial.app
- N/A
/Users/USER/Library/Application Support/iPhone Simulator/3.1.3/Applications/UUID/Archivers.app
- N/A
/Users/USER/Library/Application Support/iPhone Simulator/3.1.3/Applications/UUID/AnimatedGifExample.app
- N/A
/Users/USER/Library/Application Support/iPhone Simulator/3.2/Applications/UUID/Metalsmith Suite.app
- N/A
/Users/USER/Library/Application Support/iPhone Simulator/4.2/Applications/UUID/Spinspiration.app
- N/A
/Users/USER/Library/Application Support/iPhone Simulator/User/Applications/UUID/Metalsmith Suite.app
- N/A
/Users/USER/Library/Application Support/iPhone Simulator/User/Applications/UUID/XML.app
- N/A
/Users/USER/Library/Application Support/iPhone Simulator/User/Applications/UUID/DateCell.app
- N/A
/Users/USER/Library/Application Support/iPhone Simulator/User/Applications/UUID/UICatalog.app
- N/A
/Users/USER/Library/Application Support/iPhone Simulator/User/Applications/UUID/Metalsmith Suite.app
- N/A
/Users/USER/Library/Application Support/iPhone Simulator/User/Applications/UUID/Scrolling.app
- N/A
/Users/USER/Library/Application Support/iPhone Simulator/User/Applications/UUID/Autoscroll.app
- N/A
/Users/USER/Library/Application Support/iPhone Simulator/User/Applications/UUID/Grids.app
- N/A
/Users/USER/Library/Application Support/iPhone Simulator/User/Applications/UUID/TapToZoom.app
- N/A
/Users/USER/Library/Application Support/iPhone Simulator/User/Applications/UUID/EasyCustomTable.app
- N/A
/Users/USER/Library/Preferences/Macromedia/Flash Player/www.macromedia.com/bin/octoshape/octoshape
- N/A
Frameworks
/Library/Frameworks/REDCODE.Color.framework
- com.red.redcode.color
/Users/USER/Library/Frameworks/EWSMac-GC.framework
- com.eSellerate.EWSMac67108872
PrefPane
/Library/PreferencePanes/Flash Player.prefPane
- com.adobe.flashplayerpreferences
/Library/PreferencePanes/REDcode.prefPane
- com.red.prefpanel
/Library/PreferencePanes/VersionCueCS3.prefPane
- com.adobe.versioncueCS3.VCPrefPane
/Users/USER/Library/PreferencePanes/Growl.prefPane
- com.growl.prefpanel
Bundles
/Library/Application Support/Adobe/Adobe Asset Services CS3/Plug-Ins/ASEFormat.plugin
- com.adobe.aseformat
/Library/Application Support/Adobe/Adobe Asset Services CS3/Plug-Ins/BMP.plugin
- null
/Library/Application Support/Adobe/Adobe Asset Services CS3/Plug-Ins/Cineon.plugin
- null
/Library/Application Support/Adobe/Adobe Asset Services CS3/Plug-Ins/EPS Parser.plugin
- null
/Library/Application Support/Adobe/Adobe Asset Services CS3/Plug-Ins/GIF.plugin
- null
/Library/Application Support/Adobe/Adobe Asset Services CS3/Plug-Ins/JPEG2000.plugin
- null
/Library/Application Support/Adobe/Adobe Asset Services CS3/Plug-Ins/OpenEXR.plugin
- null
/Library/Application Support/Adobe/Adobe Asset Services CS3/Plug-Ins/PBM.plugin
- null
/Library/Application Support/Adobe/Adobe Asset Services CS3/Plug-Ins/PCX.plugin
- null
/Library/Application Support/Adobe/Adobe Asset Services CS3/Plug-Ins/PNG.plugin
- null
/Library/Application Support/Adobe/Adobe Asset Services CS3/Plug-Ins/Pixar.plugin
- null
/Library/Application Support/Adobe/Adobe Asset Services CS3/Plug-Ins/Radiance.plugin
- null
/Library/Application Support/Adobe/Adobe Asset Services CS3/Plug-Ins/Targa.plugin
- null
/Library/Application Support/Adobe/Adobe Asset Services CS3/Plug-Ins/WBMP.plugin
- null
/Library/Application Support/Adobe/Adobe Asset Services CS3/Plug-Ins/altiveccore.plugin
- null
/Library/Application Support/Adobe/Adobe Asset Services CS3/Plug-Ins/dicom.plugin
- com.adobe.dicom
/Library/Application Support/Adobe/Adobe Asset Services CS3/Plug-Ins/mmxcore.plugin
- null
/Library/Application Support/Adobe/Adobe Asset Services CS3/Plug-Ins/multiprocessor support.plugin
- null
/Library/Application Support/Adobe/Adobe Asset Services CS3/Plug-Ins/ppccore.plugin
- null
/Library/Application Support/Adobe/Adobe Asset Services CS3/Required/Photoshop Adapter.plugin
- null
/Library/Application Support/Adobe/Flash Player/Flash Player.plugin
- com.macromedia.Flash Player.plugin
/Library/Application Support/Adobe/Plug-Ins/CS3/File Formats/Camera Raw.plugin
- com.adobe.CameraRaw
/Library/Frameworks/HPDeviceModel.framework/Versions/2.0/Frameworks/Core.framew ork/Versions/2.0/Resources/PlugIns/CFXmlParser.plugin
- com.hp.dmf.plugins.CFXmlParser
/Library/Frameworks/HPDeviceModel.framework/Versions/2.0/Frameworks/Core.framew ork/ -
Need help with connecting file inputs to arrays
In this assignment I have a program that will do the following: display a list of names inputed by the user in reverse order, display any names that begin with M or m, and display any names with 5 or more letters. This is all done with arrays.
That was the fun part. The next part requires me to take the names from a Notepad file, them through the arrays and then output them to a second Notepad file.
Here is the original program: (view in full screen so that the code doesn't get jumbled)
import java.io.*; //Imports the Java library
class progB //Defines class
public static void main (String[] arguments) throws IOException
BufferedReader keyboard; //<-
InputStreamReader reader; // Allows the program to
reader = new InputStreamReader (System.in); // read the the keyboard
keyboard = new BufferedReader (reader); //<-
String name; //Assigns the name variable which will be parsed into...
int newnames; //...the integer variable for the amount of names.
int order = 0; //The integer variable that will be used to set the array size
String[] array; //Dynamic array (empty)
System.out.println (" How many names do you want to input?"); //This will get the number that will later define the array
name = keyboard.readLine ();
newnames = Integer.parseInt (name); // Converts the String into the Integer variable
array = new String [newnames]; //This defines the size of the array
DataInput Imp = new DataInputStream (System.in); //Allows data to be input into the array
String temp;
int length; //Defines the length of the array for a loop later on
for (order = 0 ; order < newnames ; order++) //<-
{ // Takes the inputed names and
System.out.println (" Please input name "); // gives them a number according to
temp = keyboard.readLine (); // the order they were inputed in
array [order] = temp; //<-
for (order = newnames - 1 ; order >= 0 ; order--) //<-
{ // Outputs the names in the reverse
System.out.print (" \n "); // order that they were inputed
System.out.println (" Name " + order + " is " + array [order]); //<-
for (order = 0 ; order < newnames ; order++) //<-
if (array [order].startsWith ("M") || array [order].startsWith ("m")) // Finds and outputs any and all
{ // names that begin with M or m
System.out.print (" \n "); //
System.out.println (array [order] + (" starts with M or m")); //
} //<-
for (order = 0 ; order < newnames ; order++) //<-
length = array [order].length (); //
if (length >= 5) // Finds and outputs names
{ // with 5 or more letters
System.out.print (" \n "); //
System.out.println ("Name " + array [order] + " have 5 or more letters "); //<-
}The notepad file contains the following names:
jim
laruie
tim
timothy
manny
joseph
matty
amanda
I have tried various methods but the one thing that really gets me is the fact that i can't find a way to connect the names to the arrays. Opening the file with FileInputStream is easy enough but using the names and then outputing them is quite hard. (unless i'm thinking too hard and there really is a simple method)By "connect", do you just mean you want to put the names into an array?
array[0] = "jim"
array[1] = "laruie"
and so on?
That shouldn't be difficult at all, provided you know how to open a file for reading, and how to read a line of text from it. You can just read the line of text, put it in the array position you want, until the file is exhausted. Then open a file for writing, loop through the array, and write a line.
What part of all that do you need help with? -
I need some help with a recordset that selects a series of
vehicle makes that then show models when a make is selected. The
problem is when I select the make it shows a list of models like it
should, some of the make lists have five models and some have ten
or more. What I need help with is how to limit the list to just the
models and not include the "null" values. This makes my drop down
list have large empty spaces at the end of the options listed. The
query is as follows:
SELECT *
FROM saa.vehicle_make
WHERE make = '#FORM.select_make#'
Question # 2:
What can I add to this recordset so that I can search on just
the make alone without the model included. The submit includes both
of the make and model lists so that makes it tough to break up.
Here is the recordset:
SELECT make
FROM saa.vehicle_make
ORDER BY make ASC
Thanks
ShaneSorry I guess I wasn't being clear. The lists work fine with
the present recordsets but I was trying to clean them up just a
little. I am using a table in mysql instead of an array for ease of
maintenance due to the high number of makes and models I am working
with.
For question number one I was looking for sql that allows me
to only show the models in the table for each make no matter how
many are in the row. Currently when I use the existing recordset I
get a long list of blank spaces as it is returning the "null"
fields also. I would like it to just show the models and stop at
the first null field.
For the second question I wanted to be able to submit the
form with just the make listed if someone wanted to see all Hondas
lets say. Not I have to select the make also so it limits the
return.
Thanks for all of the input
Shane
Here is the code I am using for the two dependent select
boxes:
<p align="center">Vehicle Search by
Make/Model</p>
<!--- store the selected make variable after the first
select boxes submits itself --->
<cfif isDefined('form.select_make')>
<cfset page.select_make = form.select_make>
</cfif>
<cfoutput>
<form name="DropDown" method="post">
<!--- query DB for the first drop down list --->
<cfquery name="get_make" datasource="saa">
SELECT make FROM saa.vehicle_make ORDER BY make ASC
</cfquery>
<!--- first drop down list --->
<!--- NOTICE the onChange javascript event in the select
tag, this is what submits the form after the first selection
--->
<p align="center">Model:<select name="select_make"
required="yes" onchange="this.form.submit()">
<option>Select Make</option>
<!--- dynamically populate the first drop down list based
on the get_make query --->
<cfloop query="get_make">
<option value="#make#" <cfif
isDefined('form.select_make')><cfif form.select_make eq
"#make#">selected</cfif></cfif>>#make#</option>
</cfloop>
</select></p>
<!--- if the first selection has been made, display the
second drop down list with the appropriate results --->
<cfif isDefined('form.select_make')>
<!--- query DB for second drop down list, based on the
selected item from the first list --->
<cfquery name="get_model" datasource="saa">
SELECT * FROM saa.vehicle_make WHERE make =
'#FORM.select_make#'
</cfquery>
<!--- second drop down list --->
</cfif>
</form>
</cfoutput>
<cfoutput>
<form action="buyerModelSearchresults.cfm"
method="POST">
<p align="center">Model: <select name="model"
required="yes">
<option>Select Model</option>
<!--- dynamically populate the second drop down list
based on the get_make query --->
<cfloop query="get_model">
<option value="#model1#">#model1#</option>
<option value="#model2#">#model2#</option>
<option value="#model3#">#model3#</option>
<option value="#model4#">#model4#</option>
<option value="#model5#">#model5#</option>
<option value="#model6#">#model6#</option>
<option value="#model7#">#model7#</option>
<option value="#model8#">#model8#</option>
<option value="#model9#">#model9#</option>
<option value="#model10#">#model10#</option>
<option value="#model11#">#model11#</option>
<option value="#model12#">#model12#</option>
<option value="#model13#">#model13#</option>
<option value="#model14#">#model14#</option>
<option value="#model15#">#model15#</option>
<option value="#model16#">#model16#</option>
<option value="#model17#">#model17#</option>
<option value="#model18#">#model18#</option>
<option value="#model19#">#model19#</option>
<option value="#model20#">#model20#</option>
<option value="#model21#">#model21#</option>
<option value="#model22#">#model22#</option>
<option value="#model23#">#model23#</option>
<option value="#model24#">#model24#</option>
<option value="#model25#">#model25#</option>
</cfloop>
</select>
</p>
<p align="center">Search by Make/Model:</p>
<p align="center"><input type="submit" name="Submit"
value="Submit"></p>
</form>
</cfoutput> -
Need help with a rudimentary program
I'm sort of new at this so i need help with a few things... I'm making a program to compile wages and i need answers with three things: a.) what are the error messages im getting meaning? b.) How can i calculate the state tax as 2% of my gross pay with the first $200 excluded and c.) how can i calculate the local tax as a flat $10 with $2 deducted for each dependant. any help is appreciated
Here is what i have so far:
public class WagesAsign1
public static void main(String[] args)
int depend=4;
double hrsWork=40;
double payRate=15;
double grossPay;
grossPay=payRate*hrsWork;
double statePaid;
double stateTax=2.0;
statePaid=grossPay*(stateTax/100);
double localPaid;
double localTax=10.0;
localPaid=grossPay*(localTax/100);
double fedPaid;
double fedTax=10.0;
double taxIncome;
fedPaid=taxIncome*(fedTax/100);
taxIncome=grossPay-(statePaid+localPaid);
double takeHome;
System.out.println("Assignment 1 Matt Foraker\n");
System.out.println("Hours worked="+hrsWork+" Pay rate $"+payRate+" per/hour dependants: "+depend);
System.out.println("Gross Pay $"+grossPay+"\nState tax paid $"+statePaid+"\nLocal tax paid $"+localPaid+"\nFederal tax paid $"+fedPaid);
System.out.println("You take home a total of $"+takeHome);
and these are the error messages so far:
WagesAsign1.java:23: variable taxIncome might not have been initialized
fedPaid=taxIncome*(fedTax/100);
^
WagesAsign1.java:29: variable takeHome might not have been initialized
System.out.println("You take home a total of $"+takeHome);
^edit: figured it out... please delete post
Message was edited by:
afroryan58 -
Need help with navigation within a spark list...
hey guys, so in my application when you click on a list item, it opens up an image, and along with the image a few buttons are created dynamically...
the image and the url/labels for the dynamic buttons is provided through an xml/xmlListCollection.
what i need help with is the url or more specifically when you click on one of these dynamic buttons it needs to navigate me to another part of an list or display a certain set of images that is not in my spark list...
please let me know if this makes no sence
the code i have is
<code>
[Bindable] private var menuXml:XML;
[Bindable] private var imgList:XMLListCollection = new XMLListCollection();
[Bindable] private var navControl:XMLListCollection = new XMLListCollection();
[Bindable] private var fullList:XMLListCollection = new XMLListCollection();
private var returnedXml:XMLListCollection = new XMLListCollection();
private var myXmlSource:XML = new XML();
//[Bindable] private var xmlReturn:Object;
private var currImage:int = 0;
//public var userOpProv:XMLListCollection = new XMLListCollection();
//private var troubleShootProvider:XMLListCollection = new XMLListCollection();
private function myXml_resultHandeler(event:ResultEvent):void{
userOptionProvider.source = event.result.apx32.userOptions.children();
troubleShootProvider.source = event.result.apx32.troubleShooting.children();
fullList.source = event.result.apx32.children();
returnedXml.source = event.result[0].children();
myXmlSource = event.result[0];
private function myXml_faultHandler(event:FaultEvent):void{
Alert.show("Error loading XML");
Alert.show(event.fault.message);
private function app_creationComplete(event:FlexEvent):void{
userOptions.scroller.setStyle("horizontalScrollPolicy", ScrollPolicy.OFF);
myXml.send();
//trouble.scroller.setStyle("horizontalScrollPolicy", ScrollPolicy.OFF);
myXml = new HTTPService();
myXml.url = "modules/apx32/apx32TroubleshootingXml.xml";
myXml.resultFormat = "e4x";
myXml.addEventListener(ResultEvent.RESULT, myXml_resultHandeler);
myXml.addEventListener(FaultEvent.FAULT, myXml_faultHandler);
myXml.send();
private function troubleShootChange(event:IndexChangeEvent):void{
dynamicButtons.removeAllElements();
navControl.source = troubleShootProvider[event.newIndex].children();
currImage = 0;
imgList.source = troubleShootProvider[event.newIndex].images.children();
definition.source = imgList[currImage].@url;
if(imgList[currImage].@details == "true"){
if(imgList[currImage].buttons.@hasButtons == "true"){
for each(var item:XML in imgList[currImage].buttons.children()){
var newButton:LinkButton = new LinkButton();
newButton.label = item.@name;
newButton.x = item.@posX;
newButton.y = item.@posY;
newButton.setStyle("skin", null);
newButton.styleName = "dynamicButtonStyle";
dynamicButtons.addElement(newButton);
//var isMultiPage:String = navControl[2]["multiPages"];
//trace(isMultiPage);
// if(isMultiPage){
if(currImage >= imgList.length - 1){
next.visible = false;
back.visible = false;
else{
back.visible = false;
next.visible = true;
private function customButtonPressed(event:Event):void{
if(imgList[currImage].button.@changeTo != ""){
private function userOptionsChange(event:IndexChangeEvent):void{
dynamicButtons.removeAllElements();
navControl.source = userOptionProvider[event.newIndex].children();
currImage = 0;
imgList.source = userOptionProvider[event.newIndex].images.children();
definition.source = imgList[currImage].@url;
if(imgList[currImage].@details == "true"){
if(imgList[currImage].buttons.@hasButtons == "true"){
for each(var item:XML in imgList[currImage].buttons.children()){
var newButton:LinkButton = new LinkButton();
newButton.label = item.@name;
newButton.x = item.@posX;
newButton.y = item.@posY;
newButton.setStyle("skin", null);
newButton.styleName = "dynamicButtonStyle";
newButton.addEventListener(MouseEvent.MOUSE_DOWN, customButtonPressed);
dynamicButtons.addElement(newButton);
var isMultiPage:String = navControl[2]["multiPages"];
if(isMultiPage == "true"){
if(navControl[2]["next"] == "NEXT STEP"){
navContainer.x = 630;
else{
navContainer.x = 640;
next.label = navControl[2]["next"];
back.label = navControl[2]["back"];
if(currImage >= imgList.length - 1){
next.visible = false;
back.visible = false;
else{
back.visible = false;
next.visible = true;
private function nextClickHandler(event:MouseEvent):void{
currImage += 1;
dynamicButtons.removeAllElements();
if(currImage >= imgList.length-1){
currImage = imgList.length - 1;
//next.visible = false;
next.label = "YOU'RE DONE";
else
next.label = navControl[2]["next"];
back.visible = true;
if(imgList[currImage].@details == "true"){
if(imgList[currImage].buttons.@hasButtons == "true"){
for each(var item:XML in imgList[currImage].buttons.children()){
var newButton:LinkButton = new LinkButton();
newButton.label = item.@name;
newButton.x = item.@posX;
newButton.y = item.@posY;
newButton.setStyle("skin", null);
newButton.styleName = "dynamicButtonStyle";
dynamicButtons.addElement(newButton);
definition.source = imgList[currImage].@url;
private function backClickHandler(event:MouseEvent):void{
currImage -= 1;
dynamicButtons.removeAllElements();
if(currImage == 0){
back.visible = false;
next.visible = true;
next.label = navControl[2]["next"];
if(imgList[currImage].@details == "true"){
if(imgList[currImage].buttons.@hasButtons == "true"){
for each(var item:XML in imgList[currImage].buttons.children()){
var newButton:LinkButton = new LinkButton();
newButton.label = item.@name;
newButton.x = item.@posX;
newButton.y = item.@posY;
newButton.setStyle("skin", null);
newButton.styleName = "dynamicButtonStyle";
dynamicButtons.addElement(newButton);
definition.source = imgList[currImage].@url;
</code>
i have attached a copy of the xml that i have right now to this post for reference...
any help will be greatly appretiated!!! i've been stuck on this problem for the last week and my project is due soon
again thank you in advance...hey david... just nevermind my previous post... I was able to subclass a link button, so i now have two variables that get assigned to a link button,
one is "tabId" <-- contains the information on which tab to swtich to, and the second is, "changeTo"... this contans the label name which it needs to switch to
I'm just stuck on how to change my selected item in my tabNavigator/list
the code i have right now is
private function customButtonPressed(event:Event):void{
if(event.currentTarget.tabId == "troubleShooting"){
for each(var item:Object in troubleShootProvider){
if(item.@label == event.currentTarget.changeTo){
private function userOptionsChange(event:IndexChangeEvent):void{
dynamicButtons.removeAllElements();
navControl.source = userOptionProvider[event.newIndex].children();
currImage = 0;
imgList.source = userOptionProvider[event.newIndex].images.children();
definition.source = imgList[currImage].@url;
if(imgList[currImage].@details == "true"){
if(imgList[currImage].buttons.@hasButtons == "true"){
for each(var item:XML in imgList[currImage].buttons.children()){
var newButton:customLinkButton = new customLinkButton();
newButton.label = item.@name;
newButton.tabId = item.@tab;
newButton.changeTo = item.@changeTo;
newButton.x = item.@posX;
newButton.y = item.@posY;
newButton.setStyle("skin", null);
newButton.styleName = "dynamicButtonStyle";
newButton.addEventListener(MouseEvent.MOUSE_DOWN, customButtonPressed);
dynamicButtons.addElement(newButton);
var isMultiPage:String = navControl[2]["multiPages"];
var videoPresent:String = navControl[1]["videoPresent"];
if(videoPresent == "true"){
if(isMultiPage != "true"){
navContainer.x = 825;
if(isMultiPage == "true"){
if(navControl[2]["next"] == "NEXT STEP"){
navContainer.x = 630;
else{
navContainer.x = 640;
next.label = navControl[2]["next"];
back.label = navControl[2]["back"];
if(currImage >= imgList.length - 1){
next.visible = false;
back.visible = false;
else{
back.visible = false;
next.visible = true;
as you know, my xml gets divided into two saperate xmllistcollections one is the userOptionProvider, and the troubleshootingProvider
as is in the following xml
<mx:TabNavigator id="tabNav" width="275" tabStyleName="tabStyle" fontWeight="bold" height="400" paddingTop="0"
tabWidth="137.5" creationPolicy="all" borderVisible="false">
<mx:VBox label="USER OPTIONS" width="100%" height="100%" horizontalScrollPolicy="off" verticalScrollPolicy="off">
<s:List id="userOptions" width="100%" height="100%" itemRenderer="modules.apx32.myComponents.listRenderer"
borderVisible="false" contentBackgroundColor="#e9e9e9"
change="userOptionsChange(event)">
<s:dataProvider>
<s:XMLListCollection id="userOptionProvider" />
</s:dataProvider>
</s:List>
</mx:VBox>
<mx:VBox label="TROUBLESHOOTING">
<s:List id="trouble" width="100%" height="100%" itemRenderer="modules.apx32.myComponents.listRenderer"
borderAlpha="0" borderVisible="false" contentBackgroundColor="#e9e9e9"
change="troubleShootChange(event)">
<s:dataProvider>
<s:XMLListCollection id="troubleShootProvider" />
</s:dataProvider>
</s:List>
</mx:VBox>
</mx:TabNavigator>
Im having some trouble updating my list... basically change to the troubleshooting tab, and then select the one that i need...
hopefully that makes sence... -
Need help with threads?.. please check my approach!!
Hello frnds,
I am trying to write a program.. who monitors my external tool.. please check my way of doing it.. as whenever i write programs having thread.. i end up goosy.. :(
first let me tell.. what I want from program.. I have to start an external tool.. on separate thread.. (as it takes some time).. then it takes some arguments(3 arguments).. from file.. so i read the file.. and have to run tool.. continously.. until there are arguments left.. in file.. or.. user has stopped it by pressing STOP button..
I have to put a marker in file too.. so that.. if program started again.. file is read from marker postion.. !!
Hope I make clear.. what am trying to do!!
My approach is like..
1. Have two buttons.. START and STOP on Frame..
START--> pressed
2. check marker("$" sign.. placed in beginning of file during start).. on file..
read File from marker.. got 3 arg.. pass it to tool.. and run it.. (on separate thread).. put marker.. (for next reading)
Step 2.. continously..
3. STOP--> pressed
until last thread.. stops.. keep running the tool.. and when last thread stops.. stop reading any more arguments..
Question is:
1. Should i read file again and again.. ?.. or read it once after "$" sign.. store data in array.. and once stopped pressed.. read file again.. and put marker ("$" sign) at last read line..
2. how should i know when my thread has stopped.. so I start tool again??.. am totally confused.. !!
please modify my approach.. if u find anything odd..
Thanks a lot in advance
gerviniHello,
I have no experience with threads or with having more than run "program" in a single java file. All my java files have the same structure. This master.java looks something like this:
---master.java---------------------------------------------------
import java.sql.*;
import...
public class Master {
public static void main(String args []) throws SQLException, IOException {
//create connection pool here
while (true) { // start loop here (each loop takes about five minutes)
// set values of variables
// select a slave process to run (from a list of slave programs)
execute selected slave program
// check for loop exit value
} // end while loop
System.out.println("Program Complete");
} catch (Exception e) {
System.out.println("Error: " + e);
} finally {
if (rSet1 != null)
try { rSet1.close(); } catch( SQLException ignore ) { /* ignored */ }
connection.close();
-------end master.java--------------------------------------------------------
This master.java program will run continuously for days or weeks, each time through the loop starting another slave process which runs for five minutes to up to an hour, which means there may be ten to twenty of these slave processes running simultaneously.
I believe threads is the best way to do this, but I don't know where to locate these slave programs: either inside the master.java program or separate slave.java files? I will need help with either method.
Your help is greatly appreciated. Thank you.
Logan -
Need help with codings on generating random words
hi guys.. i need help with generating random words from a list of array. please help me with the codings.. let me know the other variables that are needed if required as well.. thanks a million..
private String wordList[] = { "abstraction", "command", "arithmetic", "backslash" };Hi,
You can use the Random class to generate Random number between 0 to the array length and use the generated random number as index in to the Strign array.
To generate Random number use the following code
Random r = new Random();
num = ((r.nextInt() >>> 1) % wordList.length);
num will have the randomly generated number.
Maybe you are looking for
-
I have tryed to update my iphone from 5.1.1 to 6.1 and i got error 6, now it's stuck in recovery mode and i can't restore it cause i am having error 21. Can anyone help me please?
-
Using Dreamy 8... some text is blinking, but only in Firefox and not IE... I am not using the blink tag... any suggestions? http://www.hersheyareaplayhouse.com Thanks!
-
I have PSE 8 running on my dell computer with windows 8. I have been using the program for about one month and two days ago I tried to add a dell printer (which I now hear is not a good idea) I have removed the printer from my computer and PSE stil
-
Converting Jing .mp4 for iPhone
Are there any free tools available for Mac that will convert an .mp4 to iPhone format? I have Jing Pro, which produces an .mp4 but doesn't work on the iPhone.
-
Making the Tab key not work in the JTextArea
In my view I have a JTextArea along with a bunch of JTextFields and JComboBoxes. The user is usually going to tab out of a field in order to go to the next field. What's happening is when the user tries to tab out of the JTextArea, the cursor just mo